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