dolibarr 20.0.0
asset.lib.php File Reference

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

Go to the source code of this file.

Functions

 assetAdminPrepareHead ()
 Prepare admin pages header.
 
 assetPrepareHead (Asset $object)
 Prepare array of tabs for Asset.
 
 assetModelPrepareHead ($object)
 Prepare array of tabs for AssetModel.
 

Detailed Description

Library files with common functions for Assets.

Definition in file asset.lib.php.

Function Documentation

◆ assetAdminPrepareHead()

assetAdminPrepareHead ( )

Prepare admin pages header.

Returns
array head array with tabs

Definition at line 30 of file asset.lib.php.

References complete_head_from_modules().

◆ assetModelPrepareHead()

assetModelPrepareHead ( $object)

Prepare array of tabs for AssetModel.

Parameters
AssetModel$objectAssetModel
Returns
array Array of tabs

Definition at line 183 of file asset.lib.php.

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

◆ assetPrepareHead()

assetPrepareHead ( Asset $object)

Prepare array of tabs for Asset.

Parameters
Asset$objectAsset
Returns
array Array of tabs

Definition at line 87 of file asset.lib.php.

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