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