예제 #1
0
파일: Methods.php 프로젝트: kingsj/core
 /**
  * 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);
 }