TcaSiteLanguage extends AbstractDatabaseRecordProvider implements FormDataProviderInterface

Resolve and prepare site language data

Internal

This FormDataProvider is only used in the site configuration module and is not public API

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Methods

__construct()  : mixed
addData()  : array<string|int, mixed>
Add form data to result array
injectConnectionPool()  : void
addInlineFirstPid()  : array<string|int, mixed>
addInlineRelatedConfig()  : array<string|int, mixed>
addUniquePossibleRecords()  : array<string|int, mixed>
compileChild()  : array<string|int, mixed>
compileDefaultSiteLanguageChild()  : array<string|int, mixed>
getDatabaseRow()  : array<string|int, mixed>
Retrieve the requested row from the database
getDefaultDatabaseRow()  : array<string|int, mixed>
Create the database row for the default site language based on an already existing default language from another site.
getRecordFromDatabase()  : array<string|int, mixed>
Fetch a record from database. Deleted records will NOT be fetched.
initializeAppearance()  : array<string|int, mixed>
initializeMinMaxItems()  : array<string|int, mixed>
resolveSiteLanguageChildren()  : array<string|int, mixed>

Methods

addData()

Add form data to result array

public addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>

Initialized result array

Return values
array<string|int, mixed>

Result filled with more data

addInlineFirstPid()

protected addInlineFirstPid(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

addInlineRelatedConfig()

protected addInlineRelatedConfig(array<string|int, mixed> $result, string $fieldName) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$fieldName : string
Return values
array<string|int, mixed>

addUniquePossibleRecords()

protected addUniquePossibleRecords(array<string|int, mixed> $result, string $fieldName) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$fieldName : string
Return values
array<string|int, mixed>

compileChild()

protected compileChild(array<string|int, mixed> $result, string $parentFieldName, int $childUid) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$parentFieldName : string
$childUid : int
Return values
array<string|int, mixed>

compileDefaultSiteLanguageChild()

protected compileDefaultSiteLanguageChild(array<string|int, mixed> $result, string $parentFieldName) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$parentFieldName : string
Return values
array<string|int, mixed>

getDatabaseRow()

Retrieve the requested row from the database

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

getDefaultDatabaseRow()

Create the database row for the default site language based on an already existing default language from another site.

protected getDefaultDatabaseRow() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRecordFromDatabase()

Fetch a record from database. Deleted records will NOT be fetched.

protected getRecordFromDatabase(string $tableName, int $uid) : array<string|int, mixed>

Method is similar to BackendUtility::getRecord, but is more picky about input and result.

Parameters
$tableName : string

The table name to fetch record from

$uid : int

Uid of record to fetch

Tags
throws
DatabaseRecordException|InvalidArgumentException|UnexpectedValueException|RuntimeException
Return values
array<string|int, mixed>

Fetched record row

initializeAppearance()

protected initializeAppearance(array<string|int, mixed> $result, string $fieldName) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$fieldName : string
Return values
array<string|int, mixed>

initializeMinMaxItems()

protected initializeMinMaxItems(array<string|int, mixed> $result, string $fieldName) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$fieldName : string
Return values
array<string|int, mixed>

resolveSiteLanguageChildren()

protected resolveSiteLanguageChildren(array<string|int, mixed> $result, string $fieldName) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>
$fieldName : string
Return values
array<string|int, mixed>

        
On this page

Search results