Function “lmb_renameFile()”

Geschätzte Lektüre: 1 Minute

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

Share this Doc

Function “lmb_renameFile()”

Or copy link

CONTENTS