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 1015]
This class manages config.cfg.



[ Top ]


Class Variables

$allowedHosts =

[line 1033]

list of hosts which may access LAM



Tags:

access:  public

Type:   mixed


[ Top ]

$default =

[line 1018]

Default profile



Tags:

access:  public

Type:   mixed


[ Top ]

$logDestination =

[line 1030]

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



Tags:

access:  public

Type:   mixed


[ Top ]

$logLevel =

[line 1027]

log level



Tags:

access:  public

Type:   mixed


[ Top ]

$passwordMinClasses =  0

[line 1051]

minimum character classes (upper, lower, numeric, symbols)



Tags:

access:  public

Type:   mixed


[ Top ]

$passwordMinLength =  0

[line 1036]

minimum length for passwords



Tags:

access:  public

Type:   mixed


[ Top ]

$passwordMinLower =  0

[line 1042]

minimum lowercase characters



Tags:

access:  public

Type:   mixed


[ Top ]

$passwordMinNumeric =  0

[line 1045]

minimum numeric characters



Tags:

access:  public

Type:   mixed


[ Top ]

$passwordMinSymbol =  0

[line 1048]

minimum symbol characters



Tags:

access:  public

Type:   mixed


[ Top ]

$passwordMinUpper =  0

[line 1039]

minimum uppercase characters



Tags:

access:  public

Type:   mixed


[ Top ]

$sessionTimeout =

[line 1024]

Time of inactivity before session times out (minutes)



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 1064]

LAMCfgMain __construct( )

Loads preferences from config file



[ Top ]

method checkPassword [line 1173]

boolean checkPassword( String $password)

Checks if the given password matches.



Tags:

return:  true, if password matches
access:  public


Parameters:

String   $password   password

[ Top ]

method isWritable [line 1203]

boolean isWritable( )

Returns if the configuration file is writable.



Tags:

return:  writable
access:  public


[ Top ]

method save [line 1105]

void save( )

Saves preferences to config file config.cfg



Tags:

access:  public


[ Top ]

method setPassword [line 1159]

void setPassword( String $password)

Sets a new config password.



Tags:

access:  public


Parameters:

String   $password   new password

[ Top ]


Documentation generated on Fri, 25 Jun 2010 18:49:01 +0200 by phpDocumentor 1.4.1