PHP Класс Kronolith_Event_Sql, horde

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Автор: Luc Saillard ([email protected])
Автор: Chuck Hagenbuch ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Kronolith_Event
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$calendarType string The type of the calender this event exists on.

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

Метод Описание
__construct ( Kronolith_Driver $driver, mixed $eventObject = null ) Constructor.
fromDriver ( $SQLEvent ) Imports a backend specific event object.
toProperties ( boolean $full = false ) : array Prepares this event to be saved to the backend.

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

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

Constructor.
public __construct ( Kronolith_Driver $driver, mixed $eventObject = null )
$driver Kronolith_Driver The backend driver that this event is stored in.
$eventObject mixed Backend specific event object that this will represent.

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

Imports a backend specific event object.
public fromDriver ( $SQLEvent )

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

Prepares this event to be saved to the backend.
public toProperties ( boolean $full = false ) : array
$full boolean Return full data, including uid and id.
Результат array The event properties.

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

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

The type of the calender this event exists on.
public string $calendarType
Результат string