public function beforeRender() { parent::beforeRender(); $this->template->news = $this->news; $this->template->today = time(); }
protected function beforeRender() { parent::beforeRender(); $this->template->debugMod = $this->context->parameters["debugMode"]; }