|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilGlossaryTermReferences:Public Member Functions | |
| __construct (int $a_glo_id=0) | |
| setGlossaryId (int $a_val) | |
| getGlossaryId () | |
| setTerms (array $a_val) | |
| getTerms () | |
| addTerm (int $a_term_id) | |
| deleteTerm (int $a_term_id) | |
| read () | |
| update () | |
| delete () | |
| Delete references (of glossary) More... | |
Static Public Member Functions | |
| static | deleteReferencesOfTerm (int $a_term_id) |
| Delete all references of a term. More... | |
| static | hasReferences (int $a_glossary_id) |
| Check if a glossary uses references. More... | |
| static | isReferenced (array $a_glo_id, int $a_term_id) |
| Is a term referenced by a set of glossaries. More... | |
| static | lookupReferencesOfTerm (int $a_term_id) |
Protected Attributes | |
| int | $glo_id |
| array | $terms = array() |
| ilDBInterface | $db |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Glossary term reference
Definition at line 23 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::__construct | ( | int | $a_glo_id = 0 | ) |
Definition at line 30 of file class.ilGlossaryTermReferences.php.
References $DIC, read(), and setGlossaryId().
Here is the call graph for this function:| ilGlossaryTermReferences::addTerm | ( | int | $a_term_id | ) |
Definition at line 68 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 111 of file class.ilGlossaryTermReferences.php.
|
static |
Delete all references of a term.
Definition at line 122 of file class.ilGlossaryTermReferences.php.
References $db, $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilGlossaryTerm\delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermReferences::deleteTerm | ( | int | $a_term_id | ) |
Definition at line 75 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::getGlossaryId | ( | ) |
Definition at line 47 of file class.ilGlossaryTermReferences.php.
References $glo_id.
Referenced by update().
Here is the caller graph for this function:| ilGlossaryTermReferences::getTerms | ( | ) |
Definition at line 63 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.
Definition at line 137 of file class.ilGlossaryTermReferences.php.
References $db, $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilTermListTableGUI\showGlossaryColumn().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Is a term referenced by a set of glossaries.
| int[] | $a_glo_id | glossary ids |
| int | $a_term_id |
Definition at line 158 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 |
| int | $a_term_id | term id |
Definition at line 180 of file class.ilGlossaryTermReferences.php.
Referenced by ilGlossaryTerm\getUsages().
Here is the caller graph for this function:| ilGlossaryTermReferences::read | ( | ) |
Definition at line 84 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 | ( | int | $a_val | ) |
Definition at line 42 of file class.ilGlossaryTermReferences.php.
Referenced by __construct().
Here is the caller graph for this function:| ilGlossaryTermReferences::setTerms | ( | array | $a_val | ) |
| int[] | $a_val | term ids |
Definition at line 55 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::update | ( | ) |
Definition at line 93 of file class.ilGlossaryTermReferences.php.
References getGlossaryId(), and getTerms().
Here is the call graph for this function:
|
protected |
Definition at line 28 of file class.ilGlossaryTermReferences.php.
Referenced by deleteReferencesOfTerm(), and hasReferences().
|
protected |
Definition at line 25 of file class.ilGlossaryTermReferences.php.
Referenced by getGlossaryId().
|
protected |
Definition at line 27 of file class.ilGlossaryTermReferences.php.
Referenced by getTerms().