dolibarr 21.0.0-alpha
stock.lib.php File Reference

Library file with function for stock module. More...

Go to the source code of this file.

Functions

 stock_prepare_head ($object)
 Prepare array with list of tabs.
 
 stock_admin_prepare_head ()
 Return array head with list of tabs to view object information.
 

Detailed Description

Library file with function for stock module.

Definition in file stock.lib.php.

Function Documentation

◆ stock_admin_prepare_head()

stock_admin_prepare_head ( )

Return array head with list of tabs to view object information.

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

Definition at line 92 of file stock.lib.php.

References complete_head_from_modules().

◆ stock_prepare_head()

stock_prepare_head ( $object)

Prepare array with list of tabs.

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

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

References $object, and complete_head_from_modules().