Mage_Tax_Model_Mysql4_Class_Collection Class Reference

Inheritance diagram for Mage_Tax_Model_Mysql4_Class_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 _construct ()
 setClassTypeFilter ($classTypeId)
 toOptionArray ()
 toOptionHash ()


Detailed Description

Definition at line 35 of file Collection.php.


Member Function Documentation

_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     }


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

Generated on Sat Jul 4 17:24:55 2009 for Magento by  doxygen 1.5.8