/** * Process cached template * * @param Smarty_Internal_Template $_template template object * @param bool $update flag if called because cache update */ public function process(Smarty_Internal_Template $_template, $update = false) { if ($this->handler->process($_template, $this, $update) === false) { $this->valid = false; } if ($this->valid) { $this->processed = true; } else { $this->processed = false; } }
/** * Process cached template * @param Smarty_Internal_Template $_template template object */ public function process(Smarty_Internal_Template $_template) { if ($this->handler->process($_template, $this) === FALSE) { $this->valid = FALSE; } if ($this->valid) { $this->processed = TRUE; } else { $this->processed = FALSE; } }