TYPO3
7.6
|
Public Member Functions | |
setDescription ($description) | |
setTitle ($title) | |
fromArray (array $array) | |
getItemsCriteria () | |
setItemsCriteria ($itemsCriteria) | |
add (\TYPO3\CMS\Core\Resource\FileInterface $data) | |
removeAll () | |
Public Member Functions inherited from AbstractRecordCollection | |
__construct () | |
current () | |
next () | |
key () | |
valid () | |
rewind () | |
serialize () | |
unserialize ($serialized) | |
count () | |
getTitle () | |
getUid () | |
getDescription () | |
setTitle ($title) | |
setDescription ($desc) | |
getItemTableName () | |
setItemTableName ($tableName) | |
usort ($callbackFunction) | |
moveItemAt ($currentPosition, $newPosition=0) | |
getIdentifier () | |
setIdentifier ($id) | |
toArray () | |
fromArray (array $array) | |
Public Member Functions inherited from PersistableCollectionInterface | |
persist () | |
loadContents () | |
Protected Member Functions | |
getPersistableDataArray () | |
Protected Member Functions inherited from AbstractRecordCollection | |
getPersistableDataArray () | |
getItemUidList ($includeTableName=true) | |
Protected Attributes | |
$itemsCriteria | |
$itemTableName = 'sys_file' | |
Protected Attributes inherited from AbstractRecordCollection | |
$uid = 0 | |
$title | |
$description | |
$itemTableName | |
$storage | |
Static Protected Attributes | |
static | $storageTableName = 'sys_file_collection' |
static | $type |
static | $itemsCriteriaField |
Static Protected Attributes inherited from AbstractRecordCollection | |
static | $storageTableName = 'sys_collection' |
static | $storageItemsField = 'items' |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractRecordCollection | |
static | load ($id, $fillItems=false) |
static | create (array $collectionRecord, $fillItems=false) |
Abstract collection.
Definition at line 20 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
add | ( | \TYPO3\CMS\Core\Resource\FileInterface | $data | ) |
Adds a file to this collection.
\TYPO3\CMS\Core\Resource\FileInterface | $data |
Definition at line 200 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
Referenced by CategoryBasedFileCollection\loadContents(), and FolderBasedFileCollection\loadContents().
fromArray | ( | array | $array | ) |
Similar to method in , but without $this->itemTableName= $array['table_name'], but with $this->storageItemsFieldContent = $array[self::$storageItemsField];
array | $array |
Definition at line 167 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
getItemsCriteria | ( | ) |
Gets ths items criteria.
Definition at line 180 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
References AbstractFileCollection\$itemsCriteria.
Referenced by AbstractFileCollection\getPersistableDataArray(), and CategoryBasedFileCollection\loadContents().
|
protected |
Returns an array of the persistable properties and contents which are processable by TCEmain.
Definition at line 114 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
References AbstractRecordCollection\getDescription(), AbstractFileCollection\getItemsCriteria(), and AbstractRecordCollection\getTitle().
removeAll | ( | ) |
Removes all elements of the current collection.
Definition at line 239 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
setDescription | ( | $description | ) |
Sets the description.
string | $description |
Implements NameableCollectionInterface.
Definition at line 65 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
References AbstractRecordCollection\$description.
setItemsCriteria | ( | $itemsCriteria | ) |
Sets the items criteria.
mixed | $itemsCriteria |
Definition at line 190 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
References AbstractFileCollection\$itemsCriteria.
setTitle | ( | $title | ) |
Sets the title.
string | $title |
Implements NameableCollectionInterface.
Definition at line 75 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
References AbstractRecordCollection\$title.
|
protected |
Definition at line 51 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
Referenced by AbstractFileCollection\getItemsCriteria(), and AbstractFileCollection\setItemsCriteria().
|
staticprotected |
Definition at line 43 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
|
protected |
Definition at line 58 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
|
staticprotected |
Definition at line 27 of file core/Classes/Resource/Collection/AbstractFileCollection.php.
|
staticprotected |
Definition at line 35 of file core/Classes/Resource/Collection/AbstractFileCollection.php.