Mage_Admin_Model_Mysql4_Roles_Collection Class Reference

Inheritance diagram for Mage_Admin_Model_Mysql4_Roles_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 toOptionArray ()

Protected Member Functions

 _construct ()
 _initSelect ()


Detailed Description

Definition at line 27 of file Collection.php.


Member Function Documentation

_construct (  )  [protected]

Initialization here

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 29 of file Collection.php.

00030     {
00031         $this->_init('admin/role');
00032     }

_initSelect (  )  [protected]

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 34 of file Collection.php.

00034                                     {
00035         parent::_initSelect();
00036         $this->getSelect()->where("main_table.role_type='G'");
00037     }

toOptionArray (  ) 

Reimplemented from Varien_Data_Collection.

Definition at line 39 of file Collection.php.

00040     {
00041        return $this->_toOptionArray('role_id', 'role_name');
00042     }


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

Generated on Sat Jul 4 17:22:41 2009 for Magento by  doxygen 1.5.8