ActiveSync_Frontend_Json
backend class for Zend_Json_Server
This class handles all Json requests for the ActiveSync application
Implements:
Tinebase_Frontend_Json_Interface, Tinebase_Frontend_Interface
Extend:
Tinebase_Frontend_Json_Abstract
Methods
Name | Description |
---|---|
deleteSyncDevices | deletes existing records |
getSyncDevice | Return a single record |
remoteResetDevices | |
saveSyncDevice | creates/updates a record |
searchSyncDevices | Search for records matching given arguments |
setDeviceContentFilter | Set sync filter |
Inherited methods
Name | Description |
---|---|
__call | magic method for json api |
addFilterModelPlugin | Add a plugin for a former filter |
getModelsConfiguration | returns model configurations for application starter |
getRegistryData | Returns registry data of the application. |
getRelatableModels | Returns all relatable models for this app |
getTemplates | get available templates by containerId |
resolveContainersAndTags | resolve containers and tags |
ActiveSync_Frontend_Json::deleteSyncDevices
Description
public deleteSyncDevices (array $ids)
deletes existing records
Parameters
(array) $ids
Return Values
string
ActiveSync_Frontend_Json::getSyncDevice
Description
public getSyncDevice (string $id)
Return a single record
Parameters
(string) $id
Return Values
array
record data
ActiveSync_Frontend_Json::remoteResetDevices
Description
remoteResetDevices (void)
Parameters
This function has no parameters.
Return Values
void
ActiveSync_Frontend_Json::saveSyncDevice
Description
public saveSyncDevice (array $recordData)
creates/updates a record
Parameters
(array) $recordData
Return Values
array
created/updated record
ActiveSync_Frontend_Json::searchSyncDevices
Description
public searchSyncDevices (array $filter, array $paging)
Search for records matching given arguments
Parameters
(array) $filter
(array) $paging
Return Values
array
ActiveSync_Frontend_Json::setDeviceContentFilter
Description
public setDeviceContentFilter (string $deviceId, string $class, string $filterId)
Set sync filter
Parameters
(string) $deviceId
(string) $class
: one of {Calendar, Contacts, Email, Tasks}(string) $filterId
Return Values
array
device data