31 require_once(dirname(__FILE__) .
'/Smarty.class.php');
54 parent::__construct($options);
98 public function register_function($function, $function_impl, $cacheable =
true, $cache_attrs = null)
100 $this->
registerPlugin(
'function', $function, $function_impl, $cacheable, $cache_attrs);
125 public function register_object($object, $object_impl, $allowed = array(), $smarty_args =
true, $block_methods = array())
127 settype($allowed,
'array');
128 settype($smarty_args,
'boolean');
129 $this->
registerObject($object, $object_impl, $allowed, $smarty_args, $block_methods);
150 public function register_block($block, $block_impl, $cacheable =
true, $cache_attrs = null)
152 $this->
registerPlugin(
'block', $block, $block_impl, $cacheable, $cache_attrs);
174 $this->
registerPlugin(
'compiler', $function, $function_impl, $cacheable);
327 return $this->
clearCache(null, null, null, $exp_time);
411 public function config_load($file, $section = null, $scope =
'global')
413 $this->ConfigLoad($file, $section, $scope);