Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: index.php

Source Location: /public_html/calendar/index.php



Page Details:



Includes:

require_once('../lib-common.php') [line 35]
require_once($_CONF['path_system'].'classes/calendar.class.php') [line 42]






addMode [line 178]

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
[ Top ]



getDayViewData [line 54]

void getDayViewData( $result, [ $cur_time = ''])



Parameters

   $result  
   $cur_time  
[ Top ]



getDeleteImageLink [line 204]

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:

return:  link or empty string


Parameters

string   $mode   'personal' for personal events
array   $A   event permissions and id
string   $token   security token
[ Top ]



getPriorSunday [line 353]

void getPriorSunday( $month, $day, $year)

Returns timestamp for the prior sunday of a given day



Parameters

   $month  
   $day  
   $year  
[ Top ]



getQuickAdd [line 303]

void getQuickAdd( $tpl, $month, $day, $year, $token)

Builds Quick Add form



Parameters

   $tpl  
   $month  
   $day  
   $year  
   $token  
[ Top ]



getSmallCalendar [line 242]

string getSmallCalendar( int $m, int $y, [ $mode = ''])

Gets a small, text-only version of a calendar



Tags:

return:  HTML for small calendar


Parameters

int   $m   Month to display
int   $y   Year to display
   $mode  
[ Top ]



makeDaysHeadline [line 144]

void makeDaysHeadline( )



[ Top ]



shortDaysName [line 137]

string shortDaysName( int $day)

Returns an abbreviated day's name



Tags:

return:  abbreviated day's name (2 characters)


Parameters

int   $day  
  1. = Sunday, 2 = Monday, ...
[ Top ]



Documentation generated on Sun, 02 Oct 2016 07:50:40 +0000 by phpDocumentor 1.4.3