Kronolith_View_Day
        
        extends Kronolith_Day
    
    
            
            in package
            
        
    
    
    
        
            The Kronolith_View_Day:: class provides an API for viewing days.
Tags
Table of Contents
- $all_day_events : mixed
- $events : mixed
- $sidebyside : mixed
- $slotLength : int
- How many minutes are in each slot? Calculated from $_slotsPerHour.
- $slots : array<string|int, mixed>
- Array of slots holding hours and minutes for each piece of this day.
- $slotsPerDay : int
- How many slots do we have per day? Calculated from $_slotsPerHour.
- $slotsPerHour : int
- How many time slots are we dividing each hour into? Set from user preferences.
- $span : mixed
- $totalspan : mixed
- $_currentCalendars : mixed
- $_event_matrix : mixed
- $_first : mixed
- $_last : mixed
- $_parsed : mixed
- __construct() : Kronolith_View_Day
- Constructor.
- diff() : mixed
- getName() : mixed
- getTime() : mixed
- getTomorrow() : mixed
- getYesterday() : mixed
- html() : mixed
- isToday() : mixed
- isTomorrow() : mixed
- link() : mixed
- parse() : mixed
- 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.
- prefHourFormat() : mixed
- _sortByStart() : mixed
Properties
$all_day_events
    public
        mixed
    $all_day_events
     = array()
    
    
$events
    public
        mixed
    $events
     = array()
    
    
$sidebyside
    public
        mixed
    $sidebyside
     = alse
    
    
$slotLength
How many minutes are in each slot? Calculated from $_slotsPerHour.
    public
        int
    $slotLength
    
        
    
    Tags
$slots
Array of slots holding hours and minutes for each piece of this day.
    public
        array<string|int, mixed>
    $slots
     = array()
        
    
$slotsPerDay
How many slots do we have per day? Calculated from $_slotsPerHour.
    public
        int
    $slotsPerDay
    
        
    
    Tags
$slotsPerHour
How many time slots are we dividing each hour into? Set from user preferences.
    public
        int
    $slotsPerHour
    
        
    
$span
    public
        mixed
    $span
     = array()
    
    
$totalspan
    public
        mixed
    $totalspan
     = 0
    
    
$_currentCalendars
    protected
        mixed
    $_currentCalendars
     = array()
    
    
$_event_matrix
    protected
        mixed
    $_event_matrix
     = array()
    
    
$_first
    protected
        mixed
    $_first
    
    
    
$_last
    protected
        mixed
    $_last
    
    
    
$_parsed
    protected
        mixed
    $_parsed
     = alse
    
    
Methods
__construct()
Constructor.
    public
                __construct(Horde_Date $date[, array<string|int, mixed> $events = null ]) : Kronolith_View_Day
        
        Parameters
- $date : Horde_Date
- 
                    The day for this view 
- $events : array<string|int, mixed> = null
- 
                    An array of Kronolith_Event objects 
Return values
Kronolith_View_Day —diff()
    public
                diff([mixed $other = null ]) : mixed
    
        Parameters
- $other : mixed = null
Return values
mixed —getName()
    public
                getName() : mixed
    
    
    
        Return values
mixed —getTime()
    public
                getTime(mixed $format, mixed $offset) : mixed
    
        Parameters
- $format : mixed
- $offset : mixed
Return values
mixed —getTomorrow()
    public
                getTomorrow() : mixed
    
    
    
        Return values
mixed —getYesterday()
    public
                getYesterday() : mixed
    
    
    
        Return values
mixed —html()
    public
                html() : mixed
    
    
    
        Return values
mixed —isToday()
    public
                isToday() : mixed
    
    
    
        Return values
mixed —isTomorrow()
    public
                isTomorrow() : mixed
    
    
    
        Return values
mixed —link()
    public
                link(mixed $offset[, mixed $full = false ]) : mixed
    
        Parameters
- $offset : mixed
- $full : mixed = false
Return values
mixed —parse()
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.
    public
                parse() : mixed
        
    
    
        Return values
mixed —prefHourFormat()
    public
            static    prefHourFormat(mixed $hour, mixed $min) : mixed
    
        Parameters
- $hour : mixed
- $min : mixed
Return values
mixed —_sortByStart()
    protected
                _sortByStart(mixed $evA, mixed $evB) : mixed
    
        Parameters
- $evA : mixed
- $evB : mixed