/** * Get method description * * @param \XLite\Model\Payment\Method $method Method * * @return string */ public function getMethodDescription(\XLite\Model\Payment\Method $method) { return $method->getSoftTranslation($this->getLanguage())->getDescription(); }
/** * {@inheritDoc} */ public function getSoftTranslation($code = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSoftTranslation', array($code)); return parent::getSoftTranslation($code); }