コード例 #1
0
ファイル: EmptyCells.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get directory where template is located (body.tpl)
  *
  * @return string
  */
 protected function getDir()
 {
     return parent::getDir() . '/empty_cells';
 }
コード例 #2
0
ファイル: InstallUpdates.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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
ファイル: SelectCoreVersion.php プロジェクト: kingsj/core
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->isCoreSelection();
 }
コード例 #6
0
ファイル: InstallUpdates.php プロジェクト: kingsj/core
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->isUpdate();
 }