|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Glossary term reference. More...
Collaboration diagram for ilGlossaryTermReferences:Public Member Functions | |
| __construct ($a_glo_id=0) | |
| __construct More... | |
| setGlossaryId ($a_val) | |
| Set glossary id. More... | |
| getGlossaryId () | |
| Get glossary id. More... | |
| setTerms ($a_val) | |
| Set terms. More... | |
| getTerms () | |
| Get terms. More... | |
| addTerm ($a_term_id) | |
| Add term. More... | |
| deleteTerm ($a_term_id) | |
| Delete term. More... | |
| read () | |
| Read. More... | |
| update () | |
| Update. More... | |
| delete () | |
| Delete references (of glossary) More... | |
Static Public Member Functions | |
| static | deleteReferencesOfTerm ($a_term_id) |
| Delete all references of a term. More... | |
| static | hasReferences ($a_glossary_id) |
| Check if a glossary uses references. More... | |
| static | isReferenced ($a_glo_id, $a_term_id) |
| Is a term referenced by one or multiple glossaries. More... | |
| static | lookupReferencesOfTerm ($a_term_id) |
| Lookup references of a term. More... | |
Protected Attributes | |
| $glo_id | |
| $terms = array() | |
| $db | |
Glossary term reference.
Definition at line 12 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::__construct | ( | $a_glo_id = 0 | ) |
__construct
| int | $a_glo_id | glossary id |
Definition at line 34 of file class.ilGlossaryTermReferences.php.
References $DIC, read(), and setGlossaryId().
Here is the call graph for this function:| ilGlossaryTermReferences::addTerm | ( | $a_term_id | ) |
Add term.
| int | term id |
Definition at line 92 of file class.ilGlossaryTermReferences.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTermReferences::delete | ( | ) |
Delete references (of glossary)
Definition at line 151 of file class.ilGlossaryTermReferences.php.
|
static |
Delete all references of a term.
| int | $a_term_id | term id |
Definition at line 163 of file class.ilGlossaryTermReferences.php.
Referenced by ilGlossaryTerm\delete().
Here is the caller graph for this function:| ilGlossaryTermReferences::deleteTerm | ( | $a_term_id | ) |
Delete term.
| $a_term_id |
Definition at line 105 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::getGlossaryId | ( | ) |
Get glossary id.
Definition at line 62 of file class.ilGlossaryTermReferences.php.
References $glo_id.
Referenced by update().
Here is the caller graph for this function:| ilGlossaryTermReferences::getTerms | ( | ) |
Get terms.
Definition at line 82 of file class.ilGlossaryTermReferences.php.
References $terms.
Referenced by update().
Here is the caller graph for this function:
|
static |
Check if a glossary uses references.
| int | $a_glossary_id |
Definition at line 180 of file class.ilGlossaryTermReferences.php.
Referenced by ilTermListTableGUI\showGlossaryColumn().
Here is the caller graph for this function:
|
static |
Is a term referenced by one or multiple glossaries.
| int | int[] | $a_glo_id | |
| int | $a_term_id |
Definition at line 201 of file class.ilGlossaryTermReferences.php.
Referenced by ilObjGlossaryGUI\__construct(), ilGlossaryPresentationGUI\__construct(), ilObjGlossaryGUI\confirmTermDeletion(), ilObjGlossaryGUI\deleteTerms(), and ilTermListTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Lookup references of a term.
| int | $a_term_id | term id |
Definition at line 227 of file class.ilGlossaryTermReferences.php.
Referenced by ilGlossaryTerm\getUsages().
Here is the caller graph for this function:| ilGlossaryTermReferences::read | ( | ) |
Read.
Definition at line 120 of file class.ilGlossaryTermReferences.php.
References addTerm().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermReferences::setGlossaryId | ( | $a_val | ) |
Set glossary id.
| int | $a_val | glossary id |
Definition at line 52 of file class.ilGlossaryTermReferences.php.
Referenced by __construct().
Here is the caller graph for this function:| ilGlossaryTermReferences::setTerms | ( | $a_val | ) |
Set terms.
| int[] | $a_val | term ids |
Definition at line 72 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::update | ( | ) |
Update.
Definition at line 133 of file class.ilGlossaryTermReferences.php.
References $t, getGlossaryId(), and getTerms().
Here is the call graph for this function:
|
protected |
Definition at line 27 of file class.ilGlossaryTermReferences.php.
Referenced by deleteReferencesOfTerm(), hasReferences(), isReferenced(), and lookupReferencesOfTerm().
|
protected |
Definition at line 17 of file class.ilGlossaryTermReferences.php.
Referenced by getGlossaryId().
|
protected |
Definition at line 22 of file class.ilGlossaryTermReferences.php.
Referenced by getTerms().