5 require_once
"Services/Object/classes/class.ilObject2.php";
6 require_once
"Services/Object/classes/class.ilObjectActivation.php";
32 global $tree, $objDefinition;
35 $this->obj_def = $objDefinition;
169 $ilLog->write(__METHOD__.
': Cloning item group dependencies -'.$a_source_id.
'-');
173 include_once(
'./Modules/ItemGroup/classes/class.ilItemGroupItems.php');
175 $ig_items->cloneItems($this->
getRefId(), $a_copy_id);
190 $ilLog->write(__METHOD__.
': Fix item group references in '.$a_source_container->getType());
192 include_once(
'Services/CopyWizard/classes/class.ilCopyWizardOptions.php');
194 $mappings = $cwo->getMappings();
196 $new_container_ref_id = $mappings[$a_source_container->getRefId()];
197 $ilLog->write(__METHOD__.
': 2-'.$new_container_ref_id.
'-');
200 include_once(
"./Services/COPage/classes/class.ilPageObject.php");
203 $new_page =
new ilPageObject($a_source_container->getType(), $new_container_obj_id);
205 include_once(
"./Services/COPage/classes/class.ilPCResources.php");