ActiveRelation
Read onlyYes
FinalYes
A relation to another field / schema.
An example:
- A field "authors" in table "books" has an active relation to the field "written_books" in table "tx_myextension_author"
- A field "assets" in table "tt_content" has an active relation TO "sys_file_reference.uid".
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Properties
Methods
- __construct() : mixed
- __set_state() : self
- toField() : string|null
- toTable() : string
Properties
$toField
protected
string|null
$toField
$toTable
protected
string
$toTable
Methods
__construct()
public
__construct(string $toTable, string|null $toField) : mixed
Parameters
- $toTable : string
- $toField : string|null
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selftoField()
public
toField() : string|null
Return values
string|nulltoTable()
public
toTable() : string