PHP Class Kronolith_Day, horde

Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Date
显示文件 Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$slotLength integer How many minutes are in each slot? Calculated from $_slotsPerHour.
$slots array Array of slots holding hours and minutes for each piece of this day.
$slotsPerDay integer How many slots do we have per day? Calculated from $_slotsPerHour.
$slotsPerHour integer How many time slots are we dividing each hour into? Set from user preferences.

Public Methods

Method Description
__construct ( integer $month = null, integer $day = null, integer $year = null ) Constructor.
diff ( $other = null )
getTime ( $format, $offset )
getTomorrow ( )
getYesterday ( )
isToday ( )
isTomorrow ( )

Method Details

__construct() public method

Constructor.
public __construct ( integer $month = null, integer $day = null, integer $year = null )
$month integer
$day integer
$year integer

diff() public method

public diff ( $other = null )

getTime() public method

public getTime ( $format, $offset )

getTomorrow() public method

public getTomorrow ( )

getYesterday() public method

public getYesterday ( )

isToday() public method

public isToday ( )

isTomorrow() public method

public isTomorrow ( )

Property Details

$slotLength public_oe property

How many minutes are in each slot? Calculated from $_slotsPerHour.
public int $slotLength
return integer

$slots public_oe property

Array of slots holding hours and minutes for each piece of this day.
public array $slots
return array

$slotsPerDay public_oe property

How many slots do we have per day? Calculated from $_slotsPerHour.
public int $slotsPerDay
return integer

$slotsPerHour public_oe property

How many time slots are we dividing each hour into? Set from user preferences.
public int $slotsPerHour
return integer