コード例 #1
0
ファイル: Payment.php プロジェクト: GaynorH/prestigedrinks
 public function getTitle()
 {
     $mode = $this->getConfigData('mode');
     if ($mode == 'live' || $this->_isInViewOrder() === true || $this->getCode() == 'sagepaypaypal') {
         return parent::getTitle();
     }
     return parent::getTitle() . ' - ' . Mage::helper('sagepaysuite')->__('%s mode', strtoupper($mode));
 }
コード例 #2
0
ファイル: Payment.php プロジェクト: CherylMuniz/fashion
 public function getTitle()
 {
     $mode = $this->getConfigData('mode');
     if ($mode == 'live' || $this->_isInViewOrder() === true || $this->getCode() == 'sagepaypaypal') {
         return parent::getTitle();
     }
     return parent::getTitle() . ' - ' . strtoupper($mode) . ' mode';
 }
コード例 #3
0
ファイル: Basic.php プロジェクト: beejhuff/magento-1.13.0.2
 /**
  * Retrieve payment method title
  *
  * @return string
  */
 public function getTitle()
 {
     return parent::getTitle();
 }
コード例 #4
0
 public function getTitle()
 {
     return Mage_Payment_Model_Method_Cc::getTitle();
 }