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