public function renderHelper($identifier, $config = array())
    {
        $args = func_get_args();
        $identifier = array_shift($args);

        //Get the function to call based on the $identifier
        $parts = explode('.', $identifier);
        $function = array_pop($parts);

        $helper = implode('.', $parts);

        $helper = $this->getHelper($helper);

        //Call the helper function
        if (!is_callable(array($helper, $function))) {
            throw new LibBaseTemplateHelperException(get_class($helper).'::'.$function.' not supported.');
        }

        return call_object_method($helper, $function, $args);
    }
public function renderHelper($identifier, $config = array())
    {
        $args = func_get_args();
        $identifier = array_shift($args);

        //Get the function to call based on the $identifier
        $parts = explode('.', $identifier);
        $function = array_pop($parts);

        $helper = implode('.', $parts);

        $helper = $this->getHelper($helper);

        //Call the helper function
        if (!is_callable(array($helper, $function))) {
            throw new LibBaseTemplateHelperException(get_class($helper).'::'.$function.' not supported.');
        }

        return call_object_method($helper, $function, $args);
    }
public function renderHelper ( $ identifier , $ config = array ( ) ) { $ args = func_get_args ( ) ; $ identifier = array_shift ( $ args ) ; //Get the function to call based on the $identifier $ parts = explode ( '.' , $ identifier ) ; $ function = array_pop ( $ parts ) ; $ helper = implode ( '.' , $ parts ) ; $ helper = $ this -> getHelper ( $ helper ) ; //Call the helper function if ( ! is_callable ( array ( $ helper , $ function ) ) ) { throw new LibBaseTemplateHelperException ( get_class ( $ helper ) . '::' . $ function . ' not supported.' ) ; } return call_object_method ( $ helper , $ function , $ args ) ; }
Load a template helper. On Contrary to Nooku, it allows for any number of
argument than just an array.

@param	string	Name of the helper, dot separated including the helper function to call
@param	mixed	Parameters to be passed to the helper

@return string Helper output
Load a template helper . On Contrary to Nooku it allows for any number of argument than just an array .