Mage_Api_Model_Mysql4_Acl_Role Class Reference

Inheritance diagram for Mage_Api_Model_Mysql4_Acl_Role:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract

List of all members.

Protected Member Functions

 _construct ()
 _beforeSave (Mage_Core_Model_Abstract $object)


Detailed Description

Definition at line 34 of file Role.php.


Member Function Documentation

_beforeSave ( Mage_Core_Model_Abstract object  )  [protected]

Perform actions before object save

Parameters:
Varien_Object $object

Reimplemented from Mage_Core_Model_Mysql4_Abstract.

Definition at line 41 of file Role.php.

00042     {
00043         if (!$role->getId()) {
00044             $this->setCreated(Mage::getSingleton('core/date')->gmtDate());
00045         }
00046         return $this;
00047     }

_construct (  )  [protected]

Resource initialization

Reimplemented from Mage_Core_Model_Resource_Abstract.

Definition at line 36 of file Role.php.

00037     {
00038         $this->_init('api/role', 'role_id');
00039     }


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

Generated on Sat Jul 4 17:23:32 2009 for Magento by  doxygen 1.5.8