コード例 #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();
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  */
 public function getSoftTranslation($code = NULL)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSoftTranslation', array($code));
     return parent::getSoftTranslation($code);
 }