/** * Check if current page is accessible * * @return boolean */ public function checkAccess() { return parent::checkAccess(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { $auth = \XLite\Core\Auth::getInstance(); $address = $this->getAddress(); return parent::checkAccess() && $auth->isLogged() && (!$address || $address->getProfile()->getProfileId() == $auth->getProfile()->getProfileId()); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && $this->getOrder() && $this->checkOrderAccess(); }
/** * Check if current page is accessible * * @return boolean */ public function checkAccess() { return parent::checkAccess() && \XLite\Core\Config::getInstance()->CDev->ContactUs->enable_form; }
/** * Check if current page is accessible * * @return boolean */ public function checkAccess() { return parent::checkAccess() && \XLite\Module\CDev\XPaymentsConnector\Core\ZeroAuth::getInstance()->getPaymentMethod() && (\XLite\Core\Auth::getInstance()->isLogged() || 'check_cart' == \XLite\Core\Request::getInstance()->action || 'callback' == \XLite\Core\Request::getInstance()->action); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && ('download' != $this->getAction() || $this->getStorage()); }
/** * Check if current page is accessible * * @return boolean */ public function checkAccess() { return parent::checkAccess() && \XLite\Core\Auth::getInstance()->isLogged(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && $this->getOrder() && ($this->checkOrderAccess() || $this->isLastAnonymousOrder()); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { $newsMessage = $this->getNewsMessage(); return parent::checkAccess() && (empty($newsMessage) || $newsMessage->isEnabled()); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && !\XLite\Module\CDev\XMLSitemap\Logic\SitemapGenerator::getInstance()->isEmpty(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && $this->getShipment() && $this->checkTrackingAccess(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { $result = parent::checkAccess() && \XLite\Core\Auth::getInstance()->isLogged() && $this->checkProfile(); if ($result) { $address = $this->getAddress(); $result = !$address || \XLite\Core\Auth::getInstance()->checkProfile($address->getProfile()); } return $result; }
/** * Check if current page is accessible * * @return boolean * @see ____func_see____ * @since 1.0.0 */ public function checkAccess() { $page = $this->getPage(); return parent::checkAccess() && $page && $page->getEnabled(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && $this->getOrder() && $this->checkOrderAccess() && $this->getOrder()->isCapostShippingMethod(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { $page = $this->getPage(); return parent::checkAccess() && (empty($page) || $page->getEnabled()); }
/** * 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 */ protected function checkAccess() { return parent::checkAccess() && $this->checkProfile(); }