示例#1
0
文件: Category.php 项目: kingsj/core
 /**
  * Preprocessor for no-action ren
  *
  * @return void
  */
 protected function doNoAction()
 {
     parent::doNoAction();
     if (!\XLite\Core\Request::getInstance()->isAJAX()) {
         \XLite\Core\Session::getInstance()->continueShoppingURL = $this->getURL();
     }
 }
示例#2
0
文件: Catalog.php 项目: kingsj/core
 /**
  * Check if redirect to clean URL is needed
  *
  * @return boolean
  */
 protected function isRedirectToCleanURLNeeded()
 {
     return parent::isRedirectToCleanURLNeeded() && false;
 }
示例#3
0
文件: Product.php 项目: kingsj/core
 /**
  * Check controller visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getProduct();
 }