From Version 5.21.0-beta-2
Table Names
Column Names
obj setNewName( string $newName )
The method setNewName()
is part of the Structured Schema Management suite, and is used in methods that set new names for objects. The method is only applicable to the 'table' and 'column' objects.
The new name to be provided to the method
$t = new metaObjectStructure($dict,'employees'); $t->setNewName('new-employees'); $sql = $dict->renameTableSql($t);