renameById

Description

This function can be used to rename the given element. Returns true when successful.

Syntax

element.renameById( id, newName );

Arguments

id: This is the id for the desired element.
newName: The new name of the element. This name must be unique. This operation will physically rename all the files associated to this element.

Related Topics 

Element