示例#1
0
 /**
  * Check if current page is accessible
  *
  * @return boolean
  */
 protected function checkAccess()
 {
     return parent::checkAccess() && $this->checkFormId();
 }
示例#2
0
文件: GetWidget.php 项目: kingsj/core
 /**
  * Check if current page is accessible
  *
  * @return boolean
  */
 public function checkAccess()
 {
     return parent::checkAccess() && $this->checkRequest() && \XLite\Core\Operator::isClassExists($this->getClass());
 }
示例#3
0
 /**
  * Check if current page is accessible
  *
  * @return boolean
  */
 public function checkAccess()
 {
     return (parent::checkAccess() && $this->checkACL() || $this->isPublicZone()) && $this->checkFormId();
 }