mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-04 13:10:33 +01:00
new param 'max_quantity' for the calendar_resources hook and some docu
This commit is contained in:
parent
c7c6404500
commit
4ac2c3ef0e
@ -95,10 +95,11 @@ class resources_hooks
|
|||||||
function calendar_resources($args)
|
function calendar_resources($args)
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'select_template' => 'resources.resource_selectbox',
|
'widget' => 'resources_select', // widget to use for the selection of resources
|
||||||
'info' => 'resources.bo_resources.get_calendar_info',
|
'info' => 'resources.bo_resources.get_calendar_info', // info method, returns array with id, type & name for a given id
|
||||||
'new_status' => 'resources.bo_resources.get_calendar_new_status',
|
'max_quantity' => 'useable', // if set, key for max. quantity in array returned by info method
|
||||||
'type' => 'r',
|
'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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user