Content - News Menu - Ressources Menu - Sitemap - Share your code - Code library - Reference
Formidable is part of the TYPO3 Project and is supported by Ameos
Designed to insert / update records into the given table.
This datahandler works by default in CREATION mode. This means that it will insert form-data into the given table. To make it work in EDITION mode, when invoking Formidable, give the uid of the record you need to edit as the third parameter.
Like this:
| path | data type | req | def | uobj | description |
|---|---|---|---|---|---|
| tableName | string | X | The table in the database. | ||
| keyName | string | X | The uid column in the database. | ||
| i18n/ | |||||
| i18n/use | boolean | false | If true, the datahandler will activate the i18n logic when handling records. | ||
| i18n/defLangUid | int | X | UID for the default language; should be 0 in most of the cases. | ||
| i18n/updateChildsOnSave | todo | todo | |||
| editEntry | int | X | UID of record to edit, if any. | ||
| process/ | |||||
| process/beforeInsertion | runneable | X |
Alters the array of data, before insertion into the database.
| ||
| process/afterInsertion | runneable | X |
Alters the array of data, after insertion into the database.
| ||
| process/beforeEdition | runneable | X |
Alters the array of data, before insertion into the database, only if the record already exists in the database.
| ||
| process/afterEdition | runneable | X |
Alters the array of data, after insertion into the database, only if the record already exists in the database.
| ||
| process/beforeCreation | runneable | X |
Alters the array of data, before insertion into the database, only if the record don't exists in the database and is about to be created.
| ||
| process/afterCreation | runneable | X |
Alters the array of data, after insertion into the database, only if the record has just been created.
| ||
Provided by Ameos