dolibarr 21.0.0-alpha
resource.lib.php File Reference

This file is library for resource module. More...

Go to the source code of this file.

Functions

 resource_prepare_head ($object)
 Prepare head for tabs.
 
 resource_admin_prepare_head ()
 Prepare head for admin tabs.
 

Detailed Description

This file is library for resource module.

Definition in file resource.lib.php.

Function Documentation

◆ resource_admin_prepare_head()

resource_admin_prepare_head ( )

Prepare head for admin tabs.

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

Definition at line 116 of file resource.lib.php.

References complete_head_from_modules().

◆ resource_prepare_head()

resource_prepare_head ( $object)

Prepare head for tabs.

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

Definition at line 34 of file resource.lib.php.

References $object, complete_head_from_modules(), dol_buildpath(), dol_dir_list(), dol_sanitizeFileName(), and getDolGlobalString().