All pastes #895247 Raw Edit

Zeug

public text v1 · immutable
·published 2008-02-07 17:53 UTC
rendered paste body
	public function registerClassMethods( $class )
	{
		$methods = get_class_methods( get_class( $class ) );

		foreach ( $methods as $method )
		{
			if ( preg_match( "/^ajax_/", $method) )
			{
				if ( !array_key_exists( $method, $this->registered ) )
				{
					self::$engine->registerFunction(array($method, $class, $method));
					
					$this->registered[ $method ] = true;
				}
			}
		}		
	}