/** * 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); }
/** * {@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; }
/** * {@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; }
/** * Sets the root tag and calls the parent method * * @see SofortLibAbstract::sendRequest() */ public function sendRequest() { $this->_rootTag = $this->_root . '_request'; parent::sendRequest(); }
/** * @param mixed $offset * @return mixed */ public function offsetGet($offset) { return parent::__get($offset); }