TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Resource\StorageRepository Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\StorageRepository:
TYPO3\CMS\Core\Resource\AbstractRepository TYPO3\CMS\Extbase\Persistence\RepositoryInterface TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 findByUid ($uid)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Resource\AbstractRepository
 __construct ()
 
 add ($object)
 
 remove ($object)
 
 replace ($existingObject, $newObject)
 
 update ($modifiedObject)
 
 getAddedObjects ()
 
 getRemovedObjects ()
 
 findAll ()
 
 countAll ()
 
 removeAll ()
 
 findByUid ($uid)
 
 setDefaultOrderings (array $defaultOrderings)
 
 setDefaultQuerySettings (\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface $defaultQuerySettings)
 
 createQuery ()
 
 findByIdentifier ($identifier)
 
 __call ($method, $arguments)
 
 getEntityClassName ()
 

Protected Member Functions

 initializeLocalCache ()
 
 createDomainObject (array $databaseRow)
 
 testCaseSensitivity ($absolutePath)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Resource\AbstractRepository
 createDomainObject (array $databaseRow)
 
 getWhereClauseForEnabledFields ()
 
 getEnvironmentMode ()
 
 getDatabaseConnection ()
 

Protected Attributes

 $objectType = 'TYPO3\\CMS\\Core\\Resource\\ResourceStorage'
 
 $table = 'sys_file_storage'
 
 $typeField = 'driver'
 
 $driverField = 'driver'
 
 $logger
 
 $db
 
- Protected Attributes inherited from TYPO3\CMS\Core\Resource\AbstractRepository
 $table = ''
 
 $factory
 
 $typeField = ''
 
 $type = ''
 

Static Protected Attributes

static $storageRowCache = NULL
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Repository for accessing the file mounts

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 22 of file StorageRepository.php.

Member Function Documentation

◆ createDomainObject()

TYPO3\CMS\Core\Resource\StorageRepository::createDomainObject ( array  $databaseRow)
protected

Creates an object managed by this repository.

Parameters
array$databaseRow
Returns
ResourceStorage

Definition at line 233 of file StorageRepository.php.

◆ findByUid()

TYPO3\CMS\Core\Resource\StorageRepository::findByUid (   $uid)
Parameters
integer$uid
Returns
NULL|ResourceStorage

Implements TYPO3\CMS\Extbase\Persistence\RepositoryInterface.

Definition at line 73 of file StorageRepository.php.

References $uid, and TYPO3\CMS\Core\Resource\StorageRepository\initializeLocalCache().

◆ initializeLocalCache()

◆ testCaseSensitivity()

TYPO3\CMS\Core\Resource\StorageRepository::testCaseSensitivity (   $absolutePath)
protected

Test if the local filesystem is case sensitive

Parameters
string$absolutePath
Returns
boolean

Definition at line 243 of file StorageRepository.php.

Referenced by TYPO3\CMS\Core\Resource\StorageRepository\initializeLocalCache().

Member Data Documentation

◆ $db

TYPO3\CMS\Core\Resource\StorageRepository::$db
protected

Definition at line 57 of file StorageRepository.php.

◆ $driverField

TYPO3\CMS\Core\Resource\StorageRepository::$driverField = 'driver'
protected

Definition at line 47 of file StorageRepository.php.

◆ $logger

TYPO3\CMS\Core\Resource\StorageRepository::$logger
protected

Definition at line 52 of file StorageRepository.php.

◆ $objectType

TYPO3\CMS\Core\Resource\StorageRepository::$objectType = 'TYPO3\\CMS\\Core\\Resource\\ResourceStorage'
protected

Definition at line 32 of file StorageRepository.php.

◆ $storageRowCache

TYPO3\CMS\Core\Resource\StorageRepository::$storageRowCache = NULL
staticprotected

Definition at line 27 of file StorageRepository.php.

◆ $table

TYPO3\CMS\Core\Resource\StorageRepository::$table = 'sys_file_storage'
protected

Definition at line 37 of file StorageRepository.php.

◆ $typeField

TYPO3\CMS\Core\Resource\StorageRepository::$typeField = 'driver'
protected

Definition at line 42 of file StorageRepository.php.