function availability_calendar_get_cvid in Availability Calendars 7.4
Same name and namespace in other branches
- 7.5 availability_calendar.inc \availability_calendar_get_cvid()
Return value
int A unique identifier that can be used to identify calendar views.
2 calls to availability_calendar_get_cvid()
- availability_calendar_field_formatter_view in ./
availability_calendar.field.inc - Implements hook_field_formatter_view(). @link http://api.drupal.org/api/drupal/modules--field--field.api.php/function/...
- availability_calendar_field_widget_month_form in ./
availability_calendar.widget.inc - Defines the form elements to edit this field.
File
- ./
availability_calendar.inc, line 100
Code
function availability_calendar_get_cvid() {
static $calendar_view_count = 0;
return ++$calendar_view_count;
}