PassiveRelation
Read onlyYes
FinalYes
A relation from another field / schema.
Examples:
- A table "tx_myextension_author" has a passive relation FROM the table "tx_books" and its field "authors".
- A TCA table of type inline has a passthrough field in the child table, and that's a PASSIVE relation FROM the parent table.
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Properties
- $flexPointer : string|null
- $fromField : string|null
- $fromTable : string
Methods
- __construct() : mixed
- __set_state() : self
- fromField() : string|null
- fromTable() : string
Properties
$flexPointer
protected
string|null
$flexPointer
$fromField
protected
string|null
$fromField
$fromTable
protected
string
$fromTable
Methods
__construct()
public
__construct(string $fromTable, string|null $fromField, string|null $flexPointer) : mixed
Parameters
- $fromTable : string
- $fromField : string|null
- $flexPointer : string|null
__set_state()
public
static __set_state(array<string|int, mixed> $state) : self
Parameters
- $state : array<string|int, mixed>
Return values
selffromField()
public
fromField() : string|null
Return values
string|nullfromTable()
public
fromTable() : string