You are browsing the old Contao 3 extension repository. Contao 3 is no longer maintained as of June 2019! You can find the Contao 4 extensions on extensions.contao.org.
Extensions > DC_DynamicTable
Dynamic Table Driver
Allows the creation of a dynamic table data container driver (support file)
This is a support file primarily used to allows DataContainers to be auto-loaded and mapped to a dynamic table name at run-time. The purpose of this driver is to allow the develop to create 1 DCA container with a callback that changes the tablename and the accompanying DCA (Data Container Array). The oncreate_callback allows you to redirect the data container creation to your custom class/method.
This method must:
- Setup the DCA and languages for the desired tablename
- return the table name that will be used to create the DataContainer (instead of the one specified in the DCA file it was called from)
- First release implements callback for FormAuto