コード例 #1
0
 /**
  * Constructor for SofortLibIDealBanks
  *
  * @param string $configKey
  * @param string $apiUrl (optional)
  */
 public function __construct($configKey, $apiUrl = '')
 {
     $this->_rootTag = 'ideal';
     if ($apiUrl == '') {
         $apiUrl = getenv('idealApiUrl') != '' ? getenv('idealApiUrl') . '/banks' : self::IDEAL_BANKS_URL;
     }
     parent::__construct($configKey, $apiUrl);
 }
コード例 #2
0
 /**
  * {@inheritDoc}
  * @see \Owebia\AdvancedSettingCore\Model\Wrapper\AbstractWrapper::help()
  */
 public function help()
 {
     $source = $this->getSource();
     if ($source) {
         return parent::help();
     } else {
         $output = "Help on " . get_class($this) . " : No source defined";
     }
     return $output;
 }
コード例 #3
0
 /**
  * {@inheritDoc}
  * @see \Owebia\ShippingCore\Model\Wrapper\AbstractWrapper::help()
  */
 public function help()
 {
     $source = $this->getSource();
     if ($source) {
         return parent::help();
     } else {
         $output = "Help on " . get_class($this) . " : No source defined";
         // $this->_logger->debugCollapse("Help on " . get_class($this) . " : No source defined", '');
     }
     return $output;
 }
コード例 #4
0
 /**
  * Sets the root tag and calls the parent method
  *
  * @see SofortLibAbstract::sendRequest()
  */
 public function sendRequest()
 {
     $this->_rootTag = $this->_root . '_request';
     parent::sendRequest();
 }
コード例 #5
0
 /**
  * @param mixed $offset
  * @return mixed
  */
 public function offsetGet($offset)
 {
     return parent::__get($offset);
 }