You are here

function FREQ_options in Date 5.2

Same name and namespace in other branches
  1. 6.2 date_repeat/date_repeat.module \FREQ_options()
  2. 6 date_repeat/date_repeat.module \FREQ_options()
  3. 7 date_repeat/date_repeat.module \FREQ_options()

Helper function for FREQ options.

1 call to 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 31
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 FREQ_options() {
  return array(
    'NONE' => t('-- Period'),
    'DAILY' => t('Day(s)'),
    'WEEKLY' => t('Week(s)'),
    'MONTHLY' => t('Month(s)'),
    'YEARLY' => t('Year(s)'),
  );
}