dolibarr  19.0.0-dev
Functions
usergroups.lib.php File Reference

Set of function to manage users, groups and permissions. More...

Go to the source code of this file.

Functions

 user_prepare_head (User $object)
 Prepare array with list of tabs. More...
 
 group_prepare_head ($object)
 Prepare array with list of tabs. More...
 
 user_admin_prepare_head ()
 Prepare array with list of tabs. More...
 
 showSkins ($fuser, $edit=0, $foruserprofile=false)
 Show list of themes. More...
 

Detailed Description

Set of function to manage users, groups and permissions.

Definition in file usergroups.lib.php.

Function Documentation

◆ group_prepare_head()

group_prepare_head (   $object)

Prepare array with list of tabs.

Parameters
UserGroup$objectObject group
Returns
array Array of tabs

Definition at line 205 of file usergroups.lib.php.

◆ showSkins()

showSkins (   $fuser,
  $edit = 0,
  $foruserprofile = false 
)

Show list of themes.

Show all thumbs of themes

Parameters
User | null$fuserUser concerned or null for global theme
int$edit1 to add edit form
boolean$foruserprofileShow for user profile view
Returns
void

Definition at line 313 of file usergroups.lib.php.

◆ user_admin_prepare_head()

user_admin_prepare_head ( )

Prepare array with list of tabs.

Returns
array Array of tabs to show

Definition at line 254 of file usergroups.lib.php.

◆ user_prepare_head()

user_prepare_head ( User  $object)

Prepare array with list of tabs.

Parameters
User$objectObject related to tabs
Returns
array Array of tabs to show

Definition at line 35 of file usergroups.lib.php.