PHP Класс Treynolds_Qconfig_Helper_Data

Наследование: extends Mage_Core_Helper_Abstract
Показать файл Открыть проект

Открытые методы

Метод Описание
getQuickSearchResults ( $qsearch, $current, $website, $store ) : array

Защищенные методы

Метод Описание
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

Описание методов

devGetNavRecords() защищенный Метод

protected devGetNavRecords ( $qsearch, $sections, $configRoot, $levelClause ) : array
$qsearch string
$sections Mage_Core_Model_Config_Element
$configRoot Varien_Simplexml_Element
$levelClause string
Результат array

getGroupAndFieldRecordsByLabel() защищенный Метод

protected getGroupAndFieldRecordsByLabel ( $qsearch, $current, $sections, $levelClause ) : array
$qsearch string
$current string
$sections Mage_Core_Model_Config_Element
$levelClause string
Результат array

getGroupAndFieldRecordsByValue() защищенный Метод

protected getGroupAndFieldRecordsByValue ( $qsearch, $current, $configRoot ) : array
$qsearch string
$current string
$configRoot Varien_Simplexml_Element
Результат array

getLevelClause() защищенный Метод

Need to check the "show_in_X" tags in system.xml files
protected getLevelClause ( $website, $store ) : string
$website string
$store string
Результат string

getModuleSpecificRecords() защищенный Метод

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
Результат array

getNavEdgeCases() защищенный Метод

protected getNavEdgeCases ( ) : array
Результат array where the key is a string to match qsearch and the value is an array of xpath clauses

getNavRecords() защищенный Метод

protected getNavRecords ( $qsearch, $sections, $configRoot, $levelClause ) : array
$qsearch string
$sections Mage_Core_Model_Config_Element
$configRoot Varien_Simplexml_Element
$levelClause string
Результат array

getQuickSearchResults() публичный Метод

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
Результат array with keys (nav, group, field), each of which is an array of strings

getSections() защищенный Метод

protected getSections ( $current, $website, $store ) : Mage_Core_Model_Config_Element
$current string
$website string
$store string
Результат Mage_Core_Model_Config_Element

translateSections() защищенный Метод

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