PHP Класс Horde_ActiveSync_Request_Autodiscover, horde

Автор: Michael J Rubinsky ([email protected])
Наследование: extends Horde_ActiveSync_Request_Base
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
handle ( Horde_Controller_Request $request = null ) : text Handle request

Защищенные методы

Метод Описание
_buildFailureResponse ( string $email, string $status, string $response_schema ) : string Output failure response code.
_buildResponseString ( array $properties ) : string Build the appropriate response string to send back to the client.
_getEncryptionValue ( $type, $properties )
_handle ( ) Noop. This class overrides the handle method.

Описание методов

_buildFailureResponse() защищенный Метод

Output failure response code.
protected _buildFailureResponse ( string $email, string $status, string $response_schema ) : string
$email string The email of the user attempting Autodiscover.
$status string An appropriate status code for the error. E.g., 600 - Invalid response. 601 - Provider not found for requested schema.
$response_schema string The response schema value.
Результат string The XML to send to the client.

_buildResponseString() защищенный Метод

Build the appropriate response string to send back to the client.
protected _buildResponseString ( array $properties ) : string
$properties array An array containing any needed properties. Required properties for mobile sync: - request_schema: The request schema sent by the client. - response_schema: The schema the client indicated it can accept. - culture: The culture value (normally 'en:en'). - display_name: The user's configured display name. - email: The user's email address. - url: The url of the Microsoft-Servers-ActiveSync endpoint for this user to use. Properties used for Outlook schema: - imap: Array describing the IMAP server. - pop: Array describing the POP3 server. - smtp: Array describing the SMTP server. @return string The XML to return to the client.
Результат string

_getEncryptionValue() защищенный Метод

protected _getEncryptionValue ( $type, $properties )

_handle() защищенный Метод

Noop. This class overrides the handle method.
protected _handle ( )

handle() публичный Метод

Handle request
public handle ( Horde_Controller_Request $request = null ) : text
$request Horde_Controller_Request
Результат text The content type of the response (text/xml).