dolibarr 19.0.3
expensereport.lib.php File Reference

Functions for module expensereport. More...

Go to the source code of this file.

Functions

 expensereport_prepare_head ($object)
 Prepare array with list of tabs.
 
 payment_expensereport_prepare_head (PaymentExpenseReport $object)
 Returns an array with the tabs for the "Expense report payment" section It loads tabs from modules looking for the entity payment.
 
 expensereport_admin_prepare_head ()
 Return array head with list of tabs to view object informations.
 

Detailed Description

Functions for module expensereport.

Definition in file expensereport.lib.php.

Function Documentation

◆ expensereport_admin_prepare_head()

expensereport_admin_prepare_head ( )

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

Returns
array head array with tabs

Definition at line 131 of file expensereport.lib.php.

References complete_head_from_modules(), and getDolGlobalString().

◆ expensereport_prepare_head()

expensereport_prepare_head ( $object)

Prepare array with list of tabs.

Parameters
Object$objectObject related to tabs
Returns
array Array of tabs to show

Definition at line 31 of file expensereport.lib.php.

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

◆ payment_expensereport_prepare_head()

payment_expensereport_prepare_head ( PaymentExpenseReport $object)

Returns an array with the tabs for the "Expense report payment" section It loads tabs from modules looking for the entity payment.

Parameters
PaymentExpenseReport$objectCurrent payment object
Returns
array Tabs for the payment section

Definition at line 98 of file expensereport.lib.php.

References complete_head_from_modules().