You are here

function _timefield_weekly_summary_days in Timefield 7

Same name and namespace in other branches
  1. 1.0.x timefield.module \_timefield_weekly_summary_days()

Helper function days array

9 calls to _timefield_weekly_summary_days()
template_preprocess_timefield in ./timefield.module
Preprocess function for the timefield.
TimefieldHandlerFieldTimefield::add_self_tokens in views/timefield_handler_field_timefield.inc
Add any special tokens this field might use for itself.
timefield_field_formatter_settings_form in ./timefield.module
Implements hook_field_formatter_settings_form().
timefield_field_views_data_views_data_alter in views/timefield.views.inc
Implements hook_field_views_data_views_data_alter().
timefield_field_widget_form in ./timefield.module
Implements hook_field_widget_form().

... See full list

File

./timefield.module, line 1236
Defines a Field API field for time

Code

function _timefield_weekly_summary_days() {
  $days = array(
    'mon' => t('Monday'),
    'tue' => t('Tuesday'),
    'wed' => t('Wednesday'),
    'thu' => t('Thursday'),
    'fri' => t('Friday'),
    'sat' => t('Saturday'),
    'sun' => t('Sunday'),
  );
  return $days;
}