Public Member Functions | |
addScopeFilter ($scope, $scopeId, $section) | |
addPathFilter ($section) | |
addValueFilter ($value) | |
Protected Member Functions | |
_construct () |
Definition at line 34 of file Collection.php.
_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 }