Class shellconfigfile

Description

A system configuration file in the form of a shell script. These are in the standard NAME=VALUE format, but implemented as 'sh' scripts so that other scripts can use them via '.'. This class is provided to allow Php scripts to easily access the config settings in these too.

NOTE: this does not cope with run-time settings in shell format. Eg. entries of the form: MYVAR=${OTHERVAR}/mydir. Ie. it doesn't expand the value of ${OTHERVAR} to produce the final setting. Use the 'getvalue()' method to access the read-in vars.

Located in /file-defs.php (line 1107)

configfile
   |
   --shellconfigfile
Method Summary
 shellconfigfile shellconfigfile (mixed $path)
 void import_settings ()
Variables
Methods
Constructor shellconfigfile (line 1108)
shellconfigfile shellconfigfile (mixed $path)
import_settings (line 1113)

Process the configfile.

void import_settings ()

Redefinition of:
configfile::import_settings()
This will be implemented in the child class depending on config file type.

Inherited Methods

Inherited From configfile

 configfile::configfile()
 configfile::getvalue()
 configfile::import_settings()
 configfile::settingexists()
 configfile::settingscount()

Documentation generated by phpDocumentor 1.3.0RC3