Пример #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
 /**
  * Check if widget is visible
  *
  * :TODO: remove if it's not needed
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->isDownload();
 }
Пример #4
0
 /**
  * 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();
 }