‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection:
TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection TYPO3\CMS\Core\Collection\AbstractRecordCollection TYPO3\CMS\Core\Collection\AbstractRecordCollection TYPO3\CMS\Core\Collection\SortableCollectionInterface TYPO3\CMS\Core\Collection\PersistableCollectionInterface TYPO3\CMS\Core\Collection\RecordCollectionInterface TYPO3\CMS\Core\Collection\RecordCollectionInterface TYPO3\CMS\Core\Collection\SortableCollectionInterface TYPO3\CMS\Core\Collection\PersistableCollectionInterface TYPO3\CMS\Core\Collection\RecordCollectionInterface TYPO3\CMS\Core\Collection\RecordCollectionInterface

Public Member Functions

 loadContents ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection
 setDescription ($description)
 
string key ()
 
array toArray ()
 
array getItems ()
 
 fromArray (array $array)
 
mixed getItemsCriteria ()
 
 setItemsCriteria ($itemsCriteria)
 
 add (FileInterface $data)
 
 addAll (CollectionInterface $other)
 
 remove (File $file)
 
 removeAll ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Collection\AbstractRecordCollection
 __construct ()
 
T null current ()
 
 next ()
 
bool valid ()
 
 rewind ()
 
 __serialize ()
 
 __unserialize (array $arrayRepresentation)
 
int count ()
 
string getTitle ()
 
int getUid ()
 
string getDescription ()
 
 setTitle ($title)
 
string getItemTableName ()
 
 setItemTableName ($tableName)
 
 usort ($callbackFunction)
 
 moveItemAt ($currentPosition, $newPosition=0)
 
int getIdentifier ()
 
 setIdentifier ($id)
 
 persist ()
 

Protected Attributes

string $itemTableName = 'sys_category'
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection
mixed $itemsCriteria
 
string $itemTableName = 'sys_file'
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Collection\AbstractRecordCollection
int $uid = 0
 
string $title
 
string $description
 
string $itemTableName
 
SplDoublyLinkedList $storage
 

Static Protected Attributes

static string $storageTableName = 'sys_file_collection'
 
static string $type = 'categories'
 
static string $itemsCriteriaField = 'category'
 
- ‪Static Protected Attributes inherited from ‪TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection
static string $storageTableName = 'sys_file_collection'
 
static string $type
 
static string $itemsCriteriaField
 
- ‪Static Protected Attributes inherited from ‪TYPO3\CMS\Core\Collection\AbstractRecordCollection
static string $storageItemsField = 'items'
 
static string $storageTableName = ''
 

Additional Inherited Members

- ‪Static Public Member Functions inherited from ‪TYPO3\CMS\Core\Collection\AbstractRecordCollection
static CollectionInterface load ($id, $fillItems=false)
 
static CollectionInterface create (array $collectionRecord, $fillItems=false)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection
string getItemUidList ($includeTableName=false)
 
array getPersistableDataArray ()
 
- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Collection\AbstractRecordCollection
static getCollectionDatabaseTable ()
 

Detailed Description

A collection containing a set files belonging to certain categories. This collection is persisted to the database with the accordant category identifiers.

Definition at line 27 of file CategoryBasedFileCollection.php.

Member Function Documentation

◆ loadContents()

TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection::loadContents ( )

Member Data Documentation

◆ $itemsCriteriaField

string TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection::$itemsCriteriaField = 'category'
staticprotected

Definition at line 39 of file CategoryBasedFileCollection.php.

◆ $itemTableName

string TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection::$itemTableName = 'sys_category'
protected

Definition at line 43 of file CategoryBasedFileCollection.php.

◆ $storageTableName

string TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection::$storageTableName = 'sys_file_collection'
staticprotected

Definition at line 31 of file CategoryBasedFileCollection.php.

◆ $type

string TYPO3\CMS\Core\Resource\Collection\CategoryBasedFileCollection::$type = 'categories'
staticprotected

Definition at line 35 of file CategoryBasedFileCollection.php.