FormElementData

final readonly class \TYPO3\CMS\Backend\Dto\FormElementData

All information that is need to edit a single record.

This is mainly used as DTO within FormEngine / EditDocumentController.

Table of Contents

Properties

$command  : string
$pid  : int
$record  : array
$table  : string
$title  : string
Is loaded with the "title" of the currently "open document" used for the open document toolbar
$uid  : int|string
$viewId  : int

Methods

__construct()  : mixed
hasDeleteAccess()  : bool
Determine if delete button can be shown
isSavedRecord()  : bool
True if a record has been saved

Properties

$title

Is loaded with the "title" of the currently "open document" used for the open document toolbar

public string $title

Methods

__construct()

public __construct(string $title, string $table, int|string $uid, int $pid, array $record, int $viewId, string $command, int $userPermissionOnPage) : mixed

Parameters

$title : string
$table : string
$uid : int|string
$pid : int
$record : array
$viewId : int
$command : string
$userPermissionOnPage : int

hasDeleteAccess()

Determine if delete button can be shown

public hasDeleteAccess() : bool

Return values

bool

isSavedRecord()

True if a record has been saved

public isSavedRecord() : bool

Return values

bool
On this page