view->setTemplateAfter('common'); } public function indexAction(){ $data = \eventEmail::query() ->where("email_type = 'standard'") ->andWhere("project_id = {$this->session->get('project-id')}") ->execute(); $this->view->setVars([ ]); } }