dolibarr  20.0.0-alpha
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 236 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 344 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 285 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 37 of file usergroups.lib.php.