Class EditableKeyValueCollection
Class EditableKeyValueCollection
-
AbstractCollection
implements
IteratorAggregate,
Countable
-
┗
KeyValueCollection
-
┗
EditableKeyValueCollection
Methods summary
public
setValue( string $p_keyName, mixed $p_value )
Set new key-value pair.
Parameters
public
addCollection( KeyValueCollection $collection )
:
Add another collection to this one.
Add another collection to this one.
Parameters
$collection
- Collection to add.
Returns
$this Same instance to make chained method calls possible.
public
deleteValue( string $p_key )
:
Deletes an value from the collection by the given key.
Deletes an value from the collection by the given key.
Parameters
$p_key
- Key of the value that should gets delete.
Returns
$this Same instance to make chained method calls possible.
public
getClone( void )
Return a clone of the current editable key value collection instance.
Return a clone of the current editable key value collection instance.
__construct(),
_addToCollectionContentArray(),
_getValidType(),
getValue(),
keyExists()
_add(),
_getExceptionText(),
_itemIsValid(),
count(),
getArray(),
getItem(),
getIterator(),
isEmpty()
Properties summary
$collectionContentArray