当前位置: 首页>>代码示例>>PHP>>正文


PHP ilObject::cloneDependencies方法代码示例

本文整理汇总了PHP中ilObject::cloneDependencies方法的典型用法代码示例。如果您正苦于以下问题:PHP ilObject::cloneDependencies方法的具体用法?PHP ilObject::cloneDependencies怎么用?PHP ilObject::cloneDependencies使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ilObject的用法示例。


在下文中一共展示了ilObject::cloneDependencies方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: cloneDependencies

 function cloneDependencies($a_target_id, $a_copy_id)
 {
     return parent::cloneDependencies($a_target_id, $a_copy_id);
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:4,代码来源:class.ilObject2.php

示例2: cloneDependencies

 /**
  * Clone object dependencies (container sorting)
  *
  * @access public
  * @param int target ref id of new course
  * @param int copy id
  * return bool 
  */
 public function cloneDependencies($a_target_id, $a_copy_id)
 {
     global $ilLog;
     parent::cloneDependencies($a_target_id, $a_copy_id);
     include_once './Services/Container/classes/class.ilContainerSorting.php';
     ilContainerSorting::_getInstance($this->getId())->cloneSorting($a_target_id, $a_copy_id);
     // fix item group references in page content
     include_once "./Modules/ItemGroup/classes/class.ilObjItemGroup.php";
     ilObjItemGroup::fixContainerItemGroupRefsAfterCloning($this, $a_copy_id);
     include_once 'Services/Object/classes/class.ilObjectLP.php';
     $olp = ilObjectLP::getInstance($this->getId());
     $collection = $olp->getCollectionInstance();
     if ($collection) {
         $collection->cloneCollection($a_target_id, $a_copy_id);
     }
     return true;
 }
开发者ID:bheyser,项目名称:qplskl,代码行数:25,代码来源:class.ilContainer.php

示例3: cloneDependencies

 /**
  * Clone dependencies
  *  
  * @param int target id ref_id of new session
  * @param int copy_id
  * @return
  */
 public function cloneDependencies($a_target_id, $a_copy_id)
 {
     global $ilObjDataCache;
     parent::cloneDependencies($a_target_id, $a_copy_id);
     $target_obj_id = $ilObjDataCache->lookupObjId($a_target_id);
     include_once './Modules/Session/classes/class.ilEventItems.php';
     $session_materials = new ilEventItems($target_obj_id);
     $session_materials->cloneItems($this->getId(), $a_copy_id);
     return true;
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:17,代码来源:class.ilObjSession.php

示例4: cloneDependencies

 /**
  * Clone object dependencies (container sorting)
  *
  * @access public
  * @param int target ref id of new course
  * @param int copy id
  * return bool 
  */
 public function cloneDependencies($a_target_id, $a_copy_id)
 {
     parent::cloneDependencies($a_target_id, $a_copy_id);
     include_once './Services/Container/classes/class.ilContainerSorting.php';
     ilContainerSorting::_getInstance($this->getId())->cloneSorting($a_target_id, $a_copy_id);
     // fix item group references in page content
     include_once "./Modules/ItemGroup/classes/class.ilObjItemGroup.php";
     ilObjItemGroup::fixContainerItemGroupRefsAfterCloning($this, $a_copy_id);
     return true;
 }
开发者ID:khanhnnvn,项目名称:ilias_E-learning,代码行数:18,代码来源:class.ilContainer.php


注:本文中的ilObject::cloneDependencies方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。