Overview

Packages

  • None
  • Rpc

Classes

  • Horde_Rpc
  • Horde_Rpc_ActiveSync
  • Horde_Rpc_Exception
  • Horde_Rpc_Phpgw
  • Horde_Rpc_Soap
  • Horde_Rpc_Syncml
  • Horde_Rpc_Syncml_Wbxml
  • Horde_Rpc_Translation
  • Horde_Rpc_Webdav
  • Horde_Rpc_Webdav2
  • Horde_Rpc_Xmlrpc
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Rpc_ActiveSync

Copyright 2009-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Rpc
Extended by Horde_Rpc_ActiveSync
Package: Rpc
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Rpc/ActiveSync.php
Methods summary
public Horde_Rpc
# __construct( Horde_Controller_Request_Http $request, array $params = array() )

Constructor. Parameters in addition to Horde_Rpc's: (required) 'backend' = Horde_ActiveSync_Driver (required) 'server' = Horde_ActiveSync (optional) 'provisioning' = Require device provisioning?

Constructor. Parameters in addition to Horde_Rpc's: (required) 'backend' = Horde_ActiveSync_Driver (required) 'server' = Horde_ActiveSync (optional) 'provisioning' = Require device provisioning?

Parameters

$request
request object.
$params
<p>$config A hash containing any additional configuration or connection parameters this class might need.</p>

Returns

Horde_Rpc
An RPC server instance.

Overrides

Horde_Rpc::__construct()
public string
# getResponseContentType( )

Returns the Content-Type of the response.

Returns the Content-Type of the response.

Returns

string
The MIME Content-Type of the RPC response.

Overrides

Horde_Rpc::getResponseContentType()
public mixed
# getInput( )

Horde_ActiveSync will read the input stream directly, do not access it here.

Horde_ActiveSync will read the input stream directly, do not access it here.

Returns

mixed
The input - a string (default), a filehandle, etc.

See

framework/Rpc/lib/Horde/Horde_Rpc#getInput()

Overrides

Horde_Rpc::getInput()
public
# getResponse( string $request )

Sends an RPC request to the server and returns the result.

Sends an RPC request to the server and returns the result.

Parameters

$request
PHP input stream (ignored).

Overrides

Horde_Rpc::getResponse()
public
# sendOutput( string $output )

Parameters

$output
<p>The output to send back to the client. Can be overridden in classes if needed.</p>

See

framework/Rpc/lib/Horde/Horde_Rpc#sendOutput($output)

Overrides

Horde_Rpc::sendOutput()
public boolean
# authorize( )

Check authentication. Different backends may handle authentication in different ways. The base class implementation checks for HTTP Authentication against the Horde auth setup.

Check authentication. Different backends may handle authentication in different ways. The base class implementation checks for HTTP Authentication against the Horde auth setup.

Returns

boolean

Returns true if authentication is successful. Should send appropriate "not authorized" headers or other response codes/body if auth fails, and take care of exiting.

Overrides

Horde_Rpc::authorize()
Methods inherited from Horde_Rpc
factory(), request()
Properties inherited from Horde_Rpc
$_params, $_requestMissingAuthorization, $_requireAuthorization
API documentation generated by ApiGen