PHP Class Treynolds_Qconfig_Helper_Data

Inheritance: extends Mage_Core_Helper_Abstract
Afficher le fichier Open project: tim-reynolds/magento-qconfig

Méthodes publiques

Méthode Description
getQuickSearchResults ( $qsearch, $current, $website, $store ) : array

Méthodes protégées

Méthode Description
devGetNavRecords ( $qsearch, $sections, $configRoot, $levelClause ) : array
getGroupAndFieldRecordsByLabel ( $qsearch, $current, $sections, $levelClause ) : array
getGroupAndFieldRecordsByValue ( $qsearch, $current, $configRoot ) : array
getLevelClause ( $website, $store ) : string Need to check the "show_in_X" tags in system.xml files
getModuleSpecificRecords ( $module, $current, $levelClause ) : array This function will load a module's system.xml file and find all fields in it. Does not actually do string searching, just finds everything defined.
getNavEdgeCases ( ) : array
getNavRecords ( $qsearch, $sections, $configRoot, $levelClause ) : array
getSections ( $current, $website, $store ) : Mage_Core_Model_Config_Element
translateSections ( &$sections ) Translate $sections

Method Details

devGetNavRecords() protected méthode

protected devGetNavRecords ( $qsearch, $sections, $configRoot, $levelClause ) : array
$qsearch string
$sections Mage_Core_Model_Config_Element
$configRoot Varien_Simplexml_Element
$levelClause string
Résultat array

getGroupAndFieldRecordsByLabel() protected méthode

protected getGroupAndFieldRecordsByLabel ( $qsearch, $current, $sections, $levelClause ) : array
$qsearch string
$current string
$sections Mage_Core_Model_Config_Element
$levelClause string
Résultat array

getGroupAndFieldRecordsByValue() protected méthode

protected getGroupAndFieldRecordsByValue ( $qsearch, $current, $configRoot ) : array
$qsearch string
$current string
$configRoot Varien_Simplexml_Element
Résultat array

getLevelClause() protected méthode

Need to check the "show_in_X" tags in system.xml files
protected getLevelClause ( $website, $store ) : string
$website string
$store string
Résultat string

getModuleSpecificRecords() protected méthode

This function will load a module's system.xml file and find all fields in it. Does not actually do string searching, just finds everything defined.
protected getModuleSpecificRecords ( $module, $current, $levelClause ) : array
$module string
$current string
$levelClause string
Résultat array

getNavEdgeCases() protected méthode

protected getNavEdgeCases ( ) : array
Résultat array where the key is a string to match qsearch and the value is an array of xpath clauses

getNavRecords() protected méthode

protected getNavRecords ( $qsearch, $sections, $configRoot, $levelClause ) : array
$qsearch string
$sections Mage_Core_Model_Config_Element
$configRoot Varien_Simplexml_Element
$levelClause string
Résultat array

getQuickSearchResults() public méthode

public getQuickSearchResults ( $qsearch, $current, $website, $store ) : array
$qsearch string Query String
$current string The current section of config you are viewing
$website string The current website you are under. Can be null or empty string
$store string The store view you are under. Can be null or empty string
Résultat array with keys (nav, group, field), each of which is an array of strings

getSections() protected méthode

protected getSections ( $current, $website, $store ) : Mage_Core_Model_Config_Element
$current string
$website string
$store string
Résultat Mage_Core_Model_Config_Element

translateSections() protected méthode

Translate $sections
protected translateSections ( &$sections )
$sections