public function startup() { parent::startup(); $this->news = $this->newsModel->getAllNews($where = array('active' => 'yes')); }
protected function startup() { $this->user = NEnvironment::getUser(); $this->template->logged = $this->user->isLoggedIn(); parent::startup(); }
protected function startup() { parent::startup(); }