mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
hoks for calendar ui
This commit is contained in:
parent
d4cd2ab6e6
commit
078a60bced
@ -107,11 +107,13 @@ class resources_hooks
|
||||
function calendar_resources($args)
|
||||
{
|
||||
return array(
|
||||
'widget' => 'resources_select', // widget to use for the selection of resources
|
||||
'info' => 'resources.bo_resources.get_calendar_info', // info method, returns array with id, type & name for a given id
|
||||
'max_quantity' => 'useable', // if set, key for max. quantity in array returned by info method
|
||||
'new_status' => 'resources.bo_resources.get_calendar_new_status', // method returning the status for new items, else 'U' is used
|
||||
'type' => 'r', // one char type-identifiy for this resources
|
||||
'widget' => 'resources_select',// widget to use for the selection of resources
|
||||
'info' => 'resources.bo_resources.get_calendar_info',// info method, returns array with id, type & name for a given id
|
||||
'max_quantity' => 'useable',// if set, key for max. quantity in array returned by info method
|
||||
'new_status' => 'resources.bo_resources.get_calendar_new_status',// method returning the status for new items, else 'U' is used
|
||||
'type' => 'r',// one char type-identifiy for this resources
|
||||
'icon' => 'calicon',//icon
|
||||
'participants_header' => lang('resources'), // header of participants from this type
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user