method array_sort [line 371]
void array_sort(
$array,
$on, [
$order = 'SORT_ASC'])
|
|
Parameters:
method build_uploadAccounts [line 837]
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 display_html_attributes [line 194]
This function will create the meta HTML code to show a page with all attributes.
Tags:
Overrides
baseModule::display_html_attributes() (This function creates meta HTML code to display the module page.)
method display_html_user [line 409]
Displays a list of possible owners of this extension.
Tags:
method generateNextExtensionName [line 745]
String generateNextExtensionName(
)
|
|
This function searches in the base subtree and finds all extensions names within.
The generation algorithm is the naive one, so only work when extension is numbers. All extension name is sorted and new extension name will be greates on + 1.
Tags:
method getDefaultExtensionOwner [line 647]
String getDefaultExtensionOwner(
)
|
|
Returns the default extension owner.
Tags:
method get_metaData [line 61]
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 780]
method isExtensionOwnerSet [line 529]
boolean isExtensionOwnerSet(
)
|
|
Returns true if at least one owner is set and false otherwise
Tags:
method isMoveToNewSuffix [line 514]
boolean isMoveToNewSuffix(
)
|
|
Returns if the extension was moved to another OU.
Tags:
method isThisExtensionPresented [line 724]
boolean isThisExtensionPresented(
$extension)
|
|
Search by extension name and retun true if fields with this extension name is presented and false otherwise.
Tags:
Parameters:
method load_extension_parts [line 249]
void load_extension_parts(
String
$extension)
|
|
Loads all related extension entries.
Parameters:
method load_Messages [line 176]
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 moveExtentionToNewSuffix [line 888]
array moveExtentionToNewSuffix(
$rowOrig)
|
|
Get list of all applications for given extension and move it into new suffix.
Tags:
Parameters:
method postDeleteActions [line 981]
array postDeleteActions(
)
|
|
Runs ufter main deltete procedure was done and do postmorten for other parts of extension wtith priority > 1.
Tags:
Overrides
baseModule::postDeleteActions() (Allows the module to run commands after the LDAP entry is deleted.)
method processExtensionRows [line 595]
array processExtensionRows(
String
$extensionName, String
$extensionContext)
|
|
Processes the rule data.
Tags:
Parameters:
method processPriorityChange [line 705]
void processPriorityChange(
)
|
|
Reorders the rules if the user clicked on a move button.
method processSingleExtension [line 664]
void processSingleExtension(
&$extRow, String
$extensionName, String
$extensionContext, int
$entryCounter, int
$extensionPriorityCntr, array
$extRow)
|
|
Fills the fileds of a single extension row.
In Asterisk it would only be an extension name,a priority,an application, but LDAP spicific add to processing context field.
Parameters:
method process_attributes [line 541]
array process_attributes(
)
|
|
Writes variables into object and does some regex checks.
Tags:
Overrides
baseModule::process_attributes() (This function processes user input.)
method process_user [line 481]
Processes user input of the user selection page.
It checks if all input values are correct and updates the associated LDAP attributes.
Tags:
method render_extension [line 352]
void render_extension(
array
$extensLine, int
$placeInList, htmlTable
$renderContainer)
|
|
Generates the meta HTML for a single rule.
Parameters:
method render_extensions_by_priority [line 272]
void render_extensions_by_priority(
String
$extension, htmlTable
$renderContainer)
|
|
Generates the meta HTML for the rules.
Parameters:
method render_exten_owners_set_controls [line 223]
void render_exten_owners_set_controls(
htmlTable
$renderContainer)
|
|
This function prints management elements to manipulate owners of an extension.
Parameters:
method save_attributes [line 922]
Returns a list of modifications which have to be made to the LDAP account.
Calling this method requires the existence of an enclosing accountContainer.
This function returns an array with 3 entries:
array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr)), DN2 .... )
DN is the DN to change. It is possible to change several DNs (e.g. create a new user and add him to some groups via attribute memberUid)
"add" are attributes which have to be added to the LDAP entry
"remove" are attributes which have to be removed from the LDAP entry
"modify" are attributes which have to be modified in the LDAP entry
"notchanged" are attributes which stay unchanged
"info" values with informational value (e.g. to be used later by pre/postModify actions)
This builds the required comands from $this-attributes and $this->orig.
Tags:
Overrides
baseModule::save_attributes() (Returns a list of modifications which have to be made to the LDAP account.)
method setDefaultExtensionOwner [line 636]
void setDefaultExtensionOwner(
)
|
|
Set extension owner as current logged in user.