__construct()
__sleep()
__wakeup()
continue_main()
fixLDAPAttributes()
getAccountModule()
getAccountModules()
getParentDN()
getRDN()
get_pdfEntries()
get_type()
load_account()
new_account()
save_account()
save_module_attributes()
setNewPassword()
sortModules()
getOUs()
loadProfileIfRequested()
printCommonControls()
printModuleContent()
printModuleTabs()
printPageFooter()
printPageHeader()
printPasswordPromt()
printSuccessPage()
showSetPasswordButton()
$attributes
$attributes_orig
$dnSuffix
$dn_orig
$finalDN
$isNewAccount
$rdn
$base
$cachedOUs
$current_page
$lastLoadedProfile
$module
$order
$sendPasswordViaMail
$sendPasswordViaMailAlternateAddress
$subpage
$titleBarSubtitle
$titleBarTitle
$type
This class includes all modules and attributes of an account.
| package | modules |
|---|
__construct(string $type, string $base)
stringaccount type
stringkey in $_SESSION where this object is saved
__sleep() : array
arraylist of attributes which are serialized__wakeup()
continue_main()
It prints the HTML code of each account page.
fixLDAPAttributes(array $attributes, array $modules) : array
arrayLDAP attributes
arraylist of active modules
arrayfixed attributesgetAccountModules() : array
arraymodulesgetParentDN(String $dn) : String
StringDN
StringDNgetRDN(String $dn) : String
StringDN
StringRDNget_pdfEntries() : \list
\listof PDF entries (array(get_type() : string
user, group, host).
stringaccount typeload_account(string $dn, array $infoAttributes) : array
stringthe DN of the account
arraylist of additional informational attributes that are added to the LDAP attributes E.g. this is used to inject the clear text password in the file upload. Informational attribute names must start with "INFO.".
arrayerror messagesnew_account()
save_account() : array
arraylist of status messagessave_module_attributes(array $attributes, array $orig) : array
arraylist of current LDAP attributes
arraylist of old attributes when account was loaded
arrayan array which can be passed to $this->saveAccount()setNewPassword(array $input)
arrayinput parameters
sortModules()
getOUs() : array
arrayOU listloadProfileIfRequested() : boolean
booleantrue, if profile was loadedprintCommonControls(int $tabindex)
inttabindex for GUI elements
printModuleContent(array $result, boolean $stopProcessing)
arraylist of messages
booleantrue if page should end after displaying the messages
printModuleTabs()
printPageHeader()
printPasswordPromt()
printSuccessPage(array $messages)
arrayarray which contains status messages. Each entry is an array containing the status message parameters.
showSetPasswordButton() : boolean
booleanshow or hide button$attributes
..)
$attributes_orig
$dnSuffix
$dn_orig
$finalDN
$isNewAccount
$rdn
$base
$cachedOUs
$current_page
$lastLoadedProfile
$module
$order
$sendPasswordViaMail
$sendPasswordViaMailAlternateAddress
$subpage
$titleBarSubtitle
$titleBarTitle
$type
Currently "user", "group" and "host" are supported.