lajax\translatemanager\Module::beforeAction PHP 메소드

beforeAction() 공개 메소드

public beforeAction ( $action )
    public function beforeAction($action)
    {
        if ($this->checkAccess()) {
            return parent::beforeAction($action);
        } else {
            throw new ForbiddenHttpException('You are not allowed to access this page.');
        }
    }