configuration
[ class tree: configuration ] [ index: configuration ] [ all elements ]

Class: LAMCfgMain

Source Location: /lib/config.inc

Class Overview


This class manages config.cfg.


Variables

Methods



Class Details

[line 714]
This class manages config.cfg.



[ Top ]


Class Variables

$allowedHosts =

[line 732]

list of hosts which may access LAM


Type:   mixed


[ Top ]

$default =

[line 717]

Default profile


Type:   mixed


[ Top ]

$logDestination =

[line 729]

log destination ("SYSLOG":syslog, "/...":file, "NONE":none)


Type:   mixed


[ Top ]

$logLevel =

[line 726]

log level


Type:   mixed


[ Top ]

$password =

[line 720]

Password to change config.cfg


Type:   mixed


[ Top ]

$sessionTimeout =

[line 723]

Time of inactivity before session times out (minutes)


Type:   mixed


[ Top ]

$settings = array("password", "default", "sessionTimeout",
      "logLevel", "logDestination", "allowedHosts")

[line 735]

list of data fields to save in config file


Type:   mixed


[ Top ]



Class Methods


constructor LAMCfgMain [line 741]

LAMCfgMain LAMCfgMain( )

Loads preferences from config file



[ Top ]

method reload [line 755]

boolean reload( )

Reloads preferences from config file config.cfg



Tags:

return:  true if file was readable


[ Top ]

method save [line 782]

void save( )

Saves preferences to config file config.cfg



[ Top ]


Documentation generated on Wed, 15 Nov 2006 18:00:39 +0100 by phpDocumentor 1.2.3