Public Member Functions | |
setResourceConfig (Varien_Simplexml_Element $xml) | |
getResourceConfig () | |
Protected Member Functions | |
_getSession () | |
_getConfig () | |
_getServer () | |
_fault ($code, $customMessage=null) | |
Protected Attributes | |
$_resourceConfig = null |
Definition at line 34 of file Abstract.php.
_fault | ( | $ | code, | |
$ | customMessage = null | |||
) | [protected] |
Dispatches fault
string | $code |
Definition at line 101 of file Abstract.php.
00102 { 00103 throw new Mage_Api_Exception($code, $customMessage); 00104 }
_getConfig | ( | ) | [protected] |
Retrieve webservice configuration
Definition at line 59 of file Abstract.php.
00060 { 00061 return Mage::getSingleton('api/config'); 00062 }
_getServer | ( | ) | [protected] |
Retrieve webservice server
Definition at line 91 of file Abstract.php.
00092 { 00093 return Mage::getSingleton('api/server'); 00094 }
_getSession | ( | ) | [protected] |
Retrieve webservice session
Definition at line 49 of file Abstract.php.
00050 { 00051 return Mage::getSingleton('api/session'); 00052 }
getResourceConfig | ( | ) |
Retrieve configuration for api resource
Definition at line 81 of file Abstract.php.
setResourceConfig | ( | Varien_Simplexml_Element $ | xml | ) |
Set configuration for api resource
Varien_Simplexml_Element | $xml |
Definition at line 70 of file Abstract.php.
$_resourceConfig = null [protected] |
Definition at line 42 of file Abstract.php.