/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->isCategoryVisible() && $this->hasSubcategories(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() || $this->isExported(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getBody(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && \XLite\Core\Auth::getInstance()->isLogged(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getPaymentMethod(); }
/** * Check widget visible * * @return boolean */ public function isVisible() { return parent::isVisible() && $this->getPaymentMethod() && $this->getPaymentMethod()->getProcessor() && $this->getPaymentMethod()->getProcessor()->getSettingsWidget(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { $result = parent::isVisible() && (Paypal\Main::isPaypalCreditEnabled() || Paypal\Main::isPaypalWPSEnabled()) && $this->isValidTarget() && $this->getPublisherId() && $this->getSetting('agreement'); if ($result) { $settingName = 'bannerOn' . ucfirst($this->getParam(static::PARAM_PAGE)); $result = $this->getParam(static::PARAM_POSITION) == $this->getSetting($settingName); } return $result; }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getCart()->getOrigProfile() && !$this->getCart()->getOrigProfile()->getOrder(); }
/** * Check if widget is visible * * @return boolean */ protected function isVisible() { $config = \XLite\Core\Config::getInstance()->CDev->Paypal; return parent::isVisible() && $this->isRootAccess() && 1 != \XLite\Core\Session::getInstance()->hide_welcome_block_paypal && 'Y' == $config->show_admin_welcome; }