function date_repeat_dow_count_options in Date 6
Same name and namespace in other branches
- 8 date_repeat/date_repeat.module \date_repeat_dow_count_options()
- 5.2 date_repeat/date_repeat.module \date_repeat_dow_count_options()
- 6.2 date_repeat/date_repeat.module \date_repeat_dow_count_options()
- 7.3 date_repeat/date_repeat.module \date_repeat_dow_count_options()
- 7 date_repeat/date_repeat.module \date_repeat_dow_count_options()
- 7.2 date_repeat/date_repeat.module \date_repeat_dow_count_options()
Helper function for BYDAY options.
2 calls to date_repeat_dow_count_options()
- date_repeat_dow_options in date_repeat/
date_repeat.module - Helper function for BYDAY options.
- date_repeat_rrule_description in date_repeat/
date_repeat.module - Build a description of an iCal rule.
File
- date_repeat/
date_repeat.module, line 92 - 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_dow_count_options() {
return array(
'' => t('Every'),
'1' => t('First'),
'2' => t('Second'),
'3' => t('Third'),
'4' => t('Fourth'),
'5' => t('Fifth'),
'-1' => t('Last'),
'-2' => t('Next to last'),
'-3' => t('Second from last'),
'-4' => t('Third from last'),
'-5' => t('Fourth from last'),
);
}