Resource

namespace TYPO3\CMS\Core\Resource

Table of Contents

Namespaces

Cache
Collection
Configuration
Driver
Enum
Event
Exception
Filter
Index
OnlineMedia
Processing
Rendering
Search
Security
Service
TextExtraction
Utility

Interfaces

FileCarrierInterface
Marks domain models that carry a FAL resource.
FileInterface
Interface for a file object. This can be any kind of file object, e.g. a processed file (which is not a FAL file), or a file reference object, which is a decorator around a "File" object, but of course without any additional file on the file system.
FolderInterface
Interface for folders
ProcessableFileInterface
Resources that can be processed with TYPO3's imaging pipeline - a FAL File, a FAL FileReference, or a resource outside the File Abstraction Layer (for example a system resource shipped with a package). FileReference does not implement SystemResourceInterface, so this cannot extend it the way ProcessedResourceInterface does - consumers that need SystemResourceInterface-level members (getImageDimension() and friends) narrow with an instanceof check first, same as for File-specific members.
ProcessedResourceInterface
A resource that is the result of processing (resizing, cropping, converting, ...) another, original resource - implemented by both the FAL-backed ProcessedFile and, for resources outside the File Abstraction Layer, ProcessedResource.
ResourceInterface
ResourceStorageInterface
The interface for a resource storage containing all constants

Classes

AbstractFile
Abstract file representation in the file abstraction layer.
Capabilities
The BitSet class is a helper class to manage bit sets. It eases the work with bits and bitwise operations by providing a reliable and tested API.
DefaultUploadFolderResolver
Finds the best matching upload folder for a specific backend user when uploading or selecting files, based on UserTSconfig or PageTSconfig
Exception
An exception when something is wrong with the file handling
File
File representation in the file abstraction layer.
FileCollectionRepository
Repository for accessing file collections stored in the database
FileReference
Representation of a specific usage of a file with possibilities to override certain properties of the original file just for this usage of the file.
FileRepository
Repository for accessing file objects.
Folder
A folder that groups files in a storage. This may be a folder on the local disk, a bucket in Amazon S3 or a user or a tag in Flickr.
ImageSourceResolver
Resolves a string or object image source - a path, a combined FAL identifier, a sys_file(_reference) uid, an EXT:/PKG: system resource identifier, a system resource object (e.g. the result of <f:resource>), or an already-resolved FAL object - into a single processable resource, so consumers (the Fluid image ViewHelpers, and eventually others) do not each carry their own branching for "is this an EXT:/PKG: source or a FAL one".
InaccessibleFolder
A representation for an inaccessible folder.
LocalPath
Model representing an absolute or relative path in the local file system
MetaDataAspect
Aspect that takes care of a file's metadata
MetaDataEventListener
MimeTypeCollection
This class contains a list of all available / known mimetypes and file extensions, and is automatically generated by TYPO3 via Core/Build/Scripts/generateMimeTypes.php
MimeTypeCompatibilityTypeGuesser
Map text/plain to concrete mime types, based on their supplied file extension.
MimeTypeDetector
This class contains a list of all available / known mimetypes and file extensions, and is automatically generated by TYPO3 via Core/Build/Scripts/generateMimeTypes.php
ProcessedFile
Representation of a specific processed version of a file. These are created by the FileProcessingService, which in turn uses helper classes for doing the actual file processing. See there for a detailed description.
ProcessedFileRepository
A repository for accessing and storing processed files.
ProcessedResource
Representation of a specific processed version of a resource that is not backed by the File Abstraction Layer - most commonly a system resource shipped with a package. This is the non-FAL counterpart to ProcessedFile: instances are created by ProcessedResourceCache, which also owns where a rendered variant physically lives - nothing outside that class ever reads this object's local path.
ProcessedResourceCache
Finds and persists ProcessedResource instances - the non-FAL counterpart to ProcessedFileRepository - without a database, keyed by the original resource's own identifier plus a content hash of its current bytes rather than an absolute filesystem path and modification time, which is unstable across a release-based deployment (see unify-fal-and-system-resource-processing.md §3.6 for the rationale).
RelativeCssPathFixer
This fixes import paths in CSS files if their location changes, e.g. when inlining or compressing css
ResourceFactory
Factory class for FAL objects
ResourceStorage
A "mount point" inside the TYPO3 file handling.
StorageRepository
Repository for accessing the file storages configured in config/system/file-storages.yaml
SynchronizeFolderRelations
Event listeners to synchronize folder relations after some action like renaming or moving of a folder, took place.

Traits

ResourceInstructionTrait
Trait for creating skip-instructions for `ResourceConsistencyService::validate()`.

Enums

FileType
On this page