$oneTablePerLocale
$oneTablePerLocale :
Base class for database records, without form managment nor load/store functions
Supplies table creation tools, but does not automatically aggregate dbRecord's basic fields (like uid, creation_date, etc.) The user is responsible for the full definition of his table.
createSQLTable(integer $showSQL, $html = array(), boolean $importInitializationData = false) : integer
Creates the SQL table for this record in the database.
If you have set $oneTablePerLocale to true, the function will only create the table for the currently defined locale. If you want to create different tables for different locales, you will have to alter the locale value in $mf->info['data_editing_locale'] prior creating a table for the desired locale.
integer | $showSQL | generate HTML showing the result of the SQL request and feed the $html array passed by reference with it |
$html | ||
boolean | $importInitializationData | Fill the table with initialization data after creation if this data is available |
returns 1 if successful creation, 0 otherwise.