|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 91 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 146 of file class.ilGlossaryTermReferences.php.
|
static |
Delete all references of a term.
| int | $a_term_id | term id |
Definition at line 159 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 103 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::getGlossaryId | ( | ) |
Get glossary id.
Definition at line 61 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 81 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 177 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 198 of file class.ilGlossaryTermReferences.php.
Referenced by ilObjGlossaryGUI\__construct(), ilObjGlossaryGUI\confirmTermDeletion(), ilObjGlossaryGUI\deleteTerms(), ilTermListTableGUI\fillRow(), and ilGlossaryPresentationGUI\initByRequest().
Here is the caller graph for this function:
|
static |
Lookup references of a term.
| int | $a_term_id | term id |
Definition at line 223 of file class.ilGlossaryTermReferences.php.
Referenced by ilGlossaryTerm\getUsages().
Here is the caller graph for this function:| ilGlossaryTermReferences::read | ( | ) |
Read.
Definition at line 116 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 51 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 71 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::update | ( | ) |
Update.
Definition at line 128 of file class.ilGlossaryTermReferences.php.
References 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().