PHP 클래스 Horde_ActiveSync_Request_Autodiscover, horde

저자: Michael J Rubinsky ([email protected])
상속: extends Horde_ActiveSync_Request_Base
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
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).