ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
Auth_OpenID_Mapping ($classic_array=null) | |
Initialize a mapping. | |
keys () | |
Returns an array of the keys in the mapping. | |
values () | |
Returns an array of values in the mapping. | |
items () | |
Returns an array of (key, value) pairs in the mapping. | |
len () | |
Returns the "length" of the mapping, or the number of keys. | |
set ($key, $value) | |
Sets a key-value pair in the mapping. | |
get ($key, $default=null) | |
Gets a specified value from the mapping, associated with the specified key. | |
_reflow () | |
private | |
del ($key) | |
Deletes a key-value pair from the mapping with the specified key. | |
contains ($value) | |
Returns true if the specified value has a key in the mapping; false if not. |
Static Public Member Functions | |
static | isA ($thing) |
Returns true if $thing is an Auth_OpenID_Mapping object; false if not. |
Definition at line 124 of file Message.php.
Auth_OpenID_Mapping::_reflow | ( | ) |
private
Definition at line 224 of file Message.php.
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::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.
Auth_OpenID_Mapping::del | ( | $key | ) |
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.
|
static |
Returns true if $thing is an Auth_OpenID_Mapping object; false if not.
Definition at line 145 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::keys | ( | ) |
Returns an array of the keys in the mapping.
Definition at line 154 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::values | ( | ) |
Returns an array of values in the mapping.
Definition at line 162 of file Message.php.