AlterTableDefinitionStatementsEvent¶
The PSR-14 event
\TYPO3\
allows to intercept the CREATE TABLE
statement from all loaded
extensions.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
API¶
- class AlterTableDefinitionStatementsEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Core\ Database\ Event\ Alter Table Definition Statements Event
Event to intercept the "CREATE TABLE" statement from all loaded extensions.
The $sqlData variable holds a RAW Array of definitions from each file found.
- addSqlData ( ?mixed $data) ¶
-
- param $data
-
the data
- getSqlData ( ) ¶
-
- Returns
-
array
- setSqlData ( array $sqlData) ¶
-
- param $sqlData
-
the sqlData