Beispiel #1
0
 /**
  * Check if widget is visible
  *
  * @return boolean
  */
 protected function isVisible()
 {
     return parent::isVisible() && \XLite\Module\CDev\XPaymentsConnector\Core\Settings::hasPaymentMethods();
 }
Beispiel #2
0
 /**
  * Check - is payment configurations imported early or not
  *
  * @return boolean
  */
 public function hasPaymentMethods()
 {
     return $this->settings->hasPaymentMethods();
 }