|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Taxonomy node. More...
Collaboration diagram for ilTaxonomyNode:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor @access public. More... | |
| setTitle ($a_title) | |
| Set title. More... | |
| getTitle () | |
| Get title. More... | |
| setType ($a_type) | |
| Set type. More... | |
| getType () | |
| Get type. More... | |
| setId ($a_id) | |
| Set Node ID. More... | |
| getId () | |
| Get Node ID. More... | |
| setOrderNr ($a_val) | |
| Set order nr. More... | |
| getOrderNr () | |
| Get order nr. More... | |
| setTaxonomyId ($a_val) | |
| Set taxonomy id. More... | |
| getTaxonomyId () | |
| Get taxonomy id. More... | |
| read () | |
| Read data from database. More... | |
| create () | |
| Create taxonomy node. More... | |
| update () | |
| Update Node. More... | |
| delete () | |
| Delete taxonomy node. More... | |
| copy ($a_tax_id=0) | |
| Copy taxonomy node. More... | |
Static Public Member Functions | |
| static | _lookupTitle ($a_obj_id) |
| Lookup Title. More... | |
| static | putInTree ( $a_tax_id, $a_node, $a_parent_id="", $a_target_node_id="", $a_order_nr=0) |
| Put this node into the taxonomy tree. More... | |
| static | writeOrderNr ($a_node_id, $a_order_nr) |
| Write order nr. More... | |
| static | writeTitle ($a_node_id, $a_title) |
| Write title. More... | |
| static | getNextOrderNr ($a_tax_id, $a_parent_id) |
| Put this node into the taxonomy tree. More... | |
| static | fixOrderNumbers ($a_tax_id, $a_parent_id) |
| Fix order numbers. More... | |
Data Fields | |
| $type | |
| $id | |
| $title | |
Static Protected Member Functions | |
| static | _lookup ($a_obj_id, $a_field) |
| Lookup. More... | |
Protected Attributes | |
| $db | |
| ilTaxonomyNode::__construct | ( | $a_id = 0 | ) |
Constructor @access public.
Definition at line 29 of file class.ilTaxonomyNode.php.
References $DIC, read(), and setType().
Here is the call graph for this function:
|
staticprotected |
Lookup.
| int | Node ID |
Definition at line 247 of file class.ilTaxonomyNode.php.
References $DIC, $ilDB, and $query.
Referenced by _lookupTitle().
Here is the caller graph for this function:
|
static |
Lookup Title.
| int | node ID |
Definition at line 267 of file class.ilTaxonomyNode.php.
References $DIC, $ilDB, and _lookup().
Referenced by ilObjTaxonomyGUI\deleteItems(), and ilTaxSelectInputGUI\getTitleForNodeId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaxonomyNode::copy | ( | $a_tax_id = 0 | ) |
Copy taxonomy node.
Definition at line 225 of file class.ilTaxonomyNode.php.
References getOrderNr(), getTaxonomyId(), getTitle(), and getType().
Here is the call graph for this function:| ilTaxonomyNode::create | ( | ) |
Create taxonomy node.
Definition at line 168 of file class.ilTaxonomyNode.php.
References $db, $id, $ilDB, $query, getOrderNr(), getTaxonomyId(), getTitle(), getType(), and setId().
Here is the call graph for this function:| ilTaxonomyNode::delete | ( | ) |
Delete taxonomy node.
Definition at line 209 of file class.ilTaxonomyNode.php.
References $db, $ilDB, $query, ilTaxNodeAssignment\deleteAllAssignmentsOfNode(), and getId().
Here is the call graph for this function:
|
static |
Fix order numbers.
return
Definition at line 379 of file class.ilTaxonomyNode.php.
References $c, ilUtil\sortArray(), and writeOrderNr().
Referenced by ilObjTaxonomyGUI\confirmedDelete(), ilObjTaxonomyGUI\pasteItems(), ilObjTaxonomyGUI\saveSorting(), and ilObjTaxonomyGUI\saveTaxNode().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaxonomyNode::getId | ( | ) |
|
static |
Put this node into the taxonomy tree.
Definition at line 354 of file class.ilTaxonomyNode.php.
References $c.
Referenced by ilObjTaxonomyGUI\saveTaxNode().
Here is the caller graph for this function:| ilTaxonomyNode::getOrderNr | ( | ) |
Get order nr.
Definition at line 121 of file class.ilTaxonomyNode.php.
Referenced by copy(), create(), and update().
Here is the caller graph for this function:| ilTaxonomyNode::getTaxonomyId | ( | ) |
Get taxonomy id.
Definition at line 141 of file class.ilTaxonomyNode.php.
Referenced by copy(), and create().
Here is the caller graph for this function:| ilTaxonomyNode::getTitle | ( | ) |
| ilTaxonomyNode::getType | ( | ) |
Get type.
Definition at line 81 of file class.ilTaxonomyNode.php.
References $type.
Referenced by copy(), and create().
Here is the caller graph for this function:
|
static |
Put this node into the taxonomy tree.
Definition at line 279 of file class.ilTaxonomyNode.php.
References $target, and IL_FIRST_NODE.
Referenced by ilObjTaxonomy\cloneNodes(), ilTaxonomyDataSet\importRecord(), and ilObjTaxonomyGUI\saveTaxNode().
Here is the caller graph for this function:| ilTaxonomyNode::read | ( | ) |
Read data from database.
Definition at line 149 of file class.ilTaxonomyNode.php.
References $db, $ilDB, $query, setOrderNr(), setTaxonomyId(), setTitle(), and setType().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaxonomyNode::setId | ( | $a_id | ) |
Set Node ID.
| int | Node ID |
Definition at line 91 of file class.ilTaxonomyNode.php.
Referenced by create().
Here is the caller graph for this function:| ilTaxonomyNode::setOrderNr | ( | $a_val | ) |
Set order nr.
| int | $a_val | order nr |
Definition at line 111 of file class.ilTaxonomyNode.php.
Referenced by read().
Here is the caller graph for this function:| ilTaxonomyNode::setTaxonomyId | ( | $a_val | ) |
Set taxonomy id.
| int | $a_val | taxonomy id |
Definition at line 131 of file class.ilTaxonomyNode.php.
Referenced by read().
Here is the caller graph for this function:| ilTaxonomyNode::setTitle | ( | $a_title | ) |
Set title.
| string | $a_title | title |
Definition at line 51 of file class.ilTaxonomyNode.php.
Referenced by read().
Here is the caller graph for this function:| ilTaxonomyNode::setType | ( | $a_type | ) |
Set type.
| string | Type |
Definition at line 71 of file class.ilTaxonomyNode.php.
References $a_type.
Referenced by __construct(), and read().
Here is the caller graph for this function:| ilTaxonomyNode::update | ( | ) |
Update Node.
Definition at line 194 of file class.ilTaxonomyNode.php.
References $db, $ilDB, $query, getId(), getOrderNr(), and getTitle().
Here is the call graph for this function:
|
static |
Write order nr.
return
Definition at line 319 of file class.ilTaxonomyNode.php.
Referenced by fixOrderNumbers(), and ilObjTaxonomyGUI\saveSorting().
Here is the caller graph for this function:
|
static |
Write title.
return
Definition at line 338 of file class.ilTaxonomyNode.php.
Referenced by ilObjTaxonomyGUI\saveSorting().
Here is the caller graph for this function:
|
protected |
| ilTaxonomyNode::$id |
Definition at line 22 of file class.ilTaxonomyNode.php.
| ilTaxonomyNode::$title |
Definition at line 23 of file class.ilTaxonomyNode.php.
Referenced by getTitle().
| ilTaxonomyNode::$type |
Definition at line 21 of file class.ilTaxonomyNode.php.
Referenced by getType().