Start instance of base class, load configuration and establish database connection. Please don't call the constructor direcly, use the singleton pattern instead.
Removes generator form field from the generator form field table. Takes the generator form field id as first argument. Returns amount of affected rows.
Tests given generator field name for uniqueness. Takes the field name as first argument and an array consisting of form id and an optional field id as second argument. If the field id is given, this field won't be considered when checking for uniqueness (useful for updates).
int updateGeneratorFormField(
int
$id, array
$sqlData)
Updates generator form field. Takes the generator form field id as first argument, a field=>value array with the new generator form data as second argument. Returns amount of affected rows.