Esempio n. 1
0
 /**
  * Initialize dependencies. Initialize data.
  *
  * @param Mage_Webapi_Model_Config_ReaderAbstract $reader
  * @param Mage_Webapi_Helper_Config $helper
  * @param Mage_Core_Model_App $app
  */
 public function __construct(Mage_Webapi_Model_Config_ReaderAbstract $reader, Mage_Webapi_Helper_Config $helper, Mage_Core_Model_App $app)
 {
     $this->_reader = $reader;
     $this->_helper = $helper;
     $this->_app = $app;
     $this->_data = $this->_reader->getData();
 }
Esempio n. 2
0
 /**
  * Construct config reader with SOAP class reflector.
  *
  * @param Mage_Webapi_Model_Config_Reader_Soap_ClassReflector $classReflector
  * @param Mage_Core_Model_Config $appConfig
  * @param Mage_Core_Model_Cache $cache
  */
 public function __construct(Mage_Webapi_Model_Config_Reader_Soap_ClassReflector $classReflector, Mage_Core_Model_Config $appConfig, Mage_Core_Model_Cache $cache)
 {
     parent::__construct($classReflector, $appConfig, $cache);
 }