DatabaseLanguageRows implements FormDataProviderInterface

Add language related data to result array

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Methods

addData()  : array<string|int, mixed>
Fetch default language if handled record is a localized one, unserialize transOrigDiffSourceField if it is defined, fetch additional languages if requested.
getRecordWorkspaceOverlay()  : array<string|int, mixed>
Retrieve the requested row from the database

Methods

addData()

Fetch default language if handled record is a localized one, unserialize transOrigDiffSourceField if it is defined, fetch additional languages if requested.

public addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Tags
throws
DatabaseDefaultLanguageException
Return values
array<string|int, mixed>

getRecordWorkspaceOverlay()

Retrieve the requested row from the database

protected getRecordWorkspaceOverlay(string $tableName, int $uid) : array<string|int, mixed>
Parameters
$tableName : string
$uid : int
Return values
array<string|int, mixed>

        
On this page

Search results