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 116]
array checkSelfServiceOptions(
string $scope, string $fields, array $attributes)
|
|
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 |
checkSelfServiceSettings [line 238]
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 95]
array getSelfServiceOptions(
string $scope, array $fields, array $attributes)
|
|
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) |
getSelfServiceProfiles [line 137]
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 221]
array getSelfServiceSettings(
string $scope)
|
|
Returns a hash array (module name => elements) of all module options for the configuration page.
Tags:
Parameters
string |
$scope |
account type |
isLAMProVersion [line 43]
boolean isLAMProVersion(
)
|
|
Returns if this is a LAM Pro installation.
Tags:
loadSelfServiceProfile [line 161]
Loads all settings of a self service profile.
Tags:
Parameters
string |
$name |
profile name |
string |
$scope |
account type |
saveSelfServiceProfile [line 194]
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 |
|