Procedural File: index.php
Source Location: /public_html/calendar/index.php
Page Details:
Includes:
addMode [line 179]
void addMode(
string $mode, [boolean $more = true], string 2)
|
|
Add the 'mode=' parameter to a URL
Parameters
| string |
$mode |
the mode ('personal' or empty string) |
| boolean |
$more |
whether there are more parameters in the URL or not |
| string |
2 |
'mode' parameter for the URL or an empty string |
getDayViewData [line 55]
void getDayViewData(
$result, [ $cur_time = ''])
|
|
Parameters
getDeleteImageLink [line 205]
string getDeleteImageLink(
string $mode, array $A, string $token)
|
|
Return link to "delete event" image Note: Personal events can be deleted if the current user is the owner of the calendar and has _read_ access to them.
Tags:
Parameters
| string |
$mode |
'personal' for personal events |
| array |
$A |
event permissions and id |
| string |
$token |
security token |
getPriorSunday [line 354]
void getPriorSunday(
$month, $day, $year)
|
|
Returns timestamp for the prior sunday of a given day
Parameters
getQuickAdd [line 304]
void getQuickAdd(
$tpl, $month, $day, $year, $token)
|
|
Builds Quick Add form
Parameters
| |
$tpl |
|
| |
$month |
|
| |
$day |
|
| |
$year |
|
| |
$token |
|
getSmallCalendar [line 243]
string getSmallCalendar(
int $m, int $y, [ $mode = ''])
|
|
Gets a small, text-only version of a calendar
Tags:
Parameters
| int |
$m |
Month to display |
| int |
$y |
Year to display |
| |
$mode |
|
makeDaysHeadline [line 145]
shortDaysName [line 138]
string shortDaysName(
int $day)
|
|
Returns an abbreviated day's name
Tags:
Parameters
| int |
$day |
- = Sunday, 2 = Monday, ...
|
|
|