FusionDirectory
|
This class contains all function to copy and paste. More...
Public Member Functions | |
__construct () | |
Create CP handler. | |
add_to_queue ($dn, $action, $type) | |
Entry entry to Copy & Paste queue. A Queue entry is represented as follows. array['method'] - 'copy' or 'cut' array['dn'] - the dn of the object added to the queue array['type'] - Object type. More... | |
cleanup_queue () | |
This removes all objects from queue. Remove hdd dumps of current entries too. Remove entries older than 24 hours. | |
resetPaste () | |
This resets the queue to allow pasting again. | |
entries_queued () | |
Check if there are still entries the object queue. | |
update () | |
Update state and return FALSE if the dialog was closed. | |
render () | |
Displays a dialog which allows the user to fix all dependencies of this object. Create unique names, ids, or what ever. | |
last_entry () | |
Get the last endited entry. More... | |
readPost () | |
Save new values posted by copy & paste dialog. | |
generatePasteIcon () | |
Generate the paste icon for headpages. More... | |
Protected Member Functions | |
load_entry_from_ldap ($entry) | |
Paste one entry from LDAP. | |
Protected Attributes | |
$objectList = [] | |
This array contains all dns of the currently copied objects. | |
$queue = [] | |
This array contains all remaining objects to paste. | |
$lastdn = '' | |
The dn of the last edited object. | |
This class contains all function to copy and paste.
Definition at line 30 of file class_CopyPasteHandler.inc.
add_to_queue | ( | $dn, | |
$action, | |||
$type | |||
) |
Entry entry to Copy & Paste queue. A Queue entry is represented as follows. array['method'] - 'copy' or 'cut' array['dn'] - the dn of the object added to the queue array['type'] - Object type.
String | $dn | The dn of the object added to the queue |
String | $action | Copy or Cut |
String | $type | the type of the object |
Definition at line 73 of file class_CopyPasteHandler.inc.
References logging\debug().
generatePasteIcon | ( | ) |
Generate the paste icon for headpages.
Definition at line 326 of file class_CopyPasteHandler.inc.
References entries_queued().
last_entry | ( | ) |
Get the last endited entry.
Definition at line 289 of file class_CopyPasteHandler.inc.
References $lastdn.