34 $langs->load(
"inventory");
39 $head[$h][0] = DOL_URL_ROOT.
"/admin/inventory.php";
40 $head[$h][1] = $langs->trans(
"Parameters");
41 $head[$h][2] =
'settings';
72 array(
dol_buildpath(
'/product/inventory/card.php?id='.$inventory->id.$get, 1), $langs->trans(
'Card'),
'card'),
73 array(
dol_buildpath(
'/product/inventory/inventory.php?id='.$inventory->id.$get, 1), $langs->trans(
'Inventory'),
'inventory')
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
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.
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode= 'add')
Complete or removed entries into a head array (used to build tabs).