dolibarr 21.0.0-alpha
holiday.lib.php File Reference

base functions for holiday More...

Go to the source code of this file.

Functions

 holiday_prepare_head ($object)
 Return array head with list of tabs to view object information.
 
 holiday_admin_prepare_head ()
 Return array head with list of tabs to view object information.
 

Detailed Description

base functions for holiday

Definition in file holiday.lib.php.

Function Documentation

◆ holiday_admin_prepare_head()

holiday_admin_prepare_head ( )

Return array head with list of tabs to view object information.

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

Definition at line 82 of file holiday.lib.php.

References complete_head_from_modules().

◆ holiday_prepare_head()

holiday_prepare_head ( $object)

Return array head with list of tabs to view object information.

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

Definition at line 32 of file holiday.lib.php.

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