|
ILIAS
Release_4_3_x_branch Revision 61807
|
Taxonomy node <-> item assignment. More...
Collaboration diagram for ilTaxNodeAssignment:Public Member Functions | |
| __construct ($a_component_id, $a_item_type, $a_tax_id) | |
| Constructor. | |
| getComponentId () | |
| Get component id. | |
| getItemType () | |
| Get item type. | |
| getTaxonomyId () | |
| Get taxonomy id. | |
| getAssignmentsOfNode ($a_node_id) | |
| Get assignments of node. | |
| getAssignmentsOfItem ($a_item_id) | |
| Get assignments for item. | |
| addAssignment ($a_node_id, $a_item_id) | |
| Add assignment. | |
| deleteAssignmentsOfItem ($a_item_id) | |
| Delete assignments of item. | |
Static Public Member Functions | |
| static | deleteAssignmentsOfNode ($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_item_type, | |||
| $a_tax_id | |||
| ) |
Constructor.
| string | $a_component_id | component id (e.g. "glo" for Modules/Glossary) |
| string | $a_item_type | item type (e.g. "term", must be unique component wide) |
| int | $a_tax_id | taxonomy id |
Definition at line 26 of file class.ilTaxNodeAssignment.php.
References setComponentId(), setItemType(), and setTaxonomyId().
Here is the call graph for this function:| ilTaxNodeAssignment::addAssignment | ( | $a_node_id, | |
| $a_item_id | |||
| ) |
Add assignment.
| int | $a_node_id | node id |
| int | $a_item_id | item id |
Definition at line 168 of file class.ilTaxNodeAssignment.php.
References getComponentId(), getItemType(), and getTaxonomyId().
Referenced by ilTaxonomyDataSet\importRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTaxNodeAssignment::deleteAssignmentsOfItem | ( | $a_item_id | ) |
Delete assignments of item.
| int | $a_item_id | item id |
Definition at line 204 of file class.ilTaxNodeAssignment.php.
|
static |
Delete assignments of node.
| int | $a_node_id | node id |
Definition at line 220 of file class.ilTaxNodeAssignment.php.
Referenced by ilTaxonomyNode\delete().
Here is the caller graph for this function:
|
final |
Get assignments for item.
| int | $a_item_id | item id |
Definition at line 145 of file class.ilTaxNodeAssignment.php.
|
final |
Get assignments of node.
| int | $a_node_id | node id |
Definition at line 114 of file class.ilTaxNodeAssignment.php.
Referenced by ilObjTaxonomy\getSubTreeItems().
Here is the caller graph for this function:| ilTaxNodeAssignment::getComponentId | ( | ) |
Get component id.
Definition at line 63 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment().
Here is the caller graph for this function:| ilTaxNodeAssignment::getItemType | ( | ) |
Get item type.
Definition at line 83 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment().
Here is the caller graph for this function:| ilTaxNodeAssignment::getTaxonomyId | ( | ) |
Get taxonomy id.
Definition at line 103 of file class.ilTaxNodeAssignment.php.
Referenced by addAssignment().
Here is the caller graph for this function:
|
protected |
Set component id.
| string | $a_val | component id |
Definition at line 53 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Set item type.
| string | $a_val | item type |
Definition at line 73 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Set taxonomy id.
| int | $a_val | taxonomy id |
Definition at line 93 of file class.ilTaxNodeAssignment.php.
Referenced by __construct().
Here is the caller graph for this function: