dolibarr 21.0.0-beta
variants.lib.php File Reference

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

Go to the source code of this file.

Functions

 productAttributePrepareHead ($object)
 Prepare array with list of tabs.
 
 adminProductAttributePrepareHead ()
 Prepare array with list of tabs.
 

Detailed Description

Library files with common functions for Variants.

Definition in file variants.lib.php.

Function Documentation

◆ adminProductAttributePrepareHead()

adminProductAttributePrepareHead ( )

Prepare array with list of tabs.

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

Definition at line 62 of file variants.lib.php.

References $conf, and complete_head_from_modules().

◆ productAttributePrepareHead()

productAttributePrepareHead ( $object)

Prepare array with list of tabs.

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

Definition at line 33 of file variants.lib.php.

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