An abstract class that implements a message that has attribute keys and values. It contains the common code between fetch_response and store_request.
Located in /Auth/OpenID/AX.php (line 541)
Auth_OpenID_Extension | --Auth_OpenID_AX_Message | --Auth_OpenID_AX_KeyValueMessage
Class | Description |
---|---|
Auth_OpenID_AX_FetchResponse | A fetch_response attribute exchange message. |
Auth_OpenID_AX_StoreRequest | A store request attribute exchange message representation. |
Inherited from Auth_OpenID_AX_Message
Auth_OpenID_AX_Message::$mode
Auth_OpenID_AX_Message::$ns_alias
Auth_OpenID_AX_Message::$ns_uri
Add a single value for the given attribute type to the message. If there are already values specified for this type, this value will be sent in addition to the values already specified.
Get the number of responses for a particular attribute in this fetch_response message.
Get the list of values for this attribute in the fetch_response.
XXX: what to do if the values are not present? default parameter? this is funny because it's always supposed to return a list, so the default may break that, though it's provided by the user's code, so it might be okay. If no default is supplied, should the return be None or []?
Get a single value for an attribute. If no value was sent for this attribute, use the supplied default. If there is more than one value for this attribute, this method will fail.
Parse attribute exchange key/value arguments into this object.
Set the values for the given attribute type. This replaces any values that have already been set for this attribute.
Inherited From Auth_OpenID_Extension
Auth_OpenID_Extension::getExtensionArgs()
Auth_OpenID_Extension::toMessage()
Documentation generated on Thu, 29 Jul 2010 13:58:24 -0700 by phpDocumentor 1.4.3