PHP Class Horde_ActiveSync_Request_Provision, horde

Author: Michael J Rubinsky ([email protected])
Inheritance: extends Horde_ActiveSync_Request_Base
Mostrar archivo Open project: horde/horde

Protected Methods

Method Description
_globalError ( integer $status ) Handle global provision request errors, and send the output to the output stream.
_handle ( ) : boolean Handle the Provision request. This is a 3-phase process. Phase 1 is actually the enforcement, when the server rejects a request and forces the client to perform this PROVISION request.
_handleSettings ( ) : boolean | array Handle the EAS 14.1 SETTINGS_DEVICEINFORMATION parsing.
_handleVersionMismatch ( ) Output status that indicates device does not support the required policies.
_sendNoProvisionNeededResponse ( integer $status ) Send a WBXML response to the output stream indicating that no provision requests are necessary.

Method Details

_globalError() protected method

Handle global provision request errors, and send the output to the output stream.
protected _globalError ( integer $status )
$status integer The status code to send.

_handle() protected method

..so we are handling phase 2 (download policies) and 3 (acknowledge policies) here.
protected _handle ( ) : boolean
return boolean

_handleSettings() protected method

Handle the EAS 14.1 SETTINGS_DEVICEINFORMATION parsing.
protected _handleSettings ( ) : boolean | array
return boolean | array An array of received device information or false on any protocol error.

_handleVersionMismatch() protected method

Output status that indicates device does not support the required policies.
protected _handleVersionMismatch ( )

_sendNoProvisionNeededResponse() protected method

Send a WBXML response to the output stream indicating that no provision requests are necessary.
protected _sendNoProvisionNeededResponse ( integer $status )
$status integer The status code to send along with the response.