DeclaredCollations

final readonly class \TYPO3\CMS\Reports\Report\Status\DeclaredCollations

The CHARACTER SET / COLLATE declarations of the expected schema. A table or column whose collation deviates from the connection's defaultTableOptions on purpose - for example sys_refindex.hash using "CHARACTER SET ascii COLLATE ascii_bin" - is declared here and must not be reported as error.

Table of Contents

Methods

fromTables()  : self
isColumnCollationDeclared()  : bool
A column without a declaration of its own falls back to the declaration of its table.
isTableCollationDeclared()  : bool

Methods

fromTables()

public static fromTables(iterable<string|int, Table> $tables) : self

Parameters

$tables : iterable<string|int, Table>

Return values

self

isColumnCollationDeclared()

A column without a declaration of its own falls back to the declaration of its table.

public isColumnCollationDeclared(string $tableName, string $columnName, string $collation) : bool

Parameters

$tableName : string
$columnName : string
$collation : string

Return values

bool

isTableCollationDeclared()

public isTableCollationDeclared(string $tableName, string $collation) : bool

Parameters

$tableName : string
$collation : string

Return values

bool
On this page