PassiveRelation

final readonly class \TYPO3\CMS\Core\Schema\PassiveRelation

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.

Table of Contents

Methods

__construct()  : mixed
__set_state()  : self
fromField()  : string|null
fromTable()  : string

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 $state) : self

Parameters

$state : array

Return values

self

fromField()

public fromField() : string|null

Return values

string|null

fromTable()

public fromTable() : string

Return values

string
On this page