示例#1
0
 /**
  * Get directory where template is located (body.tpl)
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . '/empty_cells';
 }
示例#2
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getUpgradeEntries() && $this->isUpdate();
 }
示例#3
0
文件: Download.php 项目: kingsj/core
 /**
  * Check if widget is visible
  *
  * :TODO: remove if it's not needed
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->isDownload();
 }
示例#4
0
文件: AStep.php 项目: kingsj/core
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && !isset(\XLite\Core\Request::getInstance()->mode);
 }
示例#5
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->isCoreSelection();
 }
示例#6
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->isUpdate();
 }