Documentation

API_CalDAV_Model
in package

Api CalDAV Model Class.

Tags
copyright

YetiForce Sp. z o.o

license

YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)

author

Mariusz Krzaczkowski m.krzaczkowski@yetiforce.com

Table of Contents

CALENDAR_NAME  = 'YFCalendar'
Calendar name.
COMPONENTS  = 'VEVENT,VTODO'
Components.
PRODID  = 'YetiForce'
Prod id.
$calendarId  : int
Calendar id.
$davUsers  : array<string|int, mixed>
Dav users.
$record  : array<string|int, mixed>
Record.
$user  : bool|mixed
User.
$cache  : array<string|int, mixed>
Cache.
calDav2Crm()  : mixed
Cal dav to crm.
calDavCrm2Dav()  : mixed
calDavCrm2Dav.
davCreate()  : mixed
Dav create.
davSync()  : mixed
Dav sync.
davUpdate()  : mixed
Dav update.
getDavDetail()  : array<string|int, mixed>|bool
Get dav detail.
recordCreate()  : bool
Record create.
recordSync()  : mixed
Sync record.
recordUpdate()  : bool
Record update.
recordMarkComplete()  : mixed
Record mark complete.
toDelete()  : bool
To delete.

Constants

CALENDAR_NAME

Calendar name.

public string CALENDAR_NAME = 'YFCalendar'

COMPONENTS

Components.

public string COMPONENTS = 'VEVENT,VTODO'

PRODID

Prod id.

public string PRODID = 'YetiForce'

Properties

$calendarId

Calendar id.

public int $calendarId = alse

$davUsers

Dav users.

public array<string|int, mixed> $davUsers = []

$record

Record.

public array<string|int, mixed> $record = alse

$user

User.

public bool|mixed $user = alse

$cache

Cache.

protected static array<string|int, mixed> $cache = []

Methods

calDav2Crm()

Cal dav to crm.

public calDav2Crm() : mixed
Return values
mixed

calDavCrm2Dav()

calDavCrm2Dav.

public calDavCrm2Dav() : mixed
Return values
mixed

davCreate()

Dav create.

public davCreate() : mixed
Return values
mixed

davSync()

Dav sync.

public davSync() : mixed
Return values
mixed

davUpdate()

Dav update.

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

getDavDetail()

Get dav detail.

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

recordCreate()

Record create.

public recordCreate(array<string|int, mixed> $cal) : bool
Parameters
$cal : array<string|int, mixed>
Return values
bool

recordSync()

Sync record.

public recordSync() : mixed
Return values
mixed

recordMarkComplete()

Record mark complete.

protected recordMarkComplete() : mixed
Return values
mixed

toDelete()

To delete.

protected toDelete(array<string|int, mixed> $cal) : bool
Parameters
$cal : array<string|int, mixed>
Return values
bool

Search results