Class Mage_Api_Model_Config

Description

Webservice api config model

Located in /Api/Model/Config.php (line 34)

Varien_Simplexml_Config
   |
   --Mage_Api_Model_Config
Class Constant Summary
CACHE_TAG = 'config_api'
Method Summary
Mage_Api_Model_Config __construct ([ $sourceData = null])
Mage_Core_Model_Config_Element|boolean getAclAssert ([string $name = ''])
Mage_Core_Model_Config_Element|boolean getAclPrivilegeSet ([string $name = ''])
array getAdapters ()
Zend_Cache_Frontend_File getCache ()
void getFaults ([ $resourceName = null])
Varien_Simplexml_Element getHandlers ()
Varien_Simplexml_Element getResources ()
Varien_Simplexml_Element getResourcesAlias ()
Mage_Api_Model_Config loadAclResources (Mage_Api_Model_Acl $acl, [Mage_Core_Model_Config_Element $resource = null], [string $parentName = null])
void _loadCache ( $id)
void _removeCache ( $id)
void _saveCache ( $data,  $id, [ $tags = array()], [ $lifetime = false])
Methods
Constructor __construct (line 43)

Constructor

  • see: Varien_Simplexml_Config
  • access: public
Mage_Api_Model_Config __construct ([ $sourceData = null])
  • $sourceData
getAclAssert (line 188)

Get acl assert config

  • access: public
Mage_Core_Model_Config_Element|boolean getAclAssert ([string $name = ''])
  • string $name
getAclPrivilegeSet (line 208)

Retrieve privilege set by name

  • access: public
Mage_Core_Model_Config_Element|boolean getAclPrivilegeSet ([string $name = ''])
  • string $name
getActiveAdapters (line 97)

Retrieve active adapters

  • access: public
array getActiveAdapters ()
getAdapters (line 79)

Retrieve all adapters

  • access: public
array getAdapters ()
getCache (line 254)

Retrieve cache object

  • access: public
Zend_Cache_Frontend_File getCache ()
getFaults (line 222)
  • access: public
void getFaults ([ $resourceName = null])
  • $resourceName
getHandlers (line 124)

Retrieve handlers

  • access: public
Varien_Simplexml_Element getHandlers ()
getResources (line 134)

Retrieve resources

  • access: public
Varien_Simplexml_Element getResources ()
getResourcesAlias (line 144)

Retrieve resources alias

  • access: public
Varien_Simplexml_Element getResourcesAlias ()
loadAclResources (line 158)

Load Acl resources from config

  • access: public
Mage_Api_Model_Config loadAclResources (Mage_Api_Model_Acl $acl, [Mage_Core_Model_Config_Element $resource = null], [string $parentName = null])
_construct (line 57)

Init configuration for webservices api

  • access: protected
Mage_Api_Model_Config _construct ()
_loadCache (line 259)
  • access: protected
void _loadCache ( $id)
  • $id
_removeCache (line 269)
  • access: protected
void _removeCache ( $id)
  • $id
_saveCache (line 264)
  • access: protected
void _saveCache ( $data,  $id, [ $tags = array()], [ $lifetime = false])
  • $data
  • $id
  • $tags
  • $lifetime
Class Constants
CACHE_TAG = 'config_api' (line 36)

Documentation generated on Fri, 11 Feb 2011 16:59:13 +0200 by phpDocumentor 1.4.3