/** * */ public function contentnewsAction() { if ((int) $this->view->pagid == 0) { $this->view->pagid = $this->getRequest()->pagid; } $oLastEvents = new Safactivitylog(); $this->view->lastEvents = $oLastEvents->getLastActivitiesForContentPage($this->view->pagid)->toObject(); $this->render('pages'); }