FormElementData

Read onlyYes
FinalYes

All information that is need to edit a single record.

This is mainly used as DTO within FormEngine / EditDocumentController.

Internal

not part of TYPO3 Core API

Table of Contents

Properties

$command  : string
$pid  : int
$record  : array<string|int, mixed>
$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

$record

public array<string|int, mixed> $record

$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<string|int, mixed> $record, int $viewId, string $command, int $userPermissionOnPage) : mixed
Parameters
$title : string
$table : string
$uid : int|string
$pid : int
$record : array<string|int, mixed>
$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

Search results