Ejemplo n.º 1
0
 function __construct()
 {
     parent::__construct(1);
     // only one skill tree, with ID 1
     $this->setTreeTablePK("skl_tree_id");
     $this->setTableNames('skl_tree', 'skl_tree_node');
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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();
     }
 }
 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();
     }
 }
Ejemplo n.º 6
0
 /**
  * Constructor
  *
  * @param int $a_user_id user id
  */
 function __construct($a_user_id)
 {
     parent::__construct($a_user_id);
     $this->setTableNames('bookmark_tree', 'bookmark_data');
 }
Ejemplo n.º 7
0
 /**
  * Constructor
  */
 function __construct($a_id)
 {
     parent::__construct($a_id);
     $this->setTableNames('sahs_sc13_tree', 'sahs_sc13_tree_node');
     $this->setTreeTablePK("slm_id");
 }
Ejemplo n.º 8
0
 function __construct($a_id)
 {
     parent::__construct($a_id);
     $this->setTreeTablePK("tax_tree_id");
     $this->setTableNames('tax_tree', 'tax_node');
 }