TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Resource\FileCollectionRepository Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\FileCollectionRepository:
TYPO3\CMS\Core\Collection\RecordCollectionRepository

Public Member Functions

 findByUid ($uid)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Collection\RecordCollectionRepository
 findByUid ($uid)
 
 findAll ()
 
 findByTableName ($tableName)
 
 findByType ($type)
 
 findByTypeAndTableName ($type, $tableName)
 
 deleteByUid ($uid)
 

Protected Member Functions

 createDomainObject (array $record)
 
 getFileFactory ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Collection\RecordCollectionRepository
 queryMultipleRecords (array $conditions=array())
 
 createDomainObject (array $record)
 
 createMultipleDomainObjects (array $data)
 
 getDatabaseConnection ()
 

Protected Attributes

 $table = 'sys_file_collection'
 
 $typeField = 'type'
 
- Protected Attributes inherited from TYPO3\CMS\Core\Collection\RecordCollectionRepository
 $table = 'sys_collection'
 
 $typeField = 'type'
 
 $tableField = 'table_name'
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Core\Collection\RecordCollectionRepository
const TYPE_Static = 'static'
 

Detailed Description

Repository for accessing the collections stored in the database

Author
Andreas Wolf andre.nosp@m.as.w.nosp@m.olf@i.nosp@m.kt-w.nosp@m.erk.d.nosp@m.e
Ingmar Schlecht ingma.nosp@m.r@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 25 of file FileCollectionRepository.php.

Member Function Documentation

◆ createDomainObject()

TYPO3\CMS\Core\Resource\FileCollectionRepository::createDomainObject ( array  $record)
protected

Creates a record collection domain object.

Parameters
array$recordDatabase record to be reconsituted
Returns
Collection

Definition at line 59 of file FileCollectionRepository.php.

References TYPO3\CMS\Core\Resource\FileCollectionRepository\getFileFactory().

◆ findByUid()

TYPO3\CMS\Core\Resource\FileCollectionRepository::findByUid (   $uid)

Finds a record collection by uid.

Parameters
integer$uidThe uid to be looked up
Returns
NULL|Collection
Exceptions
ResourceDoesNotExistException

Definition at line 44 of file FileCollectionRepository.php.

References $uid.

◆ getFileFactory()

TYPO3\CMS\Core\Resource\FileCollectionRepository::getFileFactory ( )
protected

Gets the file factory.

Returns
ResourceFactory

Definition at line 68 of file FileCollectionRepository.php.

Referenced by TYPO3\CMS\Core\Resource\FileCollectionRepository\createDomainObject().

Member Data Documentation

◆ $table

TYPO3\CMS\Core\Resource\FileCollectionRepository::$table = 'sys_file_collection'
protected

Definition at line 30 of file FileCollectionRepository.php.

◆ $typeField

TYPO3\CMS\Core\Resource\FileCollectionRepository::$typeField = 'type'
protected

Definition at line 35 of file FileCollectionRepository.php.