LDAP Account Manager

multiEdit.php

Table of Contents

ADD  = 'add'
DEL  = 'del'
MOD  = 'mod'
STAGE_ACTIONS_CALCULATED  = 'actionsCalculated'
STAGE_FINISHED  = 'finished'
STAGE_READ_FINISHED  = 'readFinished'
STAGE_START  = 'start'
STAGE_WRITING  = 'writing'
displayStartPage()  : void
Displays the main page of the multi edit tool.
runActions()  : void
Runs the dry run and change actions.
runAjaxActions()  : void
Performs the modify operations.
readLDAPData()  : array<string|int, mixed>
Reads the LDAP entries from the directory.
generateActions()  : array<string|int, mixed>
Generates the required actions based on the read LDAP data.
dryRun()  : array<string|int, mixed>
Prints the dryRun output.
multiEditLdapErrorHandler()  : void
Error handler
doModify()  : array<string|int, mixed>
Runs the actual modifications.
getMessageHTML()  : string
Returns the HTML code for a htmlStatusMessage

Constants

STAGE_ACTIONS_CALCULATED

public mixed STAGE_ACTIONS_CALCULATED = 'actionsCalculated'

STAGE_FINISHED

public mixed STAGE_FINISHED = 'finished'

STAGE_READ_FINISHED

public mixed STAGE_READ_FINISHED = 'readFinished'

STAGE_START

public mixed STAGE_START = 'start'

STAGE_WRITING

public mixed STAGE_WRITING = 'writing'

Functions

displayStartPage()

Displays the main page of the multi edit tool.

displayStartPage() : void
Return values
void

runAjaxActions()

Performs the modify operations.

runAjaxActions() : void
Return values
void

readLDAPData()

Reads the LDAP entries from the directory.

readLDAPData() : array<string|int, mixed>
Return values
array<string|int, mixed>

status

generateActions()

Generates the required actions based on the read LDAP data.

generateActions() : array<string|int, mixed>
Return values
array<string|int, mixed>

status

dryRun()

Prints the dryRun output.

dryRun() : array<string|int, mixed>
Return values
array<string|int, mixed>

status

multiEditLdapErrorHandler()

Error handler

multiEditLdapErrorHandler(int $errno, string $errstr, string $errfile, int $errline) : void
Parameters
$errno : int

error number

$errstr : string

error message

$errfile : string

error file

$errline : int

error line

Return values
void

doModify()

Runs the actual modifications.

doModify() : array<string|int, mixed>
Return values
array<string|int, mixed>

status

Search results