public function __construct()
 {
     parent::__construct();
     if ($this->scaffold === null) {
         foreach ($this->scaffoldActions as $action) {
             $method = new ReflectionMethod(get_class($this), $action);
             if ($method->getDeclaringClass()->getName() == __CLASS__) {
                 $this->hiddenActions[] = $action;
             }
         }
     }
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $this->aroundFilters[] = new AroundFilter();
 }