method build_uploadAccounts [line 1399]
array build_uploadAccounts(
array
$rawAccounts, array
$ids,
&$partialAccounts, array
$selectedModules, array
$partialAccounts)
|
|
In this function the LDAP account is built up.
Tags:
Overrides
baseModule::build_uploadAccounts() (In this function the LDAP accounts are built.)
Parameters:
method checkASCII [line 855]
string checkASCII(
string
$attribute)
|
|
Checks if an attribute contains only ASCII charaters and replaces invalid characters.
Tags:
Parameters:
method checkSelfServiceOptions [line 1891]
array checkSelfServiceOptions(
string
$fields, array
$attributes)
|
|
Checks if all input values are correct and returns the LDAP attributes which should be changed.
Return values:
messages: array of parameters to create status messages
add: array of attributes to add
del: array of attributes to remove
mod: array of attributes to modify
"info" are values with informational value (e.g. to be used later by pre/postModify actions)
Calling this method does not require the existence of an enclosing accountContainer.
Tags:
Overrides
baseModule::checkSelfServiceOptions() (Checks if all input values are correct and returns the LDAP attributes which should be changed.)
Parameters:
method check_configOptions [line 1339]
array check_configOptions(
array
$scopes, array
$options)
|
|
Checks input values of module settings.
Tags:
Overrides
baseModule::check_configOptions() (Checks input values of module settings.)
Parameters:
method delete_attributes [line 596]
List delete_attributes(
)
|
|
Additional LDAP operations on delete.
Tags:
Overrides
baseModule::delete_attributes() (This function returns an array with the same syntax as save_attributes().)
method display_html_attributes [line 964]
method display_html_delete [line 1096]
Displays the delete homedir option for the delete page.
Tags:
Overrides
baseModule::display_html_delete() (This function creates meta HTML code which will be displayed when an account should be deleted.)
method display_html_group [line 1110]
Displays the group selection.
Tags:
method display_html_homedir [line 1156]
Displays the delete homedir option for the homedir page.
Tags:
method doUploadPostActions [line 1651]
array doUploadPostActions(
&$data, array
$ids, array
$failed,
&$temp,
&$accounts, array
$data, array
$temp, array
$accounts)
|
|
This function executes one post upload action.
Tags:
Overrides
baseModule::doUploadPostActions() (This function is responsible to do additional tasks after the account has been created in LDAP (e.g. modifying group memberships, adding Quota etc..).)
Parameters:
method getNextUIDs [line 1790]
mixed getNextUIDs(
integer
$count,
&$errors, array
$errors)
|
|
Returns one or more free UID numbers.
Tags:
Parameters:
method getSelfServiceOptions [line 1852]
array getSelfServiceOptions(
array
$fields, array
$attributes)
|
|
Returns the meta HTML code for each input field.
format: array(<field1> => array(<META HTML>), ...) It is not possible to display help links.
Tags:
Overrides
baseModule::getSelfServiceOptions() (Returns the meta HTML code for each input field.)
Parameters:
method get_metaData [line 109]
Returns meta data that is interpreted by parent class
Tags:
Overrides
baseModule::get_metaData() (This function provides meta data which is interpreted by baseModule.)
method get_pdfEntries [line 1314]
method get_profileOptions [line 1225]
profile get_profileOptions(
)
|
|
Returns a list of elements for the account profiles.
Tags:
Overrides
baseModule::get_profileOptions() (This function defines what attributes will be used in the account profiles and their appearance in the profile editor.)
method init [line 423]
Initializes the module after it became part of an accountContainer
Overrides
baseModule::init() (Initializes the module after it became part of an
accountContainer)
Parameters:
method load_attributes [line 454]
void load_attributes(
array
$attr)
|
|
This function loads all needed LDAP attributes.
Overrides
baseModule::load_attributes() (This function loads the LDAP attributes when an account should be loaded.)
Parameters:
method load_Messages [line 60]
This function fills the error message array with messages.
Overrides
baseModule::load_Messages() (This function fills the $messages variable with output messages from this module.)
method load_profile [line 1277]
void load_profile(
array
$profile)
|
|
Loads the values of an account profile into internal variables.
Overrides
baseModule::load_profile() (This function loads the values from an account profile to the module's internal data structures.)
Parameters:
method managesPasswordAttributes [line 1941]
boolean managesPasswordAttributes(
)
|
|
This method specifies if a module manages password attributes.
Tags:
Implementation of:
- passwordService::managesPasswordAttributes()
- This method specifies if a module manages password attributes. The module alias will then appear as option in the GUI.
method module_complete [line 440]
boolean module_complete(
)
|
|
This functions is used to check if all settings for this module have been made.
Tags:
Overrides
baseModule::module_complete() (This function is used to check if all settings for this module have been made.)
method passwordChangeRequested [line 1955]
array passwordChangeRequested(
String
$password, $modules
$modules)
|
|
This function is called whenever the password should be changed. Account modules must change their password attributes only if the modules list contains their module name.
Tags:
Implementation of:
- passwordService::passwordChangeRequested()
- This function is called whenever the password should be changed. Account modules must change their password attributes only if the modules list contains their module name.
Parameters:
method postModifyActions [line 548]
void postModifyActions(
boolean
$newAccount, array
$attributes)
|
|
Tags:
Overrides
baseModule::postModifyActions() (Allows the module to run commands after the LDAP entry is changed or created.)
Parameters:
method preDeleteActions [line 611]
array preDeleteActions(
)
|
|
Allows the module to run commands before the LDAP entry is deleted.
Tags:
Overrides
baseModule::preDeleteActions() (Allows the module to run commands before the LDAP entry is deleted.)
method process_attributes [line 656]
array process_attributes(
)
|
|
Processes user input of the primary module page.
It checks if all input values are correct and updates the associated LDAP attributes.
Tags:
Overrides
baseModule::process_attributes() (This function processes user input.)
method process_group [line 880]
Processes user input of the group selection page.
It checks if all input values are correct and updates the associated LDAP attributes.
Tags:
method process_homedir [line 897]
Processes user input of the homedir check page.
It checks if all input values are correct and updates the associated LDAP attributes.
Tags:
method save_attributes [line 477]
Returns a list of modifications which have to be made to the LDAP account.
Tags:
Overrides
baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)