function calendar_plugin_style::date_argument_handler in Calendar 7.3
Helper function to find the date argument handler for this view.
2 calls to calendar_plugin_style::date_argument_handler()
- calendar_plugin_style::granularity in includes/
calendar_plugin_style.inc - Inspect argument and view information to see which calendar period we should show. The argument tells us what to use if there is no value, the view args tell us what to use if there are values.
- calendar_plugin_style::render in includes/
calendar_plugin_style.inc - Render the display in this style.
File
- includes/
calendar_plugin_style.inc, line 185 - Views style plugin for the Calendar module.
Class
- calendar_plugin_style
- Default style plugin to render an iCal feed.
Code
function date_argument_handler() {
$i = 0;
foreach ($this->view->argument as $name => $handler) {
if (date_views_handler_is_date($handler, 'argument')) {
$this->date_info->date_arg_pos = $i;
return $handler;
}
$i++;
}
return FALSE;
}