PHP 클래스 Treynolds_Qconfig_Helper_Data

상속: extends Mage_Core_Helper_Abstract
파일 보기 프로젝트 열기: tim-reynolds/magento-qconfig

공개 메소드들

메소드 설명
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