spunQ_ReadonlyMap Class Reference

Implementation of spunQ_Map that will throw an exception on modification. More...

Inheritance diagram for spunQ_ReadonlyMap:

spunQ_Map

List of all members.

Public Member Functions

 setKeysAndValues ($keys, $values)
 add ($key, $value)
 copyFrom (spunQ_Map $otherMap)
 offsetSet ($key, $val)
 Alias for add().
 getAnyKey ()
 getRandomKey ()
 getKeys ()
 getValues ()
 remove ($key)
 removeMultiple (array $keys)
 extract ($keys)
 intersect (spunQ_Map $otherMap)
 equals (spunQ_Map $otherMap)
 isEmpty ()
get ($key)
getByKey ($key)
getByValue ($value)
 getAllKeysByValue ($value)
 getPairs ()
 getSize ()
 toAssociativeArray ()
 keyExists ($key)
 valueExists ($value)
 clear ()
 rewind ()
 Rewinds the internal iterator.
 valid ()
 Checks whether the internal iterator points to a valid position.
 current ()
 Returns the value references by the internal iterator.
 key ()
 Returns the key references by the internal iterator.
 next ()
 Increments the internal iterator.
 offsetExists ($key)
 Alias for keyExists().
 offsetGet ($key)
 Alias for getByKey().
 offsetUnset ($key)
 Alias for remove().

Static Public Member Functions

static emptyMap ()
 Returns an empty read-only map.


Detailed Description

Implementation of spunQ_Map that will throw an exception on modification.

Definition at line 6 of file ReadonlyMap.class.php.


Member Function Documentation

spunQ_Map::current (  )  [inherited]

Returns the value references by the internal iterator.

Returns:
mixed

Definition at line 321 of file Map.class.php.

static spunQ_Map::emptyMap (  )  [static, inherited]

Returns an empty read-only map.

Returns:
spunQ_ReadonlyMap

Definition at line 22 of file Map.class.php.

spunQ_Map::key (  )  [inherited]

Returns the key references by the internal iterator.

Returns:
mixed

Definition at line 333 of file Map.class.php.

spunQ_Map::next (  )  [inherited]

Increments the internal iterator.

Returns:
void

Definition at line 345 of file Map.class.php.

spunQ_Map::rewind (  )  [inherited]

Rewinds the internal iterator.

Returns:
void

Definition at line 302 of file Map.class.php.

spunQ_Map::valid (  )  [inherited]

Checks whether the internal iterator points to a valid position.

Returns:
boolean

Definition at line 312 of file Map.class.php.


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

Generated on Fri Jul 1 11:12:43 2011 for spunQ3 by  doxygen 1.5.9