Public Member Functions | |
setUserFilter ($userId) | |
setRolesFilter () | |
Protected Member Functions | |
_construct () |
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('admin/role'); 00032 }
setRolesFilter | ( | ) |
Definition at line 47 of file Collection.php.
00048 { 00049 $this->addFieldToFilter('role_type', 'G'); 00050 return $this; 00051 }
setUserFilter | ( | $ | userId | ) |
Enter description here...
int | $userId |
Definition at line 40 of file Collection.php.
00041 { 00042 $this->addFieldToFilter('user_id', $userId); 00043 $this->addFieldToFilter('role_type', 'G'); 00044 return $this; 00045 }