EditableCollectionInterface

Interface for collection classes which es enabled to be modified

Table of Contents

Methods

add()  : mixed
Adds on entry to the collection
addAll()  : mixed
Adds a set of entries to the collection
remove()  : mixed
Remove the given entry from collection
removeAll()  : mixed
Removes all entries from the collection

Methods

add()

Adds on entry to the collection

public add(mixed $data) : mixed
Parameters
$data : mixed

remove()

Remove the given entry from collection

public remove(mixed $data) : mixed

Note: not the given "index"

Parameters
$data : mixed

removeAll()

Removes all entries from the collection

public removeAll() : mixed

collection will be empty afterwards


        
On this page

Search results