TYPO3  7.6
Public Member Functions | List of all members
EditableCollectionInterface Interface Reference
Inheritance diagram for EditableCollectionInterface:
CategoryCollection StaticRecordCollection CategoryCollection

Public Member Functions

 add ($data)
 
 addAll (CollectionInterface $other)
 
 remove ($data)
 
 removeAll ()
 

Detailed Description

Interface for collection classes which es enabled to be modified

Definition at line 20 of file EditableCollectionInterface.php.

Member Function Documentation

add (   $data)

Adds on entry to the collection

Parameters
mixed$data
Returns
void

Implemented in CategoryCollection, and StaticRecordCollection.

addAll ( CollectionInterface  $other)

Adds a set of entries to the collection

Parameters
CollectionInterface$other
Returns
void

Implemented in CategoryCollection, and StaticRecordCollection.

remove (   $data)

Remove the given entry from collection

Note: not the given "index"

Parameters
mixed$data
Returns
void

Implemented in CategoryCollection, and StaticRecordCollection.

removeAll ( )

Removes all entries from the collection

collection will be empty afterwards

Returns
void

Implemented in CategoryCollection, and StaticRecordCollection.