TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FileCollectionRepository Class Reference
Inheritance diagram for FileCollectionRepository:
RecordCollectionRepository

Public Member Functions

 findByUid ($uid)
 
- Public Member Functions inherited from 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 RecordCollectionRepository
 queryMultipleRecords (array $conditions=array())
 
 createDomainObject (array $record)
 
 createMultipleDomainObjects (array $data)
 
 getDatabaseConnection ()
 

Protected Attributes

 $table = 'sys_file_collection'
 
 $typeField = 'type'
 
- Protected Attributes inherited from RecordCollectionRepository
 $table = 'sys_collection'
 
 $typeField = 'type'
 
 $tableField = 'table_name'
 

Additional Inherited Members

- Public Attributes inherited from RecordCollectionRepository
const TYPE_Static = 'static'
 

Detailed Description

Repository for accessing the collections stored in the database

Definition at line 22 of file FileCollectionRepository.php.

Member Function Documentation

createDomainObject ( array  $record)
protected

Creates a record collection domain object.

Parameters
array$recordDatabase record to be reconsituted
Returns
Collection

Definition at line 57 of file FileCollectionRepository.php.

References FileCollectionRepository\getFileFactory().

findByUid (   $uid)

Finds a record collection by uid.

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

Definition at line 41 of file FileCollectionRepository.php.

getFileFactory ( )
protected

Gets the file factory.

Returns
ResourceFactory

Definition at line 67 of file FileCollectionRepository.php.

Referenced by FileCollectionRepository\createDomainObject().

Member Data Documentation

$table = 'sys_file_collection'
protected

Definition at line 27 of file FileCollectionRepository.php.

$typeField = 'type'
protected

Definition at line 32 of file FileCollectionRepository.php.