Public Member Functions | |
toOptionArray () | |
Protected Member Functions | |
_construct () | |
_initSelect () |
Definition at line 27 of file Collection.php.
_construct | ( | ) | [protected] |
Initialization here
Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.
Definition at line 29 of file Collection.php.
00030 { 00031 $this->_init('api/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 }