Ejemplo n.º 1
0
 public function behaviors()
 {
     return ['access' => ['class' => UserLoginFilter::className()], ['class' => AdminFilter::className()], ['class' => OperationFilter::className()]];
 }
Ejemplo n.º 2
0
 public function behaviors()
 {
     return ['access' => ['class' => UserLoginFilter::className()], ['class' => AdminFilter::className()], ['class' => OperationFilter::className(), 'except' => ['index', 'search', 'apply', 'opener']], ['class' => SaleFilter::className()]];
 }
Ejemplo n.º 3
0
 public function behaviors()
 {
     return ['access' => ['class' => UserLoginFilter::className()], ['class' => AdminFilter::className()], ['class' => OperationFilter::className(), 'except' => ['index', 'search', 'previous', 'link-user', 'search-link']], ['class' => SaleFilter::className(), 'except' => ['index', 'search', 'previous']]];
 }
Ejemplo n.º 4
0
 public function behaviors()
 {
     return ['access' => ['class' => UserLoginFilter::className()], ['class' => AdminFilter::className()], ['class' => OperationFilter::className(), 'except' => ['index', 'search']], ['class' => DevelopFilter::className()]];
 }