/** * Index page action */ function index() { ConfigOptions::setValueFor('fmn_last_visited', $this->logged_user, new DateTimeValue()); // Popup if ($this->request->isAsyncCall()) { $this->setView(array('template' => 'popup', 'controller' => 'frosso_mail_notify', 'module' => FROSSO_MAILN_MODULE)); // $this->response->assign(array( // 'mail_updates' => time(), // )); } else { // $this->response->forbidden(); } // if }