File/plugins/calendar/functions.php

Description

Other calendar plugin functions.

  • version: $Id: functions.php 297 2007-02-18 10:50:53Z tokul $
  • copyright: © 2002-2006 The SquirrelMail Project Team
  • copyright: © 2006-2007 The NaSMail Project
  • license: GNU Public License
Functions
calendar_display_hour (line 389)
  • return: time string
string calendar_display_hour (integer $timestamp)
  • integer $timestamp
calendar_display_priority (line 404)
  • return: human readable priority string
string calendar_display_priority (integer $priority)
  • integer $priority: 1 - high, 0 (default) - normal
calendar_display_time (line 374)
  • return: time string
string calendar_display_time (integer $timestamp)
  • integer $timestamp
calendar_getHourString (line 172)
void calendar_getHourString ( $iHour, [ $iMinutes = 0])
  • $iHour
  • $iMinutes
calendar_getShortDayName (line 316)
string calendar_getShortDayName (integer $daynum)
  • integer $daynum
calendar_header (line 69)

Adds second layer of calendar links to upper menu

void calendar_header ()
calendar_loading_prefs_do (line 51)
void calendar_loading_prefs_do ()
calendar_optpage_register_block_do (line 35)
void calendar_optpage_register_block_do ()
calendar_optpage_set_loadinfo_do (line 16)
void calendar_optpage_set_loadinfo_do ()
calendar_print_smallcal (line 258)
void calendar_print_smallcal ()
calendar_smallcal_monthview (line 332)
string calendar_smallcal_monthview (string $year, string $month)
  • string $year
  • string $month
select_option_day (line 246)

Generates html option tags with day of month values

Hardcoded values from 1 to 31

void select_option_day (integer $selected)
  • integer $selected: selected value
select_option_hour (line 157)

Generates html option tags with hour values

  • todo: 12/24 hour format
void select_option_hour (integer $selected)
  • integer $selected: selected value
select_option_length (line 93)

Generates html option tags with length values

Hardcoded values from 0 minutes to 6 hours

void select_option_length (integer $selected)
  • integer $selected: selected option length
select_option_minute (line 126)

Generates html option tags with minute values

Hardcoded values in 5 minute intervals

void select_option_minute (integer $selected)
  • integer $selected: selected value
select_option_month (line 226)

Generates html option tags with month values

void select_option_month (integer $selected)
  • integer $selected: selected value
select_option_priority (line 188)

Generates html option tags with priority values

void select_option_priority (integer $selected)
  • integer $selected: selected value
select_option_year (line 210)

Generates html option tags with year values

Hardcoded values from 1902 to 2037

void select_option_year (integer $selected)
  • integer $selected: selected value

Documentation generated on Sun, 22 Nov 2009 17:36:32 +0200 by phpDocumentor 1.4.3