Procedural File: selfService.inc
Source Location: /lib/selfService.inc
Classes:
selfServiceProfile
Includes all settings of a self service profile.
Page Details:
Interface between modules and self service pages.
This file also includes the self service profile class and helper functions.
Tags:
Includes:
checkSelfServiceOptions [line 118]
array checkSelfServiceOptions(
string $scope, string $fields, array $attributes, boolean $passwordChangeOnly)
|
|
Checks if all input values are correct and returns the LDAP commands which should be executed.
Tags:
Parameters
string |
$scope |
account type |
string |
$fields |
input fields (array(<moduleName> => array(<field1>, <field2>, ...))) |
array |
$attributes |
LDAP attributes |
boolean |
$passwordChangeOnly |
indicates that the user is only allowed to change his password and no LDAP content is readable |
checkSelfServiceSettings [line 260]
array checkSelfServiceSettings(
string $scope, array $options)
|
|
Checks if the self service settings are valid
Tags:
Parameters
string |
$scope |
account type |
array |
$options |
hash array containing all options (name => array(...)) |
getSelfServiceFieldSettings [line 75]
array getSelfServiceFieldSettings(
string $scope)
|
|
Returns the field settings for the self service.
Tags:
Parameters
string |
$scope |
account type |
getSelfServiceOptions [line 96]
array getSelfServiceOptions(
string $scope, array $fields, array $attributes, boolean $passwordChangeOnly)
|
|
Returns meta HTML code for each self service field.
Tags:
Parameters
string |
$scope |
account type |
array |
$fields |
input fields (array(<moduleName> => array(<field1>, <field2>, ...))) |
array |
$attributes |
LDAP attributes (attribute names in lower case) |
boolean |
$passwordChangeOnly |
indicates that the user is only allowed to change his password and no LDAP content is readable |
getSelfServiceProfiles [line 140]
array getSelfServiceProfiles(
)
|
|
Returns a list of all available self service profiles (without .conf)
Tags:
getSelfServiceSearchAttributes [line 55]
array getSelfServiceSearchAttributes(
string $scope)
|
|
Returns a list of possible search attributes for the self service.
Tags:
Parameters
string |
$scope |
account type |
getSelfServiceSettings [line 243]
Returns a hash array (module name => elements) of all module options for the configuration page.
Tags:
Parameters
isLAMProVersion [line 43]
boolean isLAMProVersion(
)
|
|
Returns if this is a LAM Pro installation.
Tags:
isSelfServiceProfileWritable [line 228]
boolean isSelfServiceProfileWritable(
string $name, string $scope)
|
|
Checks if a service profile is writable.
Tags:
Parameters
string |
$name |
profile name |
string |
$scope |
account type |
loadSelfServiceProfile [line 167]
Loads all settings of a self service profile.
Tags:
Parameters
string |
$name |
profile name |
string |
$scope |
account type |
saveSelfServiceProfile [line 200]
Saves a self service profile. File is created, if needed
Tags:
Parameters
string |
$name |
name of the account profile |
string |
$scope |
account type |
selfServiceProfile |
$profile |
self service profile |
|