====== setNewName ====== ~~NOTOC~~ **From Version 5.21.0-beta-2** == See Also == [[v5:dictionary:structure:introduction|Structured Schema Management]]\\ == Applies To == Table Names\\ Column Names\\ == Syntax == 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. ------------------------------------ ===== Parameters ===== ==== $newName ==== The new name to be provided to the method ===== Usage ===== $t = new metaObjectStructure($dict,'employees'); $t->setNewName('new-employees'); $sql = $dict->renameTableSql($t);