Documentation

Calendar_Caldav_Handler_Baikal extends Calendar_Caldav_Handler_Default
in package

Calendar_Caldav_Handler_Baikal

Tags
subpackage

Calendar

version
7.x
author

Hostmake LLC

copyright

© 2005-2022 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

$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
__construct()  : mixed
Constructor.
addAllowedProperties()  : self
Add additional allowed properties
addAllowedProperty()  : self
Add additional allowed property
applyObjectProperty()  : mixed
applyObjectProperty
connect()  : mixed
Connect
create()  : string
Create event
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
getEvent()  : array<string|int, mixed>
Get calendar event
getListEvents()  : mixed
getObjects()  : array<string|int, mixed>
Return list of calendars
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
update()  : string
Update event
_getCalendarDetails()  : array<string|int, mixed>|null
Get calendar details
_getConnectionConfig()  : array<string|int, mixed>
Get Connection Config options
_getDriverName()  : string
Get full driver name
_sendRequest()  : Core_Http
Send request

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

$_errno

Error code

protected mixed $_errno = \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

$_username

Username

protected mixed $_username = \NULL

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
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
self

addAllowedProperty()

Add additional allowed property

public addAllowedProperty(string $property) : self
Parameters
$property : string

property name

Return values
self

connect()

Connect

public abstract connect() : mixed
Return values
mixed

create()

Create event

public create(mixed $aEvent, mixed $sUrl, mixed $sCalendar) : string
Parameters
$aEvent : mixed
$sUrl : mixed
$sCalendar : mixed
Return values
string

delete()

Delete

public abstract delete(string $sUrl) : mixed
Parameters
$sUrl : string
Return values
mixed

findCalendars()

Find calendar

public abstract findCalendars() : mixed
Return values
mixed

getCalendar()

public getCalendar() : mixed
Return values
mixed

getData()

Get calendar data

public getData() : mixed
Return values
mixed

getErrno()

Returns the numerical value of the error message from previous operation Default NULL

public getErrno() : mixed
Return values
mixed

getError()

Returns the text of the error message from previous operation Default NULL

public getError() : mixed
Return values
mixed

getEvent()

Get calendar event

public getEvent(mixed $sHref) : array<string|int, mixed>
Parameters
$sHref : mixed
Return values
array<string|int, mixed>

getListEvents()

public getListEvents() : mixed
Return values
mixed

getObjects()

Return list of calendars

public getObjects() : array<string|int, mixed>
Return values
array<string|int, mixed>

instance()

Register an existing instance as a singleton.

public static instance(string $name) : object
Parameters
$name : string

driver's name

Return values
object

save()

Save

public abstract save(string $sCalendar) : mixed
Parameters
$sCalendar : string
Return values
mixed

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
self

setCalendar()

Set calendar

public abstract setCalendar(array<string|int, mixed> $aCalendar) : mixed
Parameters
$aCalendar : array<string|int, mixed>
Return values
mixed

setData()

Set calendar data

public setData(mixed $sData) : mixed
Parameters
$sData : mixed
Return values
mixed

setPassword()

Set calendar password

public setPassword(mixed $sPassword) : mixed
Parameters
$sPassword : mixed
Return values
mixed

setUnlimitedProperties()

Set unlimitedProperties

public setUnlimitedProperties([bool $value = TRUE ]) : self
Parameters
$value : bool = TRUE

default TRUR

Return values
self

setUrl()

Set calendar url

public setUrl(mixed $sUrl) : mixed
Parameters
$sUrl : mixed
Return values
mixed

setUsername()

Set calendar username

public setUsername(mixed $sUsername) : mixed
Parameters
$sUsername : mixed
Return values
mixed

update()

Update event

public update(mixed $aEvent, mixed $sUrl, mixed $sCalendar) : string
Parameters
$aEvent : mixed
$sUrl : mixed
$sCalendar : mixed
Return values
string

_getCalendarDetails()

Get calendar details

protected _getCalendarDetails(object $responceChildren, object $oProp, object $propChildren) : array<string|int, mixed>|null
Parameters
$responceChildren : object
$oProp : object
$propChildren : object
Return values
array<string|int, mixed>|null

_getConnectionConfig()

Get Connection Config options

protected _getConnectionConfig(mixed $method) : array<string|int, mixed>
Parameters
$method : mixed
Return values
array<string|int, mixed>

_getDriverName()

Get full driver name

protected static _getDriverName(string $driver) : string
Parameters
$driver : string

driver name

Return values
string

_sendRequest()

Send request

protected _sendRequest(string $method[, array<string|int, mixed> $aHeaders = array() ][, string $rawData = NULL ][, string $url = NULL ]) : Core_Http
Parameters
$method : string
$aHeaders : array<string|int, mixed> = array()
$rawData : string = NULL
$url : string = NULL
Return values
Core_Http

Search results