/**
  * Check if the widget is visible
  *
  * @return boolean
  */
 public function isVisible()
 {
     return parent::isVisible() && \XLite\Core\Request::getInstance()->id;
 }
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getOrderId() && 0 < count($this->getOrderHistoryEventsBlock());
 }
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getParam(self::PARAM_OPTION)->isModifier();
 }
Exemple #4
0
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     $result = parent::isVisible();
     if ($result) {
         if ($this->checkImage()) {
             $this->processImage();
         } elseif ($this->checkDefaultImage()) {
             $this->processDefaultImage();
         } else {
             $result = false;
         }
     }
     return $result;
 }
Exemple #5
0
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getItem()->hasOptions();
 }
Exemple #6
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && \XLite\Core\Config::getInstance()->CDev->GoSocial->fb_like_use;
 }
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getEntity() && $this->getEntity()->hasAttributeValues() && $this->getEntity()->isActualAttributes();
 }
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getParam(self::PARAM_ITEM)->hasAttributeValues();
 }
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && (!\XLite::isAdminZone() && 0 < count($this->getParam(self::PARAM_ITEM)->getSoldPinCodes()) || \XLite::isAdminZone() && 0 < count($this->getParam(self::PARAM_ITEM)->getPinCodes()));
 }
Exemple #10
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && 1 < count($this->getNodes());
 }
Exemple #11
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getModifier();
 }
Exemple #12
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getParam(self::PARAM_ORDER) && 0 < count($this->getTransactions());
 }
Exemple #13
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && \XLite\Core\Session::getInstance()->iframePaymentData;
 }
Exemple #14
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getParam(self::PARAM_ITEM)->countProductOptions();
 }
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && \XLite\Core\Auth::getInstance()->isLogged() && !$this->getWidget(array(), '\\XLite\\View\\CoreVersion')->isVisible();
 }
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && \XLite\Core\Auth::getInstance()->isAdmin();
 }
Exemple #17
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && ($this->getGroup()->getGroupId() || $this->isNew());
 }
Exemple #18
0
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && 0 < count($this->getOptions());
 }
Exemple #19
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && !$this->isAJAXCenterRequest();
 }
Exemple #20
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getOrder()->getCapostOffice();
 }
Exemple #21
0
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getInactiveLanguages();
 }
Exemple #22
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->checkFieldAccessability();
 }
Exemple #23
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getDownloadFiles();
 }
Exemple #24
0
 /**
  * Checks whether the widget is visible, or not
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && in_array($this->getCurrentTarget(), $this->getTabTargets());
 }
Exemple #25
0
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getCategory()->getDescription();
 }
Exemple #26
0
 /**
  * Check widget visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && !\XLite\Core\Request::getInstance()->page;
 }
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && !$this->getProcessorId();
 }
Exemple #28
0
 /**
  * Check visibility
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getPaymentMethod();
 }
Exemple #29
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getProduct() && $this->getAttachments();
 }
Exemple #30
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && $this->getParam(self::PARAM_SORT_CRITERIONS);
 }