Example #1
0
 /**
  * Build a relative URI: $params must be referred to the module data root
  */
 protected function tagCacheUri()
 {
     static $base = null;
     if (is_null($base)) {
         $base = array_merge($this->engine->getProperty('cache_root'), $this->engine->getProperty('template_root'));
     }
     $pieces = func_get_args();
     return TIP::buildUri($base, $this->id, $pieces);
 }
Example #2
0
 /**
  * Constructor
  *
  * Initializes a TIP_RcbtNG instance.
  *
  * @param array $options Properties values
  */
 protected function __construct($options)
 {
     parent::__construct($options);
 }
Example #3
0
 /**
  * Execute the template file
  *
  * Parses and executes this template.
  *
  * @param  TIP_Module &$caller The caller module
  * @return bool                true on success or false on errors
  */
 public function run(&$caller)
 {
     return $this->engine->run($this, $caller);
 }