Class Kronolith_View_Week

Description

The Kronolith_View_Week:: class provides an API for viewing weeks.

$Horde: kronolith/lib/Views/Week.php,v 1.24.2.7 2009/12/01 22:56:05 jan Exp $

Located in /lib/Views/Week.php (line 15)


	
			
Direct descendents
Class Description
 class Kronolith_View_WorkWeek The Kronolith_View_WorkWeek:: class provides a shortcut for a week view that is only Monday through Friday.
Variable Summary
 mixed $days
 mixed $endDay
 mixed $parsed
 mixed $startDay
 mixed $week
 mixed $year
 mixed $_controller
 mixed $_sidebyside
 integer $_slotsPerDay
 integer $_slotsPerHour
Method Summary
 Kronolith_View_Week Kronolith_View_Week ([ $week = null], [ $year = null], [ $startDay = null], [ $endDay = null])
 void getName ()
 void getWeek ([ $offset = 0])
 void html ()
 void link ([ $offset = 0], [ $full = false])
 void parse ()
Variables
mixed $days = array() (line 18)
mixed $endDay = null (line 22)

Redefined in descendants as:
mixed $parsed = false (line 17)
mixed $startDay = null (line 21)

Redefined in descendants as:
mixed $week = null (line 19)
mixed $year = null (line 20)
mixed $_controller = 'week.php' (line 23)

Redefined in descendants as:
mixed $_currentCalendars = array() (line 25)
mixed $_sidebyside = false (line 24)
integer $_slotsPerDay (line 40)

How many slots do we have per day? Calculated from $_slotsPerHour.

integer $_slotsPerHour = 2 (line 32)

How many time slots are we dividing each hour into?

Methods
Constructor Kronolith_View_Week (line 42)
Kronolith_View_Week Kronolith_View_Week ([ $week = null], [ $year = null], [ $startDay = null], [ $endDay = null])
  • $week
  • $year
  • $startDay
  • $endDay
getName (line 414)
void getName ()

Redefined in descendants as:
getWeek (line 387)
void getWeek ([ $offset = 0])
  • $offset
html (line 117)
void html ()
link (line 405)
void link ([ $offset = 0], [ $full = false])
  • $offset
  • $full
parse (line 356)

Parse all events for all of the days that we're handling; then run through the results to get the total horizontal span for the week, and the latest event of the week.

void parse ()

Documentation generated on Sun, 30 Jan 2011 05:31:50 +0000 by phpDocumentor 1.4.3