Auth_OpenID_Mapping Class Reference

List of all members.


Detailed Description

An Auth_OpenID_Mapping maintains a mapping from arbitrary keys to arbitrary values. (This is unlike an ordinary PHP array, whose keys may be only simple scalars.)

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)

Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Thu Feb 19 15:03:26 2009 for OXID eShop CE by  doxygen 1.5.5