PHP Класс Auth_OpenID_ServerError

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( $message = null, $text = null, $reference = null, $contact = null )
encodeToKVForm ( ) Encodes the response to key-value form. This is a machine-readable format used to respond to messages which came directly from the consumer and not through the user-agent. See the OpenID specification.
encodeToURL ( ) Encodes this error's response as a URL suitable for redirection. If the response has no return_to, another Auth_OpenID_ServerError is returned.
getReturnTo ( )
hasReturnTo ( ) Returns the return_to URL for the request which caused this error.
toFormMarkup ( $form_tag_attrs = null )
toHTML ( $form_tag_attrs = null )
toMessage ( )
toString ( ) Returns this error message.
whichEncoding ( ) Returns one of Auth_OpenID_ENCODE_URL, Auth_OpenID_ENCODE_KVFORM, or null, depending on the type of encoding expected for this error's payload.

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

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

public __construct ( $message = null, $text = null, $reference = null, $contact = null )

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

Encodes the response to key-value form. This is a machine-readable format used to respond to messages which came directly from the consumer and not through the user-agent. See the OpenID specification.
public encodeToKVForm ( )

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

Encodes this error's response as a URL suitable for redirection. If the response has no return_to, another Auth_OpenID_ServerError is returned.
public encodeToURL ( )

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

public getReturnTo ( )

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

Returns the return_to URL for the request which caused this error.
public hasReturnTo ( )

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

public toFormMarkup ( $form_tag_attrs = null )

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

public toHTML ( $form_tag_attrs = null )

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

public toMessage ( )

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

Returns this error message.
public toString ( )

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

Returns one of Auth_OpenID_ENCODE_URL, Auth_OpenID_ENCODE_KVFORM, or null, depending on the type of encoding expected for this error's payload.
public whichEncoding ( )