settype($smarty_args, 'boolean'
);
$this->
registerObject($object,
$object_impl,
$allowed,
$smarty_args,
$block_methods);
} /**
* Unregisters object
*
* @param string $object name of template object
*/
public function unregister_object($object) { $this->
unregisterObject($object);
} /**
* Registers block function to be used in templates
*
* @param string $block name of template block
* @param string $block_impl PHP function to register
* @param bool $cacheable
* @param mixed $cache_attrs
*/
public function register_block($block,
$block_impl,
$cacheable=true,
$cache_attrs=null
) {