Calendar_Caldav_Controller
extends Core_Servant_Properties
in package
Abstract Calendar Caldav
Tags
Table of Contents
Properties
- $instance : array<string|int, mixed>
- The singleton instances.
- $_allowedProperties : array<string|int, mixed>
- Allowed object properties
- $_calendar_url : mixed
- Calendar url
- $_client : mixed
- Client
- $_data : mixed
- Data
- $_errno : mixed
- Error code
- $_error : mixed
- Error
- $_host : mixed
- Host
- $_list_events : array<string|int, mixed>
- Events list
- $_password : mixed
- Password
- $_propertiesValues : array<string|int, mixed>
- Properties values
- $_unlimitedProperties : bool
- Object has unlimited number of properties
- $_url : mixed
- Url
- $_username : mixed
- Username
Methods
- __construct() : mixed
- Constructor.
- addAllowedProperties() : self
- Add additional allowed properties
- addAllowedProperty() : self
- Add additional allowed property
- applyObjectProperty() : mixed
- applyObjectProperty
- connect() : mixed
- Connect
- delete() : mixed
- Delete
- findCalendars() : mixed
- Find calendar
- getCalendar() : mixed
- getData() : mixed
- Get calendar data
- getErrno() : mixed
- Returns the numerical value of the error message from previous operation Default NULL
- getError() : mixed
- Returns the text of the error message from previous operation Default NULL
- getListEvents() : mixed
- instance() : object
- Register an existing instance as a singleton.
- save() : mixed
- Save
- set() : self
- Run when writing data to inaccessible properties
- setCalendar() : mixed
- Set calendar
- setData() : mixed
- Set calendar data
- setPassword() : mixed
- Set calendar password
- setUnlimitedProperties() : self
- Set unlimitedProperties
- setUrl() : mixed
- Set calendar url
- setUsername() : mixed
- Set calendar username
- showSecondWindow() : mixed
- Show second window
- _getDriverName() : string
- Get full driver name
Properties
$instance
The singleton instances.
public
static array<string|int, mixed>
$instance
= array()
$_allowedProperties
Allowed object properties
protected
array<string|int, mixed>
$_allowedProperties
= array()
$_calendar_url
Calendar url
protected
mixed
$_calendar_url
= \NULL
$_client
Client
protected
mixed
$_client
= \NULL
$_data
Data
protected
mixed
$_data
= \NULL
$_errno
Error code
protected
mixed
$_errno
= \NULL
$_error
Error
protected
mixed
$_error
= \NULL
$_host
Host
protected
mixed
$_host
= \NULL
$_list_events
Events list
protected
array<string|int, mixed>
$_list_events
= array()
$_password
Password
protected
mixed
$_password
= \NULL
$_propertiesValues
Properties values
protected
array<string|int, mixed>
$_propertiesValues
= array()
$_unlimitedProperties
Object has unlimited number of properties
protected
bool
$_unlimitedProperties
= \FALSE
$_url
Url
protected
mixed
$_url
= \NULL
$_username
Username
protected
mixed
$_username
= \NULL
Methods
__construct()
Constructor.
public
__construct() : mixed
addAllowedProperties()
Add additional allowed properties
public
addAllowedProperties(array<string|int, mixed> $array) : self
Parameters
- $array : array<string|int, mixed>
-
array of properties' names
Return values
selfaddAllowedProperty()
Add additional allowed property
public
addAllowedProperty(string $property) : self
Parameters
- $property : string
-
property name
Return values
selfapplyObjectProperty()
applyObjectProperty
public
abstract applyObjectProperty(Calendar_Caldav_User_Controller_Edit $oCalendar_Caldav_User_Controller_Edit) : mixed
Parameters
- $oCalendar_Caldav_User_Controller_Edit : Calendar_Caldav_User_Controller_Edit
connect()
Connect
public
abstract connect() : mixed
delete()
Delete
public
abstract delete(string $sUrl) : mixed
Parameters
- $sUrl : string
findCalendars()
Find calendar
public
abstract findCalendars() : mixed
getCalendar()
public
getCalendar() : mixed
getData()
Get calendar data
public
getData() : mixed
getErrno()
Returns the numerical value of the error message from previous operation Default NULL
public
getErrno() : mixed
getError()
Returns the text of the error message from previous operation Default NULL
public
getError() : mixed
getListEvents()
public
getListEvents() : mixed
instance()
Register an existing instance as a singleton.
public
static instance(string $name) : object
Parameters
- $name : string
-
driver's name
Return values
objectsave()
Save
public
abstract save(string $sCalendar) : mixed
Parameters
- $sCalendar : string
set()
Run when writing data to inaccessible properties
public
set(string $property, string $value) : self
Parameters
- $property : string
-
property name
- $value : string
-
property value
Return values
selfsetCalendar()
Set calendar
public
abstract setCalendar(array<string|int, mixed> $aCalendar) : mixed
Parameters
- $aCalendar : array<string|int, mixed>
setData()
Set calendar data
public
setData(mixed $sData) : mixed
Parameters
- $sData : mixed
setPassword()
Set calendar password
public
setPassword(mixed $sPassword) : mixed
Parameters
- $sPassword : mixed
setUnlimitedProperties()
Set unlimitedProperties
public
setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
- $value : bool = TRUE
-
default TRUR
Return values
selfsetUrl()
Set calendar url
public
setUrl(mixed $sUrl) : mixed
Parameters
- $sUrl : mixed
setUsername()
Set calendar username
public
setUsername(mixed $sUsername) : mixed
Parameters
- $sUsername : mixed
showSecondWindow()
Show second window
public
abstract showSecondWindow(Calendar_Caldav_User_Controller_Edit $oCalendar_Caldav_User_Controller_Edit) : mixed
Parameters
- $oCalendar_Caldav_User_Controller_Edit : Calendar_Caldav_User_Controller_Edit
_getDriverName()
Get full driver name
protected
static _getDriverName(string $driver) : string
Parameters
- $driver : string
-
driver name