$this->
registerPlugin('function',
$function,
$function_impl,
$cacheable,
$cache_attrs);
} /**
* Unregisters custom function
*
* @param string $function name of template function
*/
public function unregister_function($function) { $this->
unregisterPlugin('function',
$function);
} /**
* Registers object to be used in templates
*
* @param string $object name of template object
* @param object $object_impl the referenced PHP object to register
* @param array $allowed list of allowed methods (empty = all)
* @param boolean $smarty_args smarty argument format, else traditional
* @param array $block_functs list of methods that are block format
*/