From 02da6e5ab5171ed9c30234928ca3d2d60b988e28 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 3 Nov 2007 13:47:59 +0000 Subject: [PATCH] PhpDoc fixes --- lam/lib/modules/account.inc | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lam/lib/modules/account.inc b/lam/lib/modules/account.inc index 7c95f9dd..f8978bc5 100644 --- a/lam/lib/modules/account.inc +++ b/lam/lib/modules/account.inc @@ -161,13 +161,16 @@ class account extends baseModule { return "enabled"; } - /* This function returns an array with 4 entries: - * array( DN1 ('add' => array($attr), 'remove' => array($attr), 'modify' => array($attr), 'lamdaemon' => array(cmds)), DN2 .... ) - * DN is the DN to change. It may be 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 ldap entry - * remove are attributes which have to be removed from ldap entry - * lamdaemon are lamdaemon commands to modify homedir, quotas, ... + /** + * Returns a list of modifications which have to be made to the LDAP account. + * + * @return array list of modifications + *
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 may be 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 LDAP entry + *
"remove" are attributes which have to be removed from LDAP entry + *
"modify" are attributes which have to been modified in LDAP entry */ function save_attributes() { // skip saving if account is based on another structural object class @@ -200,9 +203,8 @@ class account extends baseModule { return $errors; } - /* This function will create the html-page - * to show a page with all attributes. - * It will output a complete html-table + /** + * This function will create the meta HTML code to show a page with all attributes. */ function display_html_attributes() { // user name if no posixAccount