dolibarr 21.0.0-beta
|
Set of function for the agenda module. More...
Go to the source code of this file.
Functions | |
print_actions_filter ( $form, $canedit, $status, $year, $month, $day, $showbirthday, $filtera, $filtert, $filtered, $pid, $socid, $action, $showextcals=array(), $actioncode='', $usergroupid=0, $excludetype='', $resourceid=0, $search_categ_cus=0) | |
Show filter form in agenda view. | |
show_array_actions_to_do ($max=5) | |
Show actions to do array. | |
show_array_last_actions_done ($max=5) | |
Show last actions array. | |
agenda_prepare_head () | |
Prepare array with list of tabs. | |
actions_prepare_head ($object) | |
Prepare array with list of tabs. | |
calendars_prepare_head ($param) | |
Define head array for tabs of agenda setup pages. | |
Set of function for the agenda module.
Definition in file agenda.lib.php.
actions_prepare_head | ( | $object | ) |
Prepare array with list of tabs.
object | $object | Object related to tabs |
Definition at line 456 of file agenda.lib.php.
References $conf, $object, complete_head_from_modules(), Link\count(), dol_dir_list(), and getDolGlobalString().
agenda_prepare_head | ( | ) |
Prepare array with list of tabs.
Definition at line 398 of file agenda.lib.php.
References $conf, and complete_head_from_modules().
calendars_prepare_head | ( | $param | ) |
Define head array for tabs of agenda setup pages.
string | $param | Parameters to add to url |
Definition at line 517 of file agenda.lib.php.
References $conf, complete_head_from_modules(), and getDolGlobalString().
print_actions_filter | ( | $form, | |
$canedit, | |||
$status, | |||
$year, | |||
$month, | |||
$day, | |||
$showbirthday, | |||
$filtera, | |||
$filtert, | |||
$filtered, | |||
$pid, | |||
$socid, | |||
$action, | |||
$showextcals = array(), | |||
$actioncode = '', | |||
$usergroupid = 0, | |||
$excludetype = '', | |||
$resourceid = 0, | |||
$search_categ_cus = 0 ) |
Show filter form in agenda view.
Form | $form | Form object |
int | $canedit | Can edit filter fields |
int | $status | Status |
int | $year | Year |
int | $month | Month |
int | $day | Day |
int | $showbirthday | Show birthday |
string | $filtera | Filter on create by user |
string | $filtert | Filter on assigned to user |
string | $filtered | Filter of done by user |
int | $pid | Product id |
int | $socid | Third party id |
string | $action | Action string |
array<array{type:string,sr:string,name:string,offsettz:int,color:string,default:string,buggedfile:string}>|int<-1,-1> | $showextcals Array with list of external calendars (used to show links to select calendar), or -1 to show no legend | |
string | string[] | $actioncode | Preselected value(s) of actioncode for filter on event type |
int | $usergroupid | Id of group to filter on users |
string | $excludetype | A type to exclude ('systemauto', 'system', '') |
int | $resourceid | Preselected value of resource for filter on resource |
int | $search_categ_cus | Tag id |
Definition at line 53 of file agenda.lib.php.
References $object, getDolGlobalString(), and img_picto().
show_array_actions_to_do | ( | $max = 5 | ) |
Show actions to do array.
int | $max | Max nb of records |
Definition at line 180 of file agenda.lib.php.
References $conf, dol_now(), dol_print_error(), and img_warning().
show_array_last_actions_done | ( | $max = 5 | ) |
Show last actions array.
int | $max | Max nb of records |
Definition at line 300 of file agenda.lib.php.
References $conf, dol_now(), and dol_print_error().