public static function register($action, $closure) {
		
		if(false === is_string($action)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($action)), E_USER_ERROR);
		}
		
		if(false === is_object($closure)) {
			return trigger_error(sprintf('Argument 2 passed to %s() must be callable object, "%s" given', __METHOD__, gettype($closure)), E_USER_ERROR);
		}

		static :: setTemplateFunctions($action, $closure);
	}
public static function register($action, $closure) {
		
		if(false === is_string($action)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($action)), E_USER_ERROR);
		}
		
		if(false === is_object($closure)) {
			return trigger_error(sprintf('Argument 2 passed to %s() must be callable object, "%s" given', __METHOD__, gettype($closure)), E_USER_ERROR);
		}

		static :: setTemplateFunctions($action, $closure);
	}
public static function register ( $ action , $ closure ) { if ( false === is_string ( $ action ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type string, "%s" given' , __METHOD__ , gettype ( $ action ) ) , E_USER_ERROR ) ; } if ( false === is_object ( $ closure ) ) { return trigger_error ( sprintf ( 'Argument 2 passed to %s() must be callable object, "%s" given' , __METHOD__ , gettype ( $ closure ) ) , E_USER_ERROR ) ; } static :: setTemplateFunctions ( $ action , $ closure ) ; }
Register a new template function
@param string $action
@param object $closure
@return sFire\MVC\Controller
Register a new template function