function date_repeat_freq_options in Date 8
Same name and namespace in other branches
- 7.3 date_repeat/date_repeat.module \date_repeat_freq_options()
- 7.2 date_repeat/date_repeat.module \date_repeat_freq_options()
Helper function for FREQ options.
1 call to date_repeat_freq_options()
- _date_repeat_rrule_process in date_repeat/
date_repeat_form.inc - Generate the repeat setting form.
File
- date_repeat/
date_repeat.module, line 54 - 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_freq_options() {
return array(
'DAILY' => t('Daily', array(), array(
'context' => 'datetime_singular',
)),
'WEEKLY' => t('Weekly', array(), array(
'context' => 'datetime_singular',
)),
'MONTHLY' => t('Monthly', array(), array(
'context' => 'datetime_singular',
)),
'YEARLY' => t('Yearly', array(), array(
'context' => 'datetime_singular',
)),
);
}