dolibarr 21.0.0-alpha
categories.lib.php File Reference

Ensemble de functions de base pour le module categorie. More...

Go to the source code of this file.

Functions

 categories_prepare_head (Categorie $object, $type)
 Prepare array with list of tabs.
 
 categoriesadmin_prepare_head ()
 Prepare array with list of tabs.
 

Detailed Description

Ensemble de functions de base pour le module categorie.

Definition in file categories.lib.php.

Function Documentation

◆ categories_prepare_head()

categories_prepare_head ( Categorie $object,
$type )

Prepare array with list of tabs.

Parameters
Categorie$objectObject related to tabs
string$typeType of category
Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 34 of file categories.lib.php.

References $object, complete_head_from_modules(), and getDolGlobalInt().

◆ categoriesadmin_prepare_head()

categoriesadmin_prepare_head ( )

Prepare array with list of tabs.

Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 87 of file categories.lib.php.

References complete_head_from_modules().