ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor public. More... | |
setTitle (string $a_title) | |
getTitle () | |
setType (string $a_type) | |
getType () | |
setId (int $a_id) | |
getId () | |
setOrderNr (int $a_val) | |
getOrderNr () | |
setTaxonomyId (int $a_val) | |
getTaxonomyId () | |
read () | |
create () | |
update () | |
delete () | |
copy (int $a_tax_id=0) | |
Static Public Member Functions | |
static | _lookupTitle (int $a_obj_id) |
static | putInTree (int $a_tax_id, ilTaxonomyNode $a_node, int $a_parent_id=0, int $a_target_node_id=0, int $a_order_nr=0) |
static | writeOrderNr (int $a_node_id, int $a_order_nr) |
static | writeTitle (int $a_node_id, string $a_title) |
Write title. More... | |
static | getNextOrderNr (int $a_tax_id, int $a_parent_id) |
Put this node into the taxonomy tree. More... | |
static | fixOrderNumbers (int $a_tax_id, int $a_parent_id) |
Data Fields | |
string | $type |
int | $id |
string | $title |
Static Protected Member Functions | |
static | _lookup (int $a_obj_id, string $a_field) |
Protected Attributes | |
ilDBInterface | $db |
int | $order_nr = 0 |
int | $taxonomy_id |
array | $data_record = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Taxonomy node
Definition at line 23 of file class.ilTaxonomyNode.php.
ilTaxonomyNode::__construct | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 37 of file class.ilTaxonomyNode.php.
References $DIC, read(), and setType().
|
staticprotected |
Definition at line 181 of file class.ilTaxonomyNode.php.
|
static |
Definition at line 196 of file class.ilTaxonomyNode.php.
Referenced by ilObjTaxonomyGUI\deleteItems(), and ilTaxSelectInputGUI\getTitleForNodeId().
ilTaxonomyNode::copy | ( | int | $a_tax_id = 0 | ) |
Definition at line 164 of file class.ilTaxonomyNode.php.
References getOrderNr(), getTaxonomyId(), getTitle(), and getType().
ilTaxonomyNode::create | ( | ) |
Definition at line 117 of file class.ilTaxonomyNode.php.
References $db, $ilDB, getOrderNr(), getTaxonomyId(), getTitle(), getType(), and setId().
ilTaxonomyNode::delete | ( | ) |
Definition at line 152 of file class.ilTaxonomyNode.php.
References $db, $ilDB, ilTaxNodeAssignment\deleteAllAssignmentsOfNode(), and getId().
|
static |
Definition at line 286 of file class.ilTaxonomyNode.php.
References $c, and ilArrayUtil\sortArray().
Referenced by ilObjTaxonomyGUI\confirmedDelete(), ilObjTaxonomyGUI\pasteItems(), ilObjTaxonomyGUI\saveSorting(), and ilObjTaxonomyGUI\saveTaxNode().
ilTaxonomyNode::getId | ( | ) |
Definition at line 76 of file class.ilTaxonomyNode.php.
References $id.
Referenced by delete(), putInTree(), and update().
|
static |
Put this node into the taxonomy tree.
Definition at line 267 of file class.ilTaxonomyNode.php.
References $c, and ILIAS\Repository\int().
Referenced by ilObjTaxonomyGUI\saveTaxNode().
ilTaxonomyNode::getOrderNr | ( | ) |
ilTaxonomyNode::getTaxonomyId | ( | ) |
Definition at line 96 of file class.ilTaxonomyNode.php.
References $taxonomy_id.
Referenced by copy(), and create().
ilTaxonomyNode::getTitle | ( | ) |
ilTaxonomyNode::getType | ( | ) |
Definition at line 66 of file class.ilTaxonomyNode.php.
References $type.
Referenced by copy(), and create().
|
static |
Definition at line 201 of file class.ilTaxonomyNode.php.
References getId(), and ilTree\POS_FIRST_NODE.
Referenced by ilObjTaxonomy\cloneNodes(), ilTaxonomyDataSet\importRecord(), and ilObjTaxonomyGUI\saveTaxNode().
ilTaxonomyNode::read | ( | ) |
Definition at line 101 of file class.ilTaxonomyNode.php.
References $db, $ilDB, setOrderNr(), setTaxonomyId(), setTitle(), and setType().
Referenced by __construct().
ilTaxonomyNode::setId | ( | int | $a_id | ) |
Definition at line 71 of file class.ilTaxonomyNode.php.
Referenced by create().
ilTaxonomyNode::setOrderNr | ( | int | $a_val | ) |
Definition at line 81 of file class.ilTaxonomyNode.php.
Referenced by read().
ilTaxonomyNode::setTaxonomyId | ( | int | $a_val | ) |
Definition at line 91 of file class.ilTaxonomyNode.php.
Referenced by read().
ilTaxonomyNode::setTitle | ( | string | $a_title | ) |
Definition at line 51 of file class.ilTaxonomyNode.php.
Referenced by read().
ilTaxonomyNode::setType | ( | string | $a_type | ) |
Definition at line 61 of file class.ilTaxonomyNode.php.
Referenced by __construct(), and read().
ilTaxonomyNode::update | ( | ) |
Definition at line 140 of file class.ilTaxonomyNode.php.
References $db, $ilDB, getId(), getOrderNr(), and getTitle().
|
static |
Definition at line 235 of file class.ilTaxonomyNode.php.
Referenced by ilObjTaxonomyGUI\saveSorting().
|
static |
Write title.
Definition at line 251 of file class.ilTaxonomyNode.php.
Referenced by ilObjTaxonomyGUI\saveSorting().
|
protected |
Definition at line 31 of file class.ilTaxonomyNode.php.
|
protected |
int ilTaxonomyNode::$id |
Definition at line 27 of file class.ilTaxonomyNode.php.
Referenced by getId().
|
protected |
Definition at line 29 of file class.ilTaxonomyNode.php.
Referenced by getOrderNr().
|
protected |
Definition at line 30 of file class.ilTaxonomyNode.php.
Referenced by getTaxonomyId().
string ilTaxonomyNode::$title |
Definition at line 28 of file class.ilTaxonomyNode.php.
Referenced by getTitle().
string ilTaxonomyNode::$type |
Definition at line 26 of file class.ilTaxonomyNode.php.
Referenced by getType().