function calendar_args in Calendar 5.2
Same name and namespace in other branches
- 5 calendar.module \calendar_args()
Valid calendar arguments.
5 calls to calendar_args()
- calendar_get_url in ./
calendar.module - An alternative to views_get_url() that will correctly substitute replacement values like $group or $node.
- calendar_is_last_arg in ./
calendar.module - Identify the final calendar argument in this view. Needed because we can't construct a query until we know all the calendar elements. Used to tell when to add the filter to the query object.
- _calendar_info in ./
calendar_admin.inc - Function to get information about all views that have calendar components.
- _calendar_views_query_alter in ./
calendar.inc - @file All the code used while processing a calendar is stored in this file and is included only when needed.
- _calendar_views_validate in ./
calendar_admin.inc - Validate a view.
File
- ./
calendar.module, line 512 - Adds calendar filtering and displays to Views.
Code
function calendar_args() {
return array(
'calendar_year',
'calendar_week',
'calendar_month',
'calendar_day',
);
}