| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Taxonomy node <-> item assignment. More...
 Collaboration diagram for ilTaxNodeAssignment:
 Collaboration diagram for ilTaxNodeAssignment:| Public Member Functions | |
| __construct ($a_component_id, $a_obj_id, $a_item_type, $a_tax_id) | |
| Constructor. | |
| getComponentId () | |
| Get component id. | |
| getItemType () | |
| Get item type. | |
| getTaxonomyId () | |
| Get taxonomy id. | |
| setObjectId ($a_val) | |
| Set object id. | |
| getObjectId () | |
| Get object id. | |
| getAssignmentsOfNode ($a_node_id) | |
| Get assignments of node. | |
| getAssignmentsOfItem ($a_item_id) | |
| Get assignments for item. | |
| addAssignment ($a_node_id, $a_item_id, $a_order_nr=0) | |
| Add assignment. | |
| deleteAssignment ($a_node_id, $a_item_id) | |
| Delete assignment. | |
| getMaxOrderNr ($a_node_id) | |
| Get maximum order number. | |
| setOrderNr ($a_node_id, $a_item_id, $a_order_nr) | |
| Set order nr. | |
| deleteAssignmentsOfItem ($a_item_id) | |
| Delete assignments of item. | |
| deleteAssignmentsOfNode ($a_node_id) | |
| Delete assignments of node. | |
| fixOrderNr ($a_node_id) | |
| Fix Order Nr. | |
| Static Public Member Functions | |
| static | deleteAllAssignmentsOfNode ($a_node_id) | 
| Delete assignments of node. | |
| Protected Member Functions | |
| setComponentId ($a_val) | |
| Set component id. | |
| setItemType ($a_val) | |
| Set item type. | |
| setTaxonomyId ($a_val) | |
| Set taxonomy id. | |
Taxonomy node <-> item assignment.
This class allows to assign items to taxonomy nodes.
/
Definition at line 17 of file class.ilTaxNodeAssignment.php.
| ilTaxNodeAssignment::__construct | ( | $a_component_id, | |
| $a_obj_id, | |||
| $a_item_type, | |||
| $a_tax_id | |||
| ) | 
Constructor.
| string | $a_component_id | component id (e.g. "glo" for Modules/Glossary) | 
| int | $a_obj_id | repository object id of the object that is responsible for the assignment | 
| string | $a_item_type | item type (e.g. "term", must be unique component wide) | 
| int | $a_tax_id | taxonomy id | 
| ilTaxonomyException | 
Definition at line 28 of file class.ilTaxNodeAssignment.php.
References setComponentId(), setItemType(), setObjectId(), and setTaxonomyId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTaxNodeAssignment::addAssignment | ( | $a_node_id, | |
| $a_item_id, | |||
| $a_order_nr = 0 | |||
| ) | 
Add assignment.
| int | $a_node_id | node id | 
| int | $a_item_id | item id | 
| int | $a_order_nr | order nr | 
| ilTaxonomyException | 
Definition at line 205 of file class.ilTaxNodeAssignment.php.
References getComponentId(), getItemType(), getMaxOrderNr(), getObjectId(), and getTaxonomyId().
Referenced by ilTaxonomyDataSet\importRecord().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete assignments of node.
| int | $a_node_id | node id | 
Definition at line 381 of file class.ilTaxNodeAssignment.php.
Referenced by ilTaxonomyNode\delete().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::deleteAssignment | ( | $a_node_id, | |
| $a_item_id | |||
| ) | 
Delete assignment.
| int | $a_node_id | node id | 
| int | $a_item_id | item id | 
| ilTaxonomyException | 
Definition at line 267 of file class.ilTaxNodeAssignment.php.
References getTaxonomyId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTaxNodeAssignment::deleteAssignmentsOfItem | ( | $a_item_id | ) | 
Delete assignments of item.
| int | $a_item_id | item id | 
Definition at line 346 of file class.ilTaxNodeAssignment.php.
References getTaxonomyId().
Referenced by ilGlossaryTermGUI\updateTerm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::deleteAssignmentsOfNode | ( | $a_node_id | ) | 
Delete assignments of node.
| int | $a_node_id | node id | 
Definition at line 364 of file class.ilTaxNodeAssignment.php.
References getComponentId(), getItemType(), and getObjectId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTaxNodeAssignment::fixOrderNr | ( | $a_node_id | ) | 
Fix Order Nr.
Definition at line 393 of file class.ilTaxNodeAssignment.php.
References getComponentId(), getItemType(), getObjectId(), and getTaxonomyId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | final | 
Get assignments for item.
| int | $a_item_id | item id | 
Definition at line 178 of file class.ilTaxNodeAssignment.php.
References getObjectId(), and getTaxonomyId().
Referenced by ilGlossaryTermGUI\getEditTermForm(), and ilTestRandomQuestionSetSourcePoolTaxonomiesDuplicator\transferAssignmentsFromOriginalToDuplicatedTaxonomy().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | final | 
Get assignments of node.
| int | $a_node_id | node id | 
Definition at line 137 of file class.ilTaxNodeAssignment.php.
References getComponentId(), getItemType(), getObjectId(), and getTaxonomyId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilTaxNodeAssignment::getComponentId | ( | ) | 
Get component id.
Definition at line 66 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment(), deleteAssignmentsOfNode(), fixOrderNr(), getAssignmentsOfNode(), and setOrderNr().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::getItemType | ( | ) | 
Get item type.
Definition at line 86 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment(), deleteAssignmentsOfNode(), fixOrderNr(), getAssignmentsOfNode(), and setOrderNr().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::getMaxOrderNr | ( | $a_node_id | ) | 
Get maximum order number.
| @return | 
Definition at line 303 of file class.ilTaxNodeAssignment.php.
References getTaxonomyId().
Referenced by addAssignment().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::getObjectId | ( | ) | 
Get object id.
Definition at line 126 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment(), deleteAssignmentsOfNode(), fixOrderNr(), getAssignmentsOfItem(), getAssignmentsOfNode(), and setOrderNr().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::getTaxonomyId | ( | ) | 
Get taxonomy id.
Definition at line 106 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment(), deleteAssignment(), deleteAssignmentsOfItem(), fixOrderNr(), getAssignmentsOfItem(), getAssignmentsOfNode(), getMaxOrderNr(), and setOrderNr().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Set component id.
| string | $a_val | component id | 
Definition at line 56 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Set item type.
| string | $a_val | item type | 
Definition at line 76 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::setObjectId | ( | $a_val | ) | 
Set object id.
| int | $a_val | object id | 
Definition at line 116 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTaxNodeAssignment::setOrderNr | ( | $a_node_id, | |
| $a_item_id, | |||
| $a_order_nr | |||
| ) | 
Set order nr.
| @return | 
Definition at line 325 of file class.ilTaxNodeAssignment.php.
References getComponentId(), getItemType(), getObjectId(), and getTaxonomyId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Set taxonomy id.
| int | $a_val | taxonomy id | 
Definition at line 96 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function: