/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && $this->checkFormId(); }
/** * Check if current page is accessible * * @return boolean */ public function checkAccess() { return parent::checkAccess() && $this->checkRequest() && \XLite\Core\Operator::isClassExists($this->getClass()); }
/** * Check if current page is accessible * * @return boolean */ public function checkAccess() { return (parent::checkAccess() && $this->checkACL() || $this->isPublicZone()) && $this->checkFormId(); }