/** * Checks whether the widget is visible, or not * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getMethod(); }
/** * Check if the widget is visible * * @return boolean */ public function isVisible() { return parent::isVisible() && !(bool) \XLite\Core\Request::getInstance()->id; }
/** * Checks whether the widget is visible, or not * * @return boolean */ protected function isVisible() { return parent::isVisible() && \XLite\Controller\Admin\TaxClasses::isEnabled(); }