/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getModule()->callModuleMethod('showSettingsForm'); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && !$this->getModule()->getEnabled(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getModule()->getEnabled() && $this->isDeveloperMode(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getModule()->canUninstall(); }