dolibarr 21.0.0-alpha
bom.lib.php File Reference

Library files with common functions for BillOfMaterials. More...

Go to the source code of this file.

Functions

 bomAdminPrepareHead ()
 Prepare admin pages header.
 
 bomPrepareHead ($object)
 Prepare array of tabs for BillOfMaterials.
 
 mrpCollapseBomManagement ()
 Manage collapse bom display.
 

Detailed Description

Library files with common functions for BillOfMaterials.

Definition in file bom.lib.php.

Function Documentation

◆ bomAdminPrepareHead()

bomAdminPrepareHead ( )

Prepare admin pages header.

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

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

References complete_head_from_modules().

◆ bomPrepareHead()

bomPrepareHead ( $object)

Prepare array of tabs for BillOfMaterials.

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

Definition at line 79 of file bom.lib.php.

References $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_sanitizeFileName(), and getDolGlobalString().

◆ mrpCollapseBomManagement()

mrpCollapseBomManagement ( )

Manage collapse bom display.

Returns
void

Definition at line 153 of file bom.lib.php.

References type.