Class Kronolith_View_Day

Description

The Kronolith_View_Day:: class provides an API for viewing days.

$Horde: kronolith/lib/Views/Day.php,v 1.29.2.4 2010/05/13 17:31:16 jan Exp $

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

Horde_Date
   |
   --Kronolith_Day
      |
      --Kronolith_View_Day
Variable Summary
Method Summary
 Kronolith_View_Day Kronolith_View_Day ([ $month = null], [ $day = null], [ $year = null], [ $events = null])
 void getName ()
 void html ()
 void link ([ $offset = 0], [ $full = false])
 void parse ()
 void setEvents ( $events)
 void _sortByStart ( $evA,  $evB)
Variables
mixed $_all_day_events = array() (line 18)
mixed $_currentCalendars = array() (line 24)
mixed $_events = array() (line 17)
mixed $_event_matrix = array() (line 19)
mixed $_parsed = false (line 20)
mixed $_sidebyside = false (line 23)
mixed $_span = array() (line 21)
mixed $_totalspan = 0 (line 22)

Inherited Variables

Inherited from Kronolith_Day

Kronolith_Day::$slots
Kronolith_Day::$_slotLength
Kronolith_Day::$_slotsPerDay
Kronolith_Day::$_slotsPerHour
Methods
Constructor Kronolith_View_Day (line 26)
Kronolith_View_Day Kronolith_View_Day ([ $month = null], [ $day = null], [ $year = null], [ $events = null])
  • $month
  • $day
  • $year
  • $events
getName (line 462)
void getName ()
html (line 73)
void html ()
link (line 452)
void link ([ $offset = 0], [ $full = false])
  • $offset
  • $full
parse (line 289)

This function runs through the events and tries to figure out what should be on each line of the output table. This is a little tricky.

void parse ()
setEvents (line 68)
void setEvents ( $events)
  • $events
_sortByStart (line 467)
void _sortByStart ( $evA,  $evB)
  • $evA
  • $evB

Inherited Methods

Inherited From Kronolith_Day

 Kronolith_Day::Kronolith_Day()
 Kronolith_Day::diff()
 Kronolith_Day::getStamp()
 Kronolith_Day::getTime()
 Kronolith_Day::getTomorrow()
 Kronolith_Day::isToday()
 Kronolith_Day::isTomorrow()

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