CInbox (Common-Inbox)  0.1
Common functionality for ingesting files for archiving.
Public Member Functions | Public Attributes | Protected Member Functions
TaskRenameTarget Class Reference
Inheritance diagram for TaskRenameTarget:
TaskCopy CITask

List of all members.

Public Member Functions

 __construct (&$CIFolder)
 run ()
 finalize ()

Public Attributes

const TASK_LABEL = 'Rename target to final'
const IS_RECURSIVE = true
 Default (false): one task = one folder. True: The task performs actions on subfolders too.

Protected Member Functions

 mergeFiles ($sourceFolder, $targetFolder)

Detailed Description

Renames the target from temporary to final.

Author:
Peter Bubestinger-Steindl (pb@av-rd.com)
See also:

Member Function Documentation

Actions to be performed *after* run() finished successfully;

Reimplemented from TaskCopy.

TaskRenameTarget::mergeFiles ( sourceFolder,
targetFolder 
) [protected]

Integrates files (not folders!) from $sourceFolder into $targetFolder. Files in source will overwrite files in target folder.

Perform the actual steps of this task.

Reimplemented from CITask.


The documentation for this class was generated from the following file:
 All Classes Functions Variables