Function “lmb_moveFile()”

Estimated reading: 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