Skip to content
Snippets Groups Projects
Commit 8248ab4f authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: doxygen

parent 750944d7
Branches
Tags
No related merge requests found
...@@ -2223,16 +2223,15 @@ class User extends CommonObject ...@@ -2223,16 +2223,15 @@ class User extends CommonObject
/** /**
* Reconstruit l'arborescence hierarchique des users sous la forme d'un tableau * Reconstruit l'arborescence hierarchique des users sous la forme d'un tableau
* Renvoi un tableau de tableau('id','id_parent',...) trie selon arbre et avec: * Set and return this->users that is an array sorted according to tree with arrays of:
* id = id du user * id = id user
* id_parent = id du user parent * lastname
* id_children = tableau des id enfant * firstname
* name = nom du user
* fullname = nom avec chemin complet du user * fullname = nom avec chemin complet du user
* fullpath = chemin complet compose des id * fullpath = chemin complet compose des id: "_grandparentid_parentid_id"
* *
* @param int $deleteafterid Removed all users including the leaf $deleteafterid (and all its child) in user tree. * @param int $deleteafterid Removed all users including the leaf $deleteafterid (and all its child) in user tree.
* @return array Array of users. this->users and this->parentof are set. * @return array Array of users $this->users. Note: $this->parentof is also set.
*/ */
function get_full_tree($deleteafterid=0) function get_full_tree($deleteafterid=0)
{ {
......
...@@ -62,7 +62,7 @@ print_fiche_titre($langs->trans("ListOfUsers"). ' ('.$langs->trans("HierarchicVi ...@@ -62,7 +62,7 @@ print_fiche_titre($langs->trans("ListOfUsers"). ' ('.$langs->trans("HierarchicVi
// Charge tableau des categories // Load hierarchy of users
$user_arbo = $userstatic->get_full_tree(); $user_arbo = $userstatic->get_full_tree();
// Define fulltree array // Define fulltree array
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment