Definition at line 124 of file Message.php.
Public Member Functions | |
Auth_OpenID_Mapping ($classic_array=null) | |
isA ($thing) | |
keys () | |
values () | |
items () | |
len () | |
set ($key, $value) | |
get ($key, $default=null) | |
_reflow () | |
del ($key) | |
contains ($value) |
Auth_OpenID_Mapping.Auth_OpenID_Mapping | ( | $ | classic_array = null |
) |
Initialize a mapping. If $classic_array is specified, its keys and values are used to populate the mapping.
Definition at line 129 of file Message.php.
Auth_OpenID_Mapping.isA | ( | $ | thing | ) |
Returns true if $thing is an Auth_OpenID_Mapping object; false if not.
Definition at line 145 of file Message.php.
Auth_OpenID_Mapping.keys | ( | ) |
Returns an array of the keys in the mapping.
Definition at line 154 of file Message.php.
Auth_OpenID_Mapping.values | ( | ) |
Returns an array of values in the mapping.
Definition at line 162 of file Message.php.
Auth_OpenID_Mapping.items | ( | ) |
Returns an array of (key, value) pairs in the mapping.
Definition at line 170 of file Message.php.
Auth_OpenID_Mapping.len | ( | ) |
Returns the "length" of the mapping, or the number of keys.
Definition at line 184 of file Message.php.
Auth_OpenID_Mapping.set | ( | $ | key, | |
$ | value | |||
) |
Sets a key-value pair in the mapping. If the key already exists, its value is replaced with the new value.
Definition at line 193 of file Message.php.
Auth_OpenID_Mapping.get | ( | $ | key, | |
$ | default = null | |||
) |
Gets a specified value from the mapping, associated with the specified key. If the key does not exist in the mapping, $default is returned instead.
Definition at line 210 of file Message.php.
Auth_OpenID_Mapping._reflow | ( | ) |
private
Definition at line 224 of file Message.php.
Auth_OpenID_Mapping.del | ( | $ | key | ) |
Deletes a key-value pair from the mapping with the specified key.
Definition at line 247 of file Message.php.
Auth_OpenID_Mapping.contains | ( | $ | value | ) |
Returns true if the specified value has a key in the mapping; false if not.
Definition at line 264 of file Message.php.