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".
Internal

This is an experimental implementation and might change until TYPO3 v13 LTS

Table of Contents

Properties

$toField  : string|null
$toTable  : string

Methods

__construct()  : mixed
__set_state()  : self
toField()  : string|null
toTable()  : string

Properties

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
self

toField()

public toField() : string|null
Return values
string|null

toTable()

public toTable() : string
Return values
string

        
On this page

Search results