[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/date/date_repeat/ -> date_repeat.module (summary)

(no description)

File Size: 306 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 15 functions

  date_repeat_elements()
  date_repeat_menu()
  date_repeat_theme()
  FREQ_options()
  INTERVAL_options()
  date_repeat_dow_day_options()
  date_repeat_dow_day_options_ordered()
  date_repeat_dow_count_options()
  date_repeat_dow_options()
  date_repeat_dow2day()
  date_repeat_days_ordered()
  date_repeat_rrule_description()
  date_repeat_split_rrule()
  date_repeat_calc()
  date_repeat_rrule_process()

Functions
Functions that are not part of a class:

date_repeat_elements()   X-Ref
Implementation of hook_elements().


date_repeat_menu()   X-Ref
Implementation of hook_menu.


date_repeat_theme()   X-Ref
No description

FREQ_options()   X-Ref
Helper function for FREQ options.


INTERVAL_options()   X-Ref
No description

date_repeat_dow_day_options($translated = TRUE)   X-Ref
Helper function for FREQ options.

Translated and untranslated arrays of the iCal day of week names.
We need the untranslated values for date_modify(), translated
values when displayed to user.

date_repeat_dow_day_options_ordered($week_start)   X-Ref
No description

date_repeat_dow_count_options()   X-Ref
Helper function for BYDAY options.


date_repeat_dow_options()   X-Ref
Helper function for BYDAY options.

Creates options like -1SU and 2TU

date_repeat_dow2day($dow)   X-Ref
Translate a day of week position to the iCal day name.

Used with date_format($date, 'w') or get_variable('date_first_day'),
which return 0 for Sunday, 1 for Monday, etc.

dow 2 becomes 'TU', dow 3 becomes 'WE', and so on.

date_repeat_days_ordered($week_start_day)   X-Ref
Shift the array of iCal day names into the right order
for a specific week start day.


date_repeat_rrule_description($rrule, $format = 'D M d Y')   X-Ref
Build a description of an iCal rule.

Constructs a human-readable description of the rule.

date_repeat_split_rrule($rrule)   X-Ref
Parse an iCal rule into a parsed RRULE array and an EXDATE array.


date_repeat_calc($rrule, $start, $end, $exceptions = array()   X-Ref
Analyze a RRULE and return dates that match it.


date_repeat_rrule_process($element, $edit, $form_state, $form)   X-Ref
Generate the repeat rule setting form.




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7