Public Member Functions | |
_construct () | |
setClassTypeFilter ($classTypeId) | |
toOptionArray () | |
toOptionHash () |
Definition at line 35 of file Collection.php.
_construct | ( | ) |
Initialization here
Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.
Definition at line 37 of file Collection.php.
00038 { 00039 $this->_init('tax/class'); 00040 }
setClassTypeFilter | ( | $ | classTypeId | ) |
Definition at line 42 of file Collection.php.
00043 { 00044 $this->_select->where('main_table.class_type = ?', $classTypeId); 00045 return $this; 00046 }
toOptionArray | ( | ) |
Reimplemented from Varien_Data_Collection.
Definition at line 48 of file Collection.php.
00049 { 00050 return $this->_toOptionArray('class_id', 'class_name'); 00051 }
toOptionHash | ( | ) |
Reimplemented from Varien_Data_Collection.
Definition at line 53 of file Collection.php.
00054 { 00055 return $this->_toOptionHash('class_id', 'class_name'); 00056 }