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.

Internal

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

$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
self

getAllowedFileExtensions()

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
string

getDisallowedFileExtensions()

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>|string

getLabel()

public getLabel() : string
Return values
string

getName()

public getName() : string
Return values
string

getType()

public getType() : string
Return values
string

isNullable()

public isNullable() : bool
Return values
bool

isRequired()

public isRequired() : bool
Return values
bool

supportsAccessControl()

public supportsAccessControl() : bool
Return values
bool

        
On this page

Search results