isActive() 보호된 메소드

Returns a value indicating whether the filter is active for the given action.
protected isActive ( Action $action ) : boolean
$action Action the action being filtered
리턴 boolean whether the filter is active for the given action.
예제 #1
0
파일: AuthMethod.php 프로젝트: Kest007/yii2
 /**
  * {@inheritdoc}
  */
 protected function isActive($action)
 {
     return parent::isActive($action) || $this->isOptional($action);
 }