Function descriptions
Function “lmb_renameFile()”
lmb_renameFile
boolean lmb_renameFile(numeric $ID, string $newname, $level=null)
Function for renaming a file in the DMS (./limbas_src/extra/explorer/filestructure.lib)
Parameters
Summary of the parameters:
- $ID : ID of the file that should be changed
- $newname : New name
- $level : Folder ID if available
$ID
ID of the file that should be changed
$newname
The name to which the file should be renamed. The physical file name is not changed but the database entry.
$level
The folder ID can be provided optionally. If not available it is called internally.
Return value
TRUE if successful