Start instance of base class, load configuration and establish database connection. Please don't call the constructor direcly, use the singleton pattern instead.
Tests given structural template name for uniqueness. Takes the structural template name as first argument and an optional structural template id as second argument. If the structural template id is given, this structural template won't be considered when checking for uniqueness (useful for updates).
Returns boolean true if structural template name is unique.
int updateStructuralTemplate(
int
$id, array
$sqlData)
Updates structural template. Takes the structural template id as first argument, a field=>value array with the new structural template data as second argument.