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


PHP ilTree::__construct方法代码示例

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


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

示例1:

 function __construct()
 {
     parent::__construct(1);
     // only one skill tree, with ID 1
     $this->setTreeTablePK("skl_tree_id");
     $this->setTableNames('skl_tree', 'skl_tree_node');
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:7,代码来源:class.ilSkillTree.php

示例2: __construct

 public function __construct($a_tree_id)
 {
     parent::__construct($a_tree_id, self::lookupRootId($a_tree_id));
     $this->setObjectTablePK('obj_id');
     $this->setTableNames('ecs_cms_tree', 'ecs_cms_data');
     $this->useCache(false);
 }
开发者ID:arlendotcn,项目名称:ilias,代码行数:7,代码来源:class.ilECSCmsTree.php

示例3: __construct

 public function __construct()
 {
     parent::__construct(self::ROOT_UNIT_ID);
     $this->tree_id = self::TREE_ID;
     $this->table_tree = 'org_unit_tree';
     $this->table_obj_data = 'org_unit_data';
     $this->table_obj_reference = '';
     $this->tree_pk = 'tree';
     $this->obj_pk = 'ou_id';
     $this->ref_pk = '';
     $this->gap = 0;
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:12,代码来源:class.ilOrgUnitTree.php

示例4: __construct

 public function __construct($a_tree_id, $a_root_id = 0)
 {
     parent::__construct($a_tree_id, $a_root_id);
     $this->setTableNames('tree_workspace', 'object_data', 'object_reference_ws');
     $this->setTreeTablePK('tree');
     $this->setObjectTablePK('obj_id');
     $this->setReferenceTablePK('wsp_id');
     // ilTree sets it to ROOT_FOLDER_ID if not given...
     if (!$a_root_id) {
         $this->readRootId();
     }
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:12,代码来源:class.ilWorkspaceTree.php

示例5: __construct

 public function __construct($a_tree_id, $a_root_id = 0)
 {
     parent::__construct($a_tree_id, $a_root_id);
     $this->table_tree = 'tree_workspace';
     $this->table_obj_data = 'object_data';
     $this->table_obj_reference = 'object_reference_ws';
     $this->ref_pk = 'wsp_id';
     $this->obj_pk = 'obj_id';
     $this->tree_pk = 'tree';
     // ilTree sets it to ROOT_FOLDER_ID if not given...
     if (!$a_root_id) {
         $this->root_id = $this->readRootId();
     }
 }
开发者ID:khanhnnvn,项目名称:ilias_E-learning,代码行数:14,代码来源:class.ilWorkspaceTree.php

示例6:

 /**
  * Constructor
  *
  * @param int $a_user_id user id
  */
 function __construct($a_user_id)
 {
     parent::__construct($a_user_id);
     $this->setTableNames('bookmark_tree', 'bookmark_data');
 }
开发者ID:arlendotcn,项目名称:ilias,代码行数:10,代码来源:class.ilBookmarkTree.php

示例7:

 /**
  * Constructor
  */
 function __construct($a_id)
 {
     parent::__construct($a_id);
     $this->setTableNames('sahs_sc13_tree', 'sahs_sc13_tree_node');
     $this->setTreeTablePK("slm_id");
 }
开发者ID:arlendotcn,项目名称:ilias,代码行数:9,代码来源:class.ilSCORM2004Tree.php

示例8:

 function __construct($a_id)
 {
     parent::__construct($a_id);
     $this->setTreeTablePK("tax_tree_id");
     $this->setTableNames('tax_tree', 'tax_node');
 }
开发者ID:arlendotcn,项目名称:ilias,代码行数:6,代码来源:class.ilTaxonomyTree.php


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