/** * Check - display separate Configure button or not * * @param \XLite\Model\Payment\Method $method Payment method * * @return boolean */ protected function isSeparateConfigureButtonVisible(\XLite\Model\Payment\Method $method) { return ($method->getWarningNote() || $method->isTestMode() || !$method->isCurrencyApplicable()) && $method->isConfigurable() && !$method->isForcedEnabled(); }
/** * {@inheritDoc} */ public function getWarningNote() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getWarningNote', array()); return parent::getWarningNote(); }