FileFieldType extends AbstractFieldType implements RelationalFieldTypeInterface
Read onlyYes
FinalYes
This is a field to a "file" (which is very similar to "inline") but with a hard-coded selection to sys_file_reference.
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Interfaces
- RelationalFieldTypeInterface
- Interface for a schema field that has a relation to somewhere else.
Properties
- $configuration : array<string|int, mixed>
- $name : string
- $relations : array<string|int, mixed>
Methods
- __construct() : mixed
- __set_state() : self
- getAllowedFileExtensions() : array<string|int, mixed>
- getConfiguration() : array<string|int, mixed>
- getDefaultValue() : mixed
- getDescription() : string
- getDisallowedFileExtensions() : array<string|int, mixed>
- getDisplayConditions() : array<string|int, mixed>|string
- getLabel() : string
- getName() : string
- getRelations() : array<string|int, ActiveRelation>
- getRelationshipType() : RelationshipType
- getTranslationBehaviour() : FieldTranslationBehaviour
- getType() : string
- isNullable() : bool
- isRequired() : bool
- isType() : bool
- supportsAccessControl() : bool
Properties
$configuration
protected
array<string|int, mixed>
$configuration
$name
protected
string
$name
$relations
protected
array<string|int, mixed>
$relations
Methods
__construct()
public
__construct(string $name, array<string|int, mixed> $configuration, array<string|int, mixed> $relations) : mixed
Parameters
- $name : string
- $configuration : array<string|int, mixed>
- $relations : array<string|int, mixed>
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selfgetAllowedFileExtensions()
public
getAllowedFileExtensions() : array<string|int, mixed>
Return values
array<string|int, mixed>getConfiguration()
public
getConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed>getDefaultValue()
public
getDefaultValue() : mixed
getDescription()
public
getDescription() : string
Return values
stringgetDisallowedFileExtensions()
public
getDisallowedFileExtensions() : array<string|int, mixed>
Return values
array<string|int, mixed>getDisplayConditions()
public
getDisplayConditions() : array<string|int, mixed>|string
Return values
array<string|int, mixed>|stringgetLabel()
public
getLabel() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetRelations()
public
getRelations() : array<string|int, ActiveRelation>
Return values
array<string|int, ActiveRelation>getRelationshipType()
public
getRelationshipType() : RelationshipType
Return values
RelationshipTypegetTranslationBehaviour()
public
getTranslationBehaviour() : FieldTranslationBehaviour
Return values
FieldTranslationBehaviourgetType()
public
getType() : string
Return values
stringisNullable()
public
isNullable() : bool
Return values
boolisRequired()
public
isRequired() : bool
Return values
boolisType()
public
isType(TableColumnType ...$tableColumnTypes) : bool
Parameters
- $tableColumnTypes : TableColumnType
Return values
boolsupportsAccessControl()
public
supportsAccessControl() : bool