Mage_Core_Model_Mysql4_Config_Data_Collection Class Reference

Inheritance diagram for Mage_Core_Model_Mysql4_Config_Data_Collection:

Mage_Core_Model_Mysql4_Collection_Abstract Varien_Data_Collection_Db Varien_Data_Collection

List of all members.

Public Member Functions

 addScopeFilter ($scope, $scopeId, $section)
 addPathFilter ($section)
 addValueFilter ($value)

Protected Member Functions

 _construct ()


Detailed Description

Definition at line 34 of file Collection.php.


Member Function Documentation

_construct (  )  [protected]

Initialization here

Reimplemented from Mage_Core_Model_Mysql4_Collection_Abstract.

Definition at line 36 of file Collection.php.

00037     {
00038         $this->_init('core/config_data');
00039     }

addPathFilter ( section  ) 

Definition at line 50 of file Collection.php.

00051     {
00052         $this->_select
00053             ->where('path like ?', $section . '/%');
00054         return $this;
00055     }

addScopeFilter ( scope,
scopeId,
section 
)

Definition at line 41 of file Collection.php.

00042     {
00043         $this->_select
00044             ->where('scope=?', $scope)
00045             ->where('scope_id=?', $scopeId)
00046             ->where('path like ?', $section . '/%');
00047         return $this;
00048     }

addValueFilter ( value  ) 

Definition at line 57 of file Collection.php.

00058     {
00059         $this->getSelect()->where('value=?', $value);
00060         return $this;
00061     }


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

Generated on Sat Jul 4 17:23:58 2009 for Magento by  doxygen 1.5.8