__construct()
check_Passwd()
getAccessLevel()
getHttpAuthentication()
getLamProMailFrom()
getLamProMailIsHTML()
getLamProMailReplyTo()
getLamProMailSubject()
getLamProMailText()
getLoginMethod()
getLoginSearchDN()
getLoginSearchFilter()
getLoginSearchPassword()
getLoginSearchSuffix()
getName()
getPath()
getToolSettings()
getUseTLS()
get_AccountModules()
get_ActiveTypes()
get_Admins()
get_Adminstring()
get_ServerURL()
get_Suffix()
get_cacheTimeout()
get_cacheTimeoutSec()
get_defaultLanguage()
get_listAttributes()
get_moduleSettings()
get_scriptPath()
get_scriptRights()
get_scriptServers()
get_searchLimit()
get_typeSettings()
isWritable()
save()
setAccessLevel()
setHttpAuthentication()
setLamProMailFrom()
setLamProMailIsHTML()
setLamProMailReplyTo()
setLamProMailSubject()
setLamProMailText()
setLoginMethod()
setLoginSearchDN()
setLoginSearchFilter()
setLoginSearchPassword()
setLoginSearchSuffix()
setToolSettings()
setUseTLS()
set_AccountModules()
set_ActiveTypes()
set_Adminstring()
set_Passwd()
set_ServerURL()
set_Suffix()
set_cacheTimeout()
set_defaultLanguage()
set_listAttributes()
set_moduleSettings()
set_scriptPath()
set_scriptRights()
set_scriptServers()
set_searchLimit()
set_typeSettings()
hashPassword()
reload()
$Admins
$Passwd
$ServerURL
$accessLevel
$activeTypes
$cachetimeout
$defaultLanguage
$file
$httpAuthentication
$lamProMailFrom
$lamProMailIsHTML
$lamProMailReplyTo
$lamProMailSubject
$lamProMailText
$loginMethod
$loginSearchDN
$loginSearchFilter
$loginSearchPassword
$loginSearchSuffix
$moduleSettings
$scriptPath
$scriptRights
$scriptServer
$searchLimit
$settings
$toolSettings
$treesuffix
$typeSettings
$useTLS
ACCESS_ALL
ACCESS_PASSWORD_CHANGE
ACCESS_READ_ONLY
LINE_SEPARATOR
LOGIN_LIST
LOGIN_SEARCH
SAVE_FAIL
SAVE_OK
This class manages .conf files.
| package | configuration |
|---|
__construct(String $file)
Stringfile name without ".conf" (e.g. lam)
check_Passwd(String $password) : boolean
String
booleantrue, if matchesgetAccessLevel() : int
intlevelgetHttpAuthentication() : String
String$httpAuthentication use HTTP authentication ('true' or 'false')getLamProMailFrom() : String
Stringmail addressgetLamProMailIsHTML() : boolean
booleanHTML or textgetLamProMailReplyTo() : String
Stringmail addressgetLamProMailSubject() : String
StringsubjectgetLamProMailText() : String
StringbodygetLoginMethod() : String
| see | \global\LAMconfig::LOGIN_LIST |
|---|---|
| see | \global\LAMconfig::LOGIN_SEARCH |
Stringlogin methodgetLoginSearchDN() : String
StringDNgetLoginSearchFilter() : String
Stringsearch filtergetLoginSearchPassword() : String
StringpasswordgetLoginSearchSuffix() : String
StringsuffixgetName() : String
StringnamegetPath() : string
stringpath on filesystemgetToolSettings() : array
array$toolSettings tool settingsgetUseTLS() : String
Stringyes or noget_AccountModules(string $scope) : array
stringaccount type
arrayuser modulesget_ActiveTypes() : array
arraylist of typesget_Admins() : array
arraythe admin namesget_Adminstring() : string
stringthe admin stringget_ServerURL() : string
stringserver addressget_Suffix(string $scope) : string
stringaccount type
stringthe LDAP suffixget_cacheTimeout() : integer
integercache timeget_cacheTimeoutSec() : integer
integercache timeget_defaultLanguage() : string
stringdefault languageget_listAttributes(string $scope) : string
stringaccount type
stringthe attribute listget_moduleSettings() : array
arraylist of settings: array(name => value)get_scriptPath() : string
stringscript pathget_scriptRights() : string
stringrightsget_scriptServers() : string
stringscript serversget_searchLimit() : integer
integersearch limitget_typeSettings() : array
arraylist of settings: array(name => value)isWritable() : boolean
booleantrue if file is writablesave()
setAccessLevel(int $level)
intlevel
setHttpAuthentication(String $httpAuthentication)
Stringuse HTTP authentication ('true' or 'false')
setLamProMailFrom(String $lamProMailFrom) : boolean
Stringmail address
booleantrue if address is validsetLamProMailIsHTML(boolean $lamProMailIsHTML)
boolean
setLamProMailReplyTo(String $lamProMailReplyTo) : boolean
Stringmail address
booleantrue if address is validsetLamProMailSubject(String $lamProMailSubject)
Stringsubject
setLamProMailText(String $lamProMailText)
Stringbody
setLoginMethod(String $loginMethod)
String
setLoginSearchDN(String $loginSearchDN) : boolean
StringDN
booleantrue if DN is validsetLoginSearchFilter(String $loginSearchFilter)
Stringsearch filter
setLoginSearchPassword(String $loginSearchPassword)
Stringpassword
setLoginSearchSuffix(String $loginSearchSuffix)
Stringsuffix
setToolSettings(array $toolSettings) : boolean
arraytool settings
booleantrue if oksetUseTLS(String $useTLS) : boolean
Stringyes or no
booleantrue if $useTLS has correct formatset_AccountModules(array $modules, string $scope) : boolean
arrayarray with module names (not aliases!)
stringaccount type
booleantrue if $modules has correct formatset_ActiveTypes(array $types)
arraylist of types
set_Adminstring(string $value) : boolean
stringnew admin string that contains all admin users seperated by semicolons
booleantrue if $value has correct formatset_Passwd(string $value) : boolean
stringnew password
booleantrue if $value has correct formatset_ServerURL(string $value) : boolean
stringnew server address
booleantrue if $value has correct formatset_Suffix(string $scope, string $value) : boolean
stringaccount type
stringnew LDAP suffix
booleantrue if $value has correct formatset_cacheTimeout(integer $value) : boolean
integernew cache timeout
booleantrue if $value has correct formatset_defaultLanguage(string $value) : boolean
stringnew default language
booleantrue if $value has correct formatset_listAttributes(string $value, string $scope) : boolean
stringnew attribute string
stringaccount type
booleantrue if $value has correct formatset_moduleSettings(array $settings) : boolean
arraylist of module setting array(name => value)
booleantrue if $settings has correct formatset_scriptPath(string $value) : boolean
stringnew script path
booleantrue if $value has correct formatset_scriptRights(string $chmod) : boolean
stringthe rights
booleantrue if values has correct formatset_scriptServers(string $value) : boolean
stringnew script servers
booleantrue if $value has correct formatset_searchLimit(integer $value) : boolean
integernew search limit
booleantrue if $value has correct formatset_typeSettings(array $settings) : boolean
arraylist of type setting array(name => value)
booleantrue if $settings has correct formathashPassword(String $password, String $salt) : String
Stringpassword
Stringsalt
Stringhash valuereload() : boolean
booleantrue if file was readable$Admins
$Passwd
$ServerURL
ldap://127.0.0.1:389)
$accessLevel
$activeTypes
$cachetimeout
$defaultLanguage
$file
$httpAuthentication
$lamProMailFrom
$lamProMailIsHTML
$lamProMailReplyTo
$lamProMailSubject
$lamProMailText
$loginMethod
$loginSearchDN
$loginSearchFilter
$loginSearchPassword
$loginSearchSuffix
$moduleSettings
$scriptPath
This is used for managing quota and home directories. optional setting, may not be defined
$scriptRights
$scriptServer
This is used for managing quota and home directories. optional setting, may not be defined
$searchLimit
$settings
$toolSettings
$treesuffix
$typeSettings
$useTLS
ACCESS_ALL
ACCESS_PASSWORD_CHANGE
ACCESS_READ_ONLY
LINE_SEPARATOR
LOGIN_LIST
LOGIN_SEARCH
SAVE_FAIL
SAVE_OK