Mage_Core_Model_Resource_Entity_Abstract Class Reference

Inheritance diagram for Mage_Core_Model_Resource_Entity_Abstract:

Mage_Core_Model_Resource_Entity_Table

List of all members.

Public Member Functions

 __construct ($config)
 getConfig ($key='')

Protected Attributes

 $_name = null
 $_config = array()


Detailed Description

Definition at line 28 of file Abstract.php.


Constructor & Destructor Documentation

__construct ( config  ) 

Definition at line 33 of file Abstract.php.

00034     {
00035         $this->_config = $config;
00036     }


Member Function Documentation

getConfig ( key = ''  ) 

Definition at line 38 of file Abstract.php.

00039     {
00040         if (''===$key) {
00041             return $this->_config;
00042         } elseif (isset($this->_config->$key)) {
00043             return $this->_config->$key;
00044         } else {
00045             return false;
00046         }
00047     }    


Member Data Documentation

$_config = array() [protected]

Definition at line 31 of file Abstract.php.

$_name = null [protected]

Definition at line 30 of file Abstract.php.


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:00 2009 for Magento by  doxygen 1.5.8