AlterTableDefinitionStatementsEvent
FinalYes
Event to intercept the "CREATE TABLE" statement from all loaded extensions.
The $sqlData variable holds a RAW Array of definitions from each file found.
Table of Contents
Methods
- __construct() : mixed
- addSqlData() : void
- getSqlData() : array<string|int, mixed>
- setSqlData() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $sqlData) : mixed
Parameters
- $sqlData : array<string|int, mixed>
addSqlData()
public
addSqlData(mixed $data) : void
Parameters
- $data : mixed
getSqlData()
public
getSqlData() : array<string|int, mixed>
Return values
array<string|int, mixed>setSqlData()
public
setSqlData(array<string|int, mixed> $sqlData) : void
Parameters
- $sqlData : array<string|int, mixed>