Documentation

API_CardDAV_Handler
in package

Api CardDAV Handler 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

FIELDS  = ['Contacts' => ['firstname', 'lastname', 'email', 'secondary_email', 'phone', 'mobile', 'description', 'jobtitle', 'addresslevel1a', 'addresslevel2a', 'addresslevel3a', 'addresslevel4a', 'addresslevel5a', 'addresslevel6a', 'addresslevel7a', 'addresslevel8a', 'addresslevel1b', 'addresslevel2b', 'addresslevel3b', 'addresslevel4b', 'addresslevel5b', 'addresslevel6b', 'addresslevel7b', 'addresslevel8b', 'localnumbera', 'localnumberb'], 'OSSEmployees' => ['name', 'last_name', 'business_phone', 'business_mail', 'private_phone', 'private_mail', 'description', 'company_name', 'street', 'city', 'state', 'code', 'country', 'ship_street', 'ship_city', 'ship_state', 'ship_code', 'ship_country', 'secondary_phone']]
TABLES  = ['Contacts' => ['vtiger_contactdetails', 'contactid'], 'OSSEmployees' => ['vtiger_ossemployees', 'ossemployeesid']]
entityAfterDelete()  : mixed
EntityAfterDelete handler function.
entityAfterSave()  : mixed
EntityAfterSave handler function.
entityChangeState()  : mixed
EntityChangeState handler function.

Constants

FIELDS

public array<string|int, mixed> FIELDS = ['Contacts' => ['firstname', 'lastname', 'email', 'secondary_email', 'phone', 'mobile', 'description', 'jobtitle', 'addresslevel1a', 'addresslevel2a', 'addresslevel3a', 'addresslevel4a', 'addresslevel5a', 'addresslevel6a', 'addresslevel7a', 'addresslevel8a', 'addresslevel1b', 'addresslevel2b', 'addresslevel3b', 'addresslevel4b', 'addresslevel5b', 'addresslevel6b', 'addresslevel7b', 'addresslevel8b', 'localnumbera', 'localnumberb'], 'OSSEmployees' => ['name', 'last_name', 'business_phone', 'business_mail', 'private_phone', 'private_mail', 'description', 'company_name', 'street', 'city', 'state', 'code', 'country', 'ship_street', 'ship_city', 'ship_state', 'ship_code', 'ship_country', 'secondary_phone']]

CardDav fields structure.

TABLES

public array<string|int, mixed> TABLES = ['Contacts' => ['vtiger_contactdetails', 'contactid'], 'OSSEmployees' => ['vtiger_ossemployees', 'ossemployeesid']]

CardDav tables structure.

Methods

entityAfterDelete()

EntityAfterDelete handler function.

public entityAfterDelete(EventHandler $eventHandler) : mixed
Parameters
$eventHandler : EventHandler
Return values
mixed

entityAfterSave()

EntityAfterSave handler function.

public entityAfterSave(EventHandler $eventHandler) : mixed
Parameters
$eventHandler : EventHandler
Return values
mixed

entityChangeState()

EntityChangeState handler function.

public entityChangeState(EventHandler $eventHandler) : mixed
Parameters
$eventHandler : EventHandler
Return values
mixed

        

Search results