‪TYPO3CMS  9.5
TYPO3\CMS\Core\Collection\NameableCollectionInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Collection\NameableCollectionInterface:
TYPO3\CMS\Core\Collection\RecordCollectionInterface TYPO3\CMS\Core\Collection\AbstractRecordCollection TYPO3\CMS\Core\Category\Collection\CategoryCollection TYPO3\CMS\Core\Collection\StaticRecordCollection TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection TYPO3\CMS\Frontend\Category\Collection\CategoryCollection TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection TYPO3\CMS\Core\Resource\Collection\FolderBasedFileCollection TYPO3\CMS\Core\Resource\Collection\StaticFileCollection

Public Member Functions

 setTitle ($title)
 
 setDescription ($description)
 
string getTitle ()
 
 getDescription ()
 

Detailed Description

Marker interface for a collection class with title and description

Collections might be used internally as well as being shown With the nameable interface a title and a description are added to an collection, allowing every collection implementing Nameable being display by the same logic.

Definition at line 25 of file NameableCollectionInterface.php.

Member Function Documentation

◆ getDescription()

TYPO3\CMS\Core\Collection\NameableCollectionInterface::getDescription ( )

Getter for the description

Implemented in TYPO3\CMS\Core\Collection\AbstractRecordCollection.

◆ getTitle()

string TYPO3\CMS\Core\Collection\NameableCollectionInterface::getTitle ( )

Getter for the title

Returns
‪string

Implemented in TYPO3\CMS\Core\Collection\AbstractRecordCollection.

◆ setDescription()

TYPO3\CMS\Core\Collection\NameableCollectionInterface::setDescription (   $description)

Setter for the description

Parameters
string$description

Implemented in TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection, and TYPO3\CMS\Core\Collection\AbstractRecordCollection.

◆ setTitle()

TYPO3\CMS\Core\Collection\NameableCollectionInterface::setTitle (   $title)

Setter for the title

Parameters
string$title

Implemented in TYPO3\CMS\Core\Collection\AbstractRecordCollection.