hoks for calendar ui

This commit is contained in:
Cornelius Weiß 2005-09-20 21:54:08 +00:00
parent d4cd2ab6e6
commit 078a60bced

View File

@ -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
);
}
}