function date_repeat_interval_options in Date 8
Same name and namespace in other branches
- 7.3 date_repeat/date_repeat.module \date_repeat_interval_options()
- 7.2 date_repeat/date_repeat.module \date_repeat_interval_options()
2 calls to date_repeat_interval_options()
- date_repeat_field_date_field_insert in date_repeat_field/
date_repeat_field.devel_generate.inc - Implements hook_date_field_insert().
- date_repeat_rrule_description in date_repeat/
date_repeat.module - Build a description of an iCal rule.
File
- date_repeat/
date_repeat.module, line 63 - This module creates a form element that allows users to select repeat rules for a date, and reworks the result into an iCal RRULE string that can be stored in the database.
Code
function date_repeat_interval_options() {
$options = range(0, 366);
unset($options[0]);
return $options;
}