PHP Class 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.
Author: Luc Saillard ([email protected])
Author: Chuck Hagenbuch ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Kronolith_Event
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$calendarType string The type of the calender this event exists on.

Public Methods

Method Description
__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.

Method Details

__construct() public method

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() public method

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

toProperties() public method

Prepares this event to be saved to the backend.
public toProperties ( boolean $full = false ) : array
$full boolean Return full data, including uid and id.
return array The event properties.

Property Details

$calendarType public_oe property

The type of the calender this event exists on.
public string $calendarType
return string