dolibarr 21.0.0-beta
inventory.lib.php File Reference

This file is an example module library. More...

Go to the source code of this file.

Functions

 inventoryAdminPrepareHead ()
 Define head array for tabs of inventory tools setup pages.
 
 inventoryPrepareHead (&$inventory, $title='Inventory', $get='')
 Define head array for tabs of inventory tools setup pages.
 

Detailed Description

This file is an example module library.

Definition in file inventory.lib.php.

Function Documentation

◆ inventoryAdminPrepareHead()

inventoryAdminPrepareHead ( )

Define head array for tabs of inventory tools setup pages.

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

Definition at line 31 of file inventory.lib.php.

References $conf, and complete_head_from_modules().

◆ inventoryPrepareHead()

inventoryPrepareHead ( & $inventory,
$title = 'Inventory',
$get = '' )

Define head array for tabs of inventory tools setup pages.

Parameters
Inventory$inventoryObject inventory
string$titleparameter
string$getparameter
Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 70 of file inventory.lib.php.

References $conf, complete_head_from_modules(), and dol_buildpath().