__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)
string
account type
string
key in $_SESSION where this object is saved
__sleep() : array
array
list of attributes which are serialized__wakeup()
continue_main()
It prints the HTML code of each account page.
fixLDAPAttributes(array $attributes, array $modules) : array
array
LDAP attributes
array
list of active modules
array
fixed attributesgetAccountModules() : array
array
modulesgetParentDN(String $dn) : String
String
DN
String
DNgetRDN(String $dn) : String
String
DN
String
RDNget_pdfEntries() : \list
\list
of PDF entries (array(get_type() : string
user, group, host).
string
account typeload_account(string $dn, array $infoAttributes) : array
string
the DN of the account
array
list 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.".
array
error messagesnew_account()
save_account() : array
array
list of status messagessave_module_attributes(array $attributes, array $orig) : array
array
list of current LDAP attributes
array
list of old attributes when account was loaded
array
an array which can be passed to $this->saveAccount()setNewPassword(array $input)
array
input parameters
sortModules()
getOUs() : array
array
OU listloadProfileIfRequested() : boolean
boolean
true, if profile was loadedprintCommonControls(int $tabindex)
int
tabindex for GUI elements
printModuleContent(array $result, boolean $stopProcessing)
array
list of messages
boolean
true if page should end after displaying the messages
printModuleTabs()
printPageHeader()
printPasswordPromt()
printSuccessPage(array $messages)
array
array which contains status messages. Each entry is an array containing the status message parameters.
showSetPasswordButton() : boolean
boolean
show 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.