예제 #1
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']]];
 }
예제 #2
0
 public function behaviors()
 {
     return ['access' => ['class' => UserLoginFilter::className()], ['class' => AdminFilter::className()], ['class' => OperationFilter::className(), 'except' => ['index', 'search', 'apply', 'opener']], ['class' => SaleFilter::className()]];
 }