Property | Type | Description | |
---|---|---|---|
$_contentType | string | Content type header to send in response. | |
$_get | array | Holds the request's GET variables | |
$_server | Horde_ActiveSync | The ActiveSync server object |
Method | Description | |
---|---|---|
__construct ( Horde_Controller_Request_Http $request, array $params = [] ) | Constructor. | |
authorize ( ) : boolean | Override the authorize method and always return true. The ActiveSync server classes handle authentication directly since we need complete control over what responses are sent. | |
getInput ( ) | Horde_ActiveSync will read the input stream directly, do not access it here. | |
getResponse ( string $request ) | Sends an RPC request to the server and returns the result. | |
getResponseContentType ( ) : string | Returns the Content-Type of the response. | |
sendOutput ( $output ) |
Method | Description | |
---|---|---|
_handleError ( Exception $e ) | Output exception information to the logger. | |
_sendAuthenticationFailedHeaders ( $e ) | Send 401 Unauthorized headers. |
public __construct ( Horde_Controller_Request_Http $request, array $params = [] ) | ||
$request | Horde_Controller_Request_Http | |
$params | array | A hash containing configuration parameters: - server: (Horde_ActiveSync) The ActiveSync server object. DEFAULT: none, REQUIRED |
protected _handleError ( Exception $e ) | ||
$e | Exception | The exception |
protected _sendAuthenticationFailedHeaders ( $e ) |
public getInput ( ) |
public getResponse ( string $request ) | ||
$request | string | PHP input stream (ignored). |
public getResponseContentType ( ) : string | ||
return | string | The MIME Content-Type of the RPC response. |
protected string $_contentType | ||
return | string |