Function “lmb_moveFile()”

Geschätzte Lektüre: 1 Minute

lmb_moveFile

boolean lmb_moveFile(numeric $ID, numeric $level, array $dublicates=null)

Function for moving a file in the DMS (./limbas_src/extra/explorer/filestructure.lib)

An array can also be provided as a parameter for moving multiple files.

Parameters

Summary of the parameters:

  • $ID : ID of the file that should be moved
  • $level : Target folder
  • $dublicates : Handling of duplicates

$ID

ID of the file that should be moved

$level

Target folder ID

$duplicate

Instructions if the file is a duplicate

  • $dublicate[“typ”]  : overwrite, rename, versioning, skip
  • $dublicate[“subj”] : version notice if versioning

Return value

TRUE if successful

Share this Doc

Function “lmb_moveFile()”

Or copy link

CONTENTS