Constants

TAG_RESOLVERECIPIENTS

TAG_RESOLVERECIPIENTS

TAG_RESPONSE

TAG_RESPONSE

TAG_STATUS

TAG_STATUS

TAG_TYPE

TAG_TYPE

TAG_RECIPIENT

TAG_RECIPIENT

TAG_DISPLAYNAME

TAG_DISPLAYNAME

TAG_EMAILADDRESS

TAG_EMAILADDRESS

TAG_CERTIFICATES

TAG_CERTIFICATES

TAG_CERTIFICATE

TAG_CERTIFICATE

TAG_MINICERTIFICATE

TAG_MINICERTIFICATE

TAG_OPTIONS

TAG_OPTIONS

TAG_TO

TAG_TO

TAG_CERTIFICATERETRIEVAL

TAG_CERTIFICATERETRIEVAL

TAG_RECIPIENTCOUNT

TAG_RECIPIENTCOUNT

TAG_MAXCERTIFICATES

TAG_MAXCERTIFICATES

TAG_MAXAMBIGUOUSRECIPIENTS

TAG_MAXAMBIGUOUSRECIPIENTS

TAG_CERTIFICATECOUNT

TAG_CERTIFICATECOUNT

TAG_MAXSIZE

TAG_MAXSIZE

TAG_DATA

TAG_DATA

TAG_PICTURE

TAG_PICTURE

TAG_MAXPICTURES

TAG_MAXPICTURES

TAG_AVAILABILITY

TAG_AVAILABILITY

TAG_STARTTIME

TAG_STARTTIME

TAG_ENDTIME

TAG_ENDTIME

TAG_MERGEDFREEBUSY

TAG_MERGEDFREEBUSY

CERT_RETRIEVAL_NONE

CERT_RETRIEVAL_NONE

CERT_RETRIEVAL_FULL

CERT_RETRIEVAL_FULL

CERT_RETRIEVAL_MINI

CERT_RETRIEVAL_MINI

STATUS_SUCCESS

STATUS_SUCCESS

STATUS_PROTERR

STATUS_PROTERR

STATUS_SERVERERR

STATUS_SERVERERR

STATUS_RESPONSE_SUCCESS

STATUS_RESPONSE_SUCCESS

STATUS_RESPONSE_AMBSUGG

STATUS_RESPONSE_AMBSUGG

STATUS_RESPONSE_NONE

STATUS_RESPONSE_NONE

STATUS_CERT_SUCCESS

STATUS_CERT_SUCCESS

STATUS_CERT_NOCERT

STATUS_CERT_NOCERT

STATUS_LIMIT

STATUS_LIMIT

STATUS_AVAIL_SUCCESS

STATUS_AVAIL_SUCCESS

STATUS_AVAIL_MAXRECIPIENTS

STATUS_AVAIL_MAXRECIPIENTS

STATUS_AVAIL_MAXLIST

STATUS_AVAIL_MAXLIST

STATUS_AVAIL_TEMPFAILURE

STATUS_AVAIL_TEMPFAILURE

STATUS_AVAIL_NOTFOUND

STATUS_AVAIL_NOTFOUND

Properties

$_request

$_request : \Horde_Controller_Request_Http

Request object

Type

\Horde_Controller_Request_Http

$_provisioning

$_provisioning : integer

Whether we require provisioned devices.

Valid values are:

  • Horde_ActiveSync::PROVISIONING_FORCE: Accept ONLY provisioned devices
  • Horde_ActiveSync::PROVISIONING_LOOSE: Force provisioning if device supports provisioning, allow non-provisionable devices as well.
  • Horde_ActiveSync::PROVISIONING_NONE: Allow any device.

Type

integer

$_statusCode

$_statusCode : integer

Used to track what error code to send back to client on failure

Type

integer

$_activeSync

$_activeSync : \Horde_ActiveSync

ActiveSync server

Type

\Horde_ActiveSync

$_logger

$_logger : \Horde_Log_Logger

Logger

Type

\Horde_Log_Logger

$_procid

$_procid : integer

The procid

Type

integer

Methods

checkPolicyKey()

checkPolicyKey(string  $sentKey, string  $requestType = null) : boolean

Ensure the client's policy key is current.

Parameters

string $sentKey

The policykey sent to us by the client

string $requestType

The type of request we are handling. A Horde_ActiveSync constant.

Returns

boolean

setLogger()

setLogger(\Horde_Log_Logger  $logger) 

Set the logger.

Parameters

\Horde_Log_Logger $logger

handle()

handle() : boolean

Handle the request.

Returns

boolean

_cleanUpAfterPairing()

_cleanUpAfterPairing() 

Clean up after initial pairing. Initial pairing can happen either as a result of either a FOLDERSYNC or PROVISION command, depending on the device capabilities.

_requireProvisionWbxml()

_requireProvisionWbxml(string  $requestType, integer  $status) 

Send WBXML to indicate provisioning is required.

Parameters

string $requestType

The type of request we are handling.

integer $status

The reason we need to provision.

_handle()

_handle() : boolean

Handle the request

Throws

\Horde_ActiveSync_Exception

Returns

boolean