UNB Components Code Reference

UnbConfiguration class

Configuration functions for reading and writing UNB settings.

Public methods

S Get

Gets a configuration setting.

S Initialise

Initialises the configuration data from code.

S Set

Sets a configuration setting.

S SetFilename

Sets the configuration file name.

Private methods

   Class constructor

Private constructor, does nothing but preventing an unwanted instantiation of this class.

S ReadFile

Reads the configuration file.

Private fields

settings  –  default: null

Settings cache array

settingsFilename  –  default: 'unb_config.inc.php'

Configuration filename. If it's not an absolute path, the name is interpreted relative to this class file.

systemUser  –  default: null

Cached reference to the system user which stores all configuration data in the database

Implementation file: configuration.class.php, line 13

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.