PHP Класс Kronolith_Day, horde

Автор: Chuck Hagenbuch ([email protected])
Наследование: extends Horde_Date
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__construct ( integer $month = null, integer $day = null, integer $year = null ) Constructor.
diff ( $other = null )
getTime ( $format, $offset )
getTomorrow ( )
getYesterday ( )
isToday ( )
isTomorrow ( )

Описание методов

__construct() публичный Метод

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

diff() публичный Метод

public diff ( $other = null )

getTime() публичный Метод

public getTime ( $format, $offset )

getTomorrow() публичный Метод

public getTomorrow ( )

getYesterday() публичный Метод

public getYesterday ( )

isToday() публичный Метод

public isToday ( )

isTomorrow() публичный Метод

public isTomorrow ( )

Описание свойств

$slotLength публичное свойство

How many minutes are in each slot? Calculated from $_slotsPerHour.
public int $slotLength
Результат integer

$slots публичное свойство

Array of slots holding hours and minutes for each piece of this day.
public array $slots
Результат array

$slotsPerDay публичное свойство

How many slots do we have per day? Calculated from $_slotsPerHour.
public int $slotsPerDay
Результат integer

$slotsPerHour публичное свойство

How many time slots are we dividing each hour into? Set from user preferences.
public int $slotsPerHour
Результат integer