wCMF
3.6
|
Public Member Functions | |
& | getInstance () |
getIniFiles () | |
getBestActionKey ($section, $resource, $context, $action) | |
getErrorMsg () | |
parseIniFile ($filename, $processValues=true) | |
getData () | |
getSections () | |
getSection ($section) | |
getValue ($key, $section) | |
Public Attributes | |
$_actionDelimiter = '?' | |
WCMFInifileParser adds methods for wcmf specific inifiles. This class is a decorator to the InifileParser class, showing only the readonly methods of InifileParser in it's interface. The advantage in using the InifileParser singleton inside this class is that its instance will hold the same configuration data as the WCMFInifileParser instance does.
For this reason other classes may use the InifileParser instance not knowing about the WCMFInifileParser class at all.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 36 of file class.WCMFInifileParser.php.
& WCMFInifileParser::getInstance | ( | ) |
Returns an instance of the class.
Definition at line 44 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
Referenced by RightsManager\authorize(), Controller\getViewTemplate(), Application\initialize(), ActionMapper\processAction(), Application\setupGlobals(), and PageExportController\writeOutput().
WCMFInifileParser::getIniFiles | ( | ) |
Get a list of available configuration files.
Definition at line 66 of file class.WCMFInifileParser.php.
Referenced by EditRightsController\executeKernel(), AdminController\executeKernel(), PrincipalController\executeKernel(), and g_getConfigFiles().
WCMFInifileParser::getBestActionKey | ( | $section, | |
$resource, | |||
$context, | |||
$action | |||
) |
Get an ini file key that matches a given combination of resource, context, action best.
section | The section to search in. |
resource | The given resource. |
context | The given context. |
action | The given action. |
Definition at line 80 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::getErrorMsg | ( | ) |
Implement InifileParser public readonly Interface
Definition at line 154 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::parseIniFile | ( | $filename, | |
$processValues = true |
|||
) |
Definition at line 162 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::getData | ( | ) |
Definition at line 170 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::getSections | ( | ) |
Definition at line 178 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::getSection | ( | $section | ) |
Definition at line 186 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::getValue | ( | $key, | |
$section | |||
) |
Definition at line 194 of file class.WCMFInifileParser.php.
References InifileParser\getInstance().
WCMFInifileParser::$_actionDelimiter = '?' |
Definition at line 38 of file class.WCMFInifileParser.php.