Documentation

API_CalDAV_Model
in package

Api CalDAV Model Class.

Tags
copyright

YetiForce S.A.

license

YetiForce Public License 6.5 (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.
crm2Dav()  : int
Sync from CRM to DAV.
dav2Crm()  : int
Sync from DAV to CRM.
davCreate()  : mixed
Dav create.
davSync()  : int
Dav sync.
davUpdate()  : mixed
Dav update.
getDavDetail()  : array<string|int, mixed>|bool
Get dav detail.
recordCreate()  : bool
Record create.
recordSync()  : int
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 = \false

$davUsers

Dav users.

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

$record

Record.

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

$user

User.

public bool|mixed $user = \false

$cache

Cache.

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

Methods

crm2Dav()

Sync from CRM to DAV.

public crm2Dav() : int
Return values
int

dav2Crm()

Sync from DAV to CRM.

public dav2Crm() : int
Return values
int

davCreate()

Dav create.

public davCreate() : mixed
Return values
mixed

davSync()

Dav sync.

public davSync() : int
Return values
int

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() : int
Return values
int

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