Class KeyValueCollection

Class KeyValueCollection

AbstractCollection implements IteratorAggregate, Countable
KeyValueCollection

Indirect known subclasses

UrlRewriteCollection

Package: Shared
Category: System
Located at Shared/KeyValueCollection.inc.php

Methods summary

public __construct( array $keyValueArray )

Class Constructor

public getValue( string $p_keyName ) : mixed

Get the value that corresponds to the provided key.

public keyExists( string $p_keyName ) : boolean

Check if a given key exists within the collection.

protected _getValidType( void ) : string

Get valid item type.

protected _addToCollectionContentArray( array $keyValueArray )

Add the passed key value array to the collection content array.

Methods inherited from AbstractCollection

_add(), _getExceptionText(), _itemIsValid(), count(), getArray(), getItem(), getIterator(), isEmpty()

Properties summary

Properties inherited from AbstractCollection

$collectionContentArray