예제 #1
0
파일: Settings.php 프로젝트: kingsj/core
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getModule()->callModuleMethod('showSettingsForm');
 }
예제 #2
0
파일: Uninstall.php 프로젝트: kingsj/core
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && !$this->getModule()->getEnabled();
 }
예제 #3
0
파일: Pack.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getModule()->getEnabled() && $this->isDeveloperMode();
 }
예제 #4
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getModule()->canUninstall();
 }