TableDiff

class \TYPO3\CMS\Core\Database\Schema\TableDiff

Extends
TableDiff

Helper methods to handle raw SQL input and transform it into individual statements for further processing.

Table of Contents

Properties

$tableOptions  : array
Platform specific table options

Methods

getTableOption()  : string
getTableOptions()  : array
Getter for table options.
hasTableOption()  : bool
Check if a table options has been set.
isEmpty()  : bool
setTableOptions()  : TableDiff
Setter for table options

Properties

$tableOptions

Platform specific table options

protected array $tableOptions = []

Methods

getTableOption()

public getTableOption(string $optionName) : string

Parameters

$optionName : string

Return values

string

getTableOptions()

Getter for table options.

public getTableOptions() : array

Return values

array

hasTableOption()

Check if a table options has been set.

public hasTableOption(string $optionName) : bool

Parameters

$optionName : string

Return values

bool

isEmpty()

public isEmpty() : bool

Return values

bool

setTableOptions()

Setter for table options

public setTableOptions(array $tableOptions) : TableDiff

Parameters

$tableOptions : array

Return values

TableDiff
On this page