コード例 #1
0
 /**
  * @return array action filters
  */
 public function filters()
 {
     parent::initController();
     Yii::app()->session[Constants::SESSION_CURRENT_TAB] = Constants::ITEM_MENU_ESTADOS_NOTIFICACION;
     return array('accessControl', 'postOnly + delete');
 }
コード例 #2
0
 /**
  * @return array action filters
  */
 public function filters()
 {
     parent::initController();
     Yii::app()->session[AppConstants::SESSION_CURRENT_TAB] = AppConstants::MENU_ITEM_SYSPARAMS;
     return array('accessControl', 'postOnly + delete');
 }
コード例 #3
0
 /**
  * 
  * @return array action filters
  */
 public function filters()
 {
     parent::initController();
     Yii::app()->session[Constants::SESSION_CURRENT_TAB] = Constants::ITEM_MENU_CALENDARIO;
     return array('accessControl', 'postOnly + delete,createEvent');
 }