Class EditableCollection

Class EditableCollection

AbstractCollection implements IteratorAggregate, Countable
EditableCollection
Package: Shared
Category: System
Located at Shared/EditableCollection.php

Methods summary

public setItem( integer|IntType $index, mixed $value ) :

Sets an item to the collection. If the index already exists, the value gets override.

public addItem( mixed $value ) :

Adds a new item to the collection.

public addCollection( EditableCollection $collection ) :

Add another collection to this one.

public getClone( void )

Return a clone of the current editable key value collection instance.

protected _getValidType( void ) : string

Get valid type.

Methods inherited from AbstractCollection

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

Properties summary

Properties inherited from AbstractCollection

$collectionContentArray