Class BasicConfigReader

Description

Located in /inc/bb/basicconfigreader.php (line 33)

BasicConfigReaderSingleton
   |
   --BasicConfigReader
Direct descendents
Class Description
ConfigReader
Variable Summary
Method Summary
void BasicConfig ()
void getSection ( $section)
void getSections ()
void LoadFile ( $filename, [ $fatalErrors = true])
void mergeConfig ( $other_array, [ $section = null])
void mergeDatabaseTable ([ $table = 'settings'], [ $sectionColumn = 'section'], [ $parameterColumn = 'parameter'], [ $valueColumn = 'value'])
void MergeFile ( $filename, [ $section = null], [ $fatalErrors = true])
void SetFileLocation ( $directory)
void value ( $section,  $parameter, [ $default = null])
void _readConfigFile ( $filename, [ $fatalErrors = true])
Variables
mixed $configError = false (line 37)
mixed $configFileLocation = null (line 39)
mixed $data (line 35)
Methods
BasicConfig (line 41)
void BasicConfig ()
getSection (line 85)
void getSection ( $section)
  • $section
getSections (line 93)
void getSections ()
LoadFile (line 49)
void LoadFile ( $filename, [ $fatalErrors = true])
  • $filename
  • $fatalErrors
mergeConfig (line 98)

merge an array into the config data. If a section is provided the array is added as a new sub key

void mergeConfig ( $other_array, [ $section = null])
  • $other_array
  • $section
mergeDatabaseTable (line 114)
void mergeDatabaseTable ([ $table = 'settings'], [ $sectionColumn = 'section'], [ $parameterColumn = 'parameter'], [ $valueColumn = 'value'])
  • $table
  • $sectionColumn
  • $parameterColumn
  • $valueColumn
MergeFile (line 53)
void MergeFile ( $filename, [ $section = null], [ $fatalErrors = true])
  • $filename
  • $section
  • $fatalErrors
SetFileLocation (line 45)
void SetFileLocation ( $directory)
  • $directory
value (line 77)
void value ( $section,  $parameter, [ $default = null])
  • $section
  • $parameter
  • $default
_readConfigFile (line 58)
void _readConfigFile ( $filename, [ $fatalErrors = true])
  • $filename
  • $fatalErrors

Inherited Methods

Inherited From BasicConfigReaderSingleton

BasicConfigReaderSingleton::BasicConfigReaderSingleton()
BasicConfigReaderSingleton::getInstance()
BasicConfigReaderSingleton::_instanceManager()

Documentation generated on Tue, 06 Mar 2007 10:00:40 +0000 by phpDocumentor 1.3.0