function before_action()
 {
     parent::before_action();
     $this->layout('default');
 }
Esempio n. 2
0
 private function renderLoginWidget()
 {
     require_once 'controller/AuthenticateController.php';
     $login = new AuthenticateController();
     return $login->execute('widget', array('partial' => true));
 }