You are here

function calendar_args in Calendar 5

Same name and namespace in other branches
  1. 5.2 calendar.module \calendar_args()

Valid calendar arguments.

4 calls to calendar_args()
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_views_query_alter in ./calendar.module
Implementation of hook_views_query() Insert filters into the query based on the current calendar view and the selected fields Used when the actual view arguments don't provide enough info to construct the query. i.e. on a view with no arguments…
_calendar_info in ./calendar_admin.inc
Function to get information about all views that have calendar components.
_calendar_views_validate in ./calendar_admin.inc
Validate a view.

File

./calendar.module, line 1184
Adds calendar filtering and displays to Views.

Code

function calendar_args() {
  return array(
    'calendar_year',
    'calendar_week',
    'calendar_month',
    'calendar_day',
  );
}