|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ilCopyWizardOptions:Public Member Functions | |
| getRequiredSteps () | |
| saveOwner (int $a_user_id) | |
| Save owner for copy. More... | |
| saveRoot (int $a_root) | |
| Save root node id. More... | |
| isRootNode (int $a_root) | |
| Is root node public. More... | |
| getRootNode () | |
| disableSOAP () | |
| Disable soap calls. More... | |
| disableTreeCopy () | |
| Disable copying of tree. More... | |
| isTreeCopyDisabled () | |
| Check if tree copy is enabled. More... | |
| isSOAPEnabled () | |
| Check if SOAP calls are disabled. More... | |
| checkOwner (int $a_user_id) | |
| check owner More... | |
| getCopyId () | |
| initContainer (int $a_source_id, int $a_target_id) | |
| storeTree (int $a_source_id) | |
| Save tree Stores two copies of the tree structure: id 0 is used for recursive call of cloneObject() id -1 is used for recursive call of cloneDependencies() More... | |
| fetchFirstNode () | |
| Fetch first node for cloneObject. More... | |
| fetchFirstDependenciesNode () | |
| Fetch first dependencies node. More... | |
| dropFirstNodeById (int $a_id) | |
| Drop first node by id. More... | |
| dropFirstNode () | |
| Drop first node (for cloneObject()) More... | |
| dropFirstDependenciesNode () | |
| Drop first node (for cloneDependencies()) More... | |
| getOptions (int $a_source_id) | |
| Get entry by source public. More... | |
| addEntry (int $a_source_id, array $a_options) | |
| Add new entry. More... | |
| appendMapping ($a_source_id, $a_target_id) | |
| Add mapping of source -> target. More... | |
| getMappings () | |
| deleteAll () | |
| read () | |
Static Public Member Functions | |
| static | _getInstance (int $a_copy_id) |
| static | _isFinished (int $a_copy_id) |
| static | _allocateCopyId () |
| Allocate a copy for further entries. More... | |
Data Fields | |
| const | COPY_WIZARD_UNDEFINED = 0 |
| const | COPY_WIZARD_OMIT = 1 |
| const | COPY_WIZARD_COPY = 2 |
| const | COPY_WIZARD_LINK = 3 |
| const | COPY_WIZARD_LINK_TO_TARGET = 4 |
Protected Attributes | |
| const | OWNER_KEY = -3 |
| const | DISABLE_SOAP = -4 |
| const | ROOT_NODE = -5 |
| const | DISABLE_TREE_COPY = -6 |
| ilDBInterface | $db |
| ilTree | $tree |
Private Member Functions | |
| __construct (int $a_copy_id=0) | |
| Private Constructor (Singleton class) More... | |
| fetchFirstNodeById ($a_id) | |
| Get first node of stored tree. More... | |
| readTree (int $a_source_id) | |
| Purge ommitted node recursively private. More... | |
Private Attributes | |
| int | $copy_id |
| array | $options = [] |
| array | $tmp_tree = [] |
Static Private Attributes | |
| static array | $instances = [] |
Definition at line 26 of file class.ilCopyWizardOptions.php.
|
private |
Private Constructor (Singleton class)
Definition at line 51 of file class.ilCopyWizardOptions.php.
Here is the call graph for this function:
|
static |
Allocate a copy for further entries.
Definition at line 100 of file class.ilCopyWizardOptions.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainer\cloneAllObject(), ilObjPortfolioBase\clonePagesAndSettings(), ilObjectCopyGUI\copyMultipleNonContainer(), ilSoapObjectAdministration\copyObject(), and ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects().
Here is the caller graph for this function:
|
static |
Definition at line 64 of file class.ilCopyWizardOptions.php.
Referenced by ilAdvancedMDValues\_cloneValues(), ilObject\_prepareCloneSelection(), ilObject\appendCopyInfo(), ilObjLearningSequence\cloneActivation(), ilContainer\cloneAllObject(), ilLPCollection\cloneCollection(), ilLPCollectionOfRepositoryObjects\cloneCollection(), ilCourseObjectiveMaterials\cloneDependencies(), ilCourseStart\cloneDependencies(), ilObjCategory\cloneDependencies(), ilCourseObjectiveQuestion\cloneDependencies(), ilContainerStartObjects\cloneDependencies(), ilObjectActivation\cloneDependencies(), ilConditionHandler\cloneDependencies(), ilObjCourseGrouping\cloneGrouping(), ilItemGroupItems\cloneItems(), ilEventItems\cloneItems(), ilObjSurveyQuestionPool\cloneObject(), ilObjBookingPool\cloneObject(), ilObjWiki\cloneObject(), ilObjGlossary\cloneObject(), ilObjCourse\cloneObject(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilLOTestAssignment\cloneSettings(), ilLOSettings\cloneSettings(), ilContainerSorting\cloneSorting(), ilLORandomTestQuestionPools\copy(), ilObjContentObject\copyAllPagesAndChapters(), ilObjectCopyGUI\copyMultipleNonContainer(), ilSoapObjectAdministration\copyObject(), ilObjMediaCast\copyOrder(), ilObjContentPage\doCloneObject(), ilObjPortfolioTemplate\doCloneObject(), ilObjDataCollection\doCloneObject(), ilObjBibliographic\doCloneObject(), ilObjPoll\doCloneObject(), ilObjItemGroup\fixContainerItemGroupRefsAfterCloning(), ilContainer\getCompleteDescriptions(), ilAdvancedMDValues\getParentMapping(), ilPCAMDForm\handleCopiedContent(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilObjSurvey\importObject(), ilObjectCopyProgressTableGUI\parse(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilObjFileBasedLM\populateByDirectoy(), ilObjSAHSLearningModule\populateByDirectoy(), ilTestRandomQuestionSetConfig\registerClonedSourcePoolDefinitionIdMapping(), ilCopyWizardOptionsTest\testSingleton(), ilObjForum\update(), ilObjectCopyGUI\updateProgress(), and ilObjContentObject\validatePages().
Here is the caller graph for this function:
|
static |
Definition at line 84 of file class.ilCopyWizardOptions.php.
References $DIC, $ilDB, and $res.
Referenced by ilContainerGUI\cloneAllObject(), and ilObjectCopyGUI\copyContainerToTargets().
Here is the caller graph for this function:| ilCopyWizardOptions::addEntry | ( | int | $a_source_id, |
| array | $a_options | ||
| ) |
Add new entry.
Definition at line 353 of file class.ilCopyWizardOptions.php.
References $res.
Referenced by initContainer().
Here is the caller graph for this function:| ilCopyWizardOptions::appendMapping | ( | $a_source_id, | |
| $a_target_id | |||
| ) |
Add mapping of source -> target.
| int | string | $a_source_id | |
| mixed | $a_target_id |
Definition at line 372 of file class.ilCopyWizardOptions.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and getCopyId().
Referenced by ilSoapUtils\cloneNode(), initContainer(), ilSoapUtils\internalLinkNode(), and ilSoapUtils\linkNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::checkOwner | ( | int | $a_user_id | ) |
check owner
Definition at line 220 of file class.ilCopyWizardOptions.php.
References getOptions().
Here is the call graph for this function:| ilCopyWizardOptions::deleteAll | ( | ) |
| ilCopyWizardOptions::disableSOAP | ( | ) |
Disable soap calls.
Recursive call of ilClone and ilCloneDependencies
Definition at line 169 of file class.ilCopyWizardOptions.php.
References getCopyId().
Here is the call graph for this function:| ilCopyWizardOptions::disableTreeCopy | ( | ) |
Disable copying of tree.
Used for workspace copies
Definition at line 184 of file class.ilCopyWizardOptions.php.
References getCopyId().
Here is the call graph for this function:| ilCopyWizardOptions::dropFirstDependenciesNode | ( | ) |
Drop first node (for cloneDependencies())
Definition at line 332 of file class.ilCopyWizardOptions.php.
References dropFirstNodeById().
Referenced by ilSoapUtils\callNextDependency().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::dropFirstNode | ( | ) |
Drop first node (for cloneObject())
Definition at line 324 of file class.ilCopyWizardOptions.php.
References dropFirstNodeById().
Referenced by ilSoapUtils\callNextNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::dropFirstNodeById | ( | int | $a_id | ) |
Drop first node by id.
Definition at line 296 of file class.ilCopyWizardOptions.php.
References fetchFirstNodeById(), getCopyId(), and read().
Referenced by dropFirstDependenciesNode(), and dropFirstNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::fetchFirstDependenciesNode | ( | ) |
Fetch first dependencies node.
Definition at line 288 of file class.ilCopyWizardOptions.php.
References fetchFirstNodeById().
Here is the call graph for this function:| ilCopyWizardOptions::fetchFirstNode | ( | ) |
Fetch first node for cloneObject.
Definition at line 280 of file class.ilCopyWizardOptions.php.
References fetchFirstNodeById().
Here is the call graph for this function:
|
private |
Get first node of stored tree.
Definition at line 268 of file class.ilCopyWizardOptions.php.
References getOptions().
Referenced by dropFirstNodeById(), fetchFirstDependenciesNode(), and fetchFirstNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::getCopyId | ( | ) |
Definition at line 225 of file class.ilCopyWizardOptions.php.
References $copy_id.
Referenced by appendMapping(), ilSoapUtils\callNextDependency(), ilSoapUtils\callNextNode(), ilSoapUtils\cloneDependencies(), ilSoapUtils\cloneNode(), disableSOAP(), disableTreeCopy(), dropFirstNodeById(), saveOwner(), saveRoot(), and storeTree().
Here is the caller graph for this function:| ilCopyWizardOptions::getMappings | ( | ) |
Definition at line 396 of file class.ilCopyWizardOptions.php.
Referenced by ilSoapUtils\cloneDependencies(), ilSoapUtils\cloneNode(), ilSoapUtils\findMappedReferenceForNode(), ilSoapUtils\internalLinkNode(), and ilSoapUtils\linkNode().
Here is the caller graph for this function:| ilCopyWizardOptions::getOptions | ( | int | $a_source_id | ) |
Get entry by source public.
| int | source ref_id |
Definition at line 342 of file class.ilCopyWizardOptions.php.
Referenced by checkOwner(), ilSoapUtils\cloneNode(), fetchFirstNodeById(), getRootNode(), isRootNode(), and ilSoapUtils\linkNode().
Here is the caller graph for this function:| ilCopyWizardOptions::getRequiredSteps | ( | ) |
Definition at line 72 of file class.ilCopyWizardOptions.php.
| ilCopyWizardOptions::getRootNode | ( | ) |
Definition at line 157 of file class.ilCopyWizardOptions.php.
References getOptions().
Referenced by ilSoapUtils\findMappedReferenceForNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::initContainer | ( | int | $a_source_id, |
| int | $a_target_id | ||
| ) |
Definition at line 230 of file class.ilCopyWizardOptions.php.
References addEntry(), appendMapping(), and COPY_WIZARD_COPY.
Here is the call graph for this function:| ilCopyWizardOptions::isRootNode | ( | int | $a_root | ) |
Is root node public.
| int | ref_id of copy |
Definition at line 152 of file class.ilCopyWizardOptions.php.
References getOptions().
Referenced by ilSoapUtils\rewriteActionForNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::isSOAPEnabled | ( | ) |
Check if SOAP calls are disabled.
Definition at line 209 of file class.ilCopyWizardOptions.php.
Referenced by ilSoapUtils\callNextDependency(), and ilSoapUtils\callNextNode().
Here is the caller graph for this function:| ilCopyWizardOptions::isTreeCopyDisabled | ( | ) |
Check if tree copy is enabled.
Definition at line 198 of file class.ilCopyWizardOptions.php.
| ilCopyWizardOptions::read | ( | ) |
Definition at line 414 of file class.ilCopyWizardOptions.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by __construct(), ilSoapUtils\callNextDependency(), ilSoapUtils\callNextNode(), and dropFirstNodeById().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Purge ommitted node recursively private.
| array | current node |
Definition at line 431 of file class.ilCopyWizardOptions.php.
References ILIAS\Repository\int().
Referenced by storeTree().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyWizardOptions::saveOwner | ( | int | $a_user_id | ) |
Save owner for copy.
It will be checked against this user id in all soap calls
Definition at line 119 of file class.ilCopyWizardOptions.php.
References $DIC, $ilDB, and getCopyId().
Here is the call graph for this function:| ilCopyWizardOptions::saveRoot | ( | int | $a_root | ) |
Save root node id.
Definition at line 134 of file class.ilCopyWizardOptions.php.
References $DIC, $ilDB, and getCopyId().
Here is the call graph for this function:| ilCopyWizardOptions::storeTree | ( | int | $a_source_id | ) |
Save tree Stores two copies of the tree structure: id 0 is used for recursive call of cloneObject() id -1 is used for recursive call of cloneDependencies()
Definition at line 243 of file class.ilCopyWizardOptions.php.
References $tmp_tree, getCopyId(), and readTree().
Here is the call graph for this function:
|
private |
Definition at line 44 of file class.ilCopyWizardOptions.php.
Referenced by getCopyId().
|
protected |
Definition at line 41 of file class.ilCopyWizardOptions.php.
|
staticprivate |
Definition at line 28 of file class.ilCopyWizardOptions.php.
|
private |
Definition at line 45 of file class.ilCopyWizardOptions.php.
|
private |
Definition at line 46 of file class.ilCopyWizardOptions.php.
Referenced by storeTree().
|
protected |
Definition at line 42 of file class.ilCopyWizardOptions.php.
| const ilCopyWizardOptions::COPY_WIZARD_COPY = 2 |
Definition at line 32 of file class.ilCopyWizardOptions.php.
Referenced by ilObjectCopySelectionTableGUI\fillRow(), ilCopyWizardSettingsXMLParser\getActionForString(), ilCopyWizardSettingsXMLParser\handlerBeginTag(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), initContainer(), and ilSoapUtils\rewriteActionForNode().
| const ilCopyWizardOptions::COPY_WIZARD_LINK = 3 |
Definition at line 33 of file class.ilCopyWizardOptions.php.
Referenced by ilObjectCopySelectionTableGUI\fillRow(), ilCopyWizardSettingsXMLParser\getActionForString(), ilCopyWizardSettingsXMLParser\handlerBeginTag(), ilSoapUtils\ilClone(), and ilSoapUtils\ilCloneDependencies().
| const ilCopyWizardOptions::COPY_WIZARD_LINK_TO_TARGET = 4 |
Definition at line 34 of file class.ilCopyWizardOptions.php.
| const ilCopyWizardOptions::COPY_WIZARD_OMIT = 1 |
Definition at line 31 of file class.ilCopyWizardOptions.php.
Referenced by ilObjectCopySelectionTableGUI\fillRow(), ilCopyWizardSettingsXMLParser\getActionForString(), ilSoapUtils\ilClone(), and ilSoapUtils\ilCloneDependencies().
| const ilCopyWizardOptions::COPY_WIZARD_UNDEFINED = 0 |
Definition at line 30 of file class.ilCopyWizardOptions.php.
Referenced by ilSoapUtils\rewriteActionForNode().
|
protected |
Definition at line 37 of file class.ilCopyWizardOptions.php.
|
protected |
Definition at line 39 of file class.ilCopyWizardOptions.php.
|
protected |
Definition at line 36 of file class.ilCopyWizardOptions.php.
|
protected |
Definition at line 38 of file class.ilCopyWizardOptions.php.