|
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 ilGlossaryTerm:Public Member Functions | |
| __construct (int $a_id=0) | |
| read () | |
| setId (int $a_id) | |
| set glossary term id (= glossary item id) More... | |
| getId () | |
| setGlossary (ilObjGlossary $a_glossary) | |
| setGlossaryId (int $a_glo_id) | |
| getGlossaryId () | |
| setTerm (string $a_term) | |
| getTerm () | |
| setLanguage (string $a_language) | |
| getLanguage () | |
| setImportId (string $a_import_id) | |
| getImportId () | |
| create () | |
| delete () | |
| delete glossary term (and all its definition objects) More... | |
| update () | |
| exportXML (ilXmlWriter $a_xml_writer, int $a_inst) | |
Static Public Member Functions | |
| static | _getIdForImportId (string $a_import_id) |
| static | _exists (int $a_id) |
| checks whether a glossary term with specified id exists or not More... | |
| static | _lookGlossaryID (int $term_id) |
| get glossary id form term id More... | |
| static | _lookGlossaryTerm (int $term_id) |
| get glossary term More... | |
| static | _lookLanguage (int $term_id) |
| lookup term language More... | |
| static | getTermList (array $a_glo_ref_id, string $searchterm="", string $a_first_letter="", string $a_def="", int $a_tax_node=0, bool $a_add_amet_fields=false, array $a_amet_filter=null, bool $a_include_references=false) |
| Get all terms for given set of glossary ids. More... | |
| static | getFirstLetters (array $a_glo_id, int $a_tax_node=0) |
| static | getNumberOfUsages (int $a_term_id) |
| static | getUsages (int $a_term_id) |
| static | _copyTerm (int $a_term_id, int $a_glossary_id) |
| Copy a term to a glossary. More... | |
| static | getTermsOfGlossary (int $a_glo_id) |
Data Fields | |
| ilLanguage | $lng |
| ilGlobalTemplateInterface | $tpl |
| int | $id = 0 |
| ilObjGlossary | $glossary |
| string | $term = "" |
| string | $language = "" |
| int | $glo_id = 0 |
| string | $import_id = "" |
Protected Attributes | |
| string | $type |
| 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 terms
Definition at line 23 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::__construct | ( | int | $a_id = 0 | ) |
Definition at line 36 of file class.ilGlossaryTerm.php.
References $DIC, $lng, $tpl, ILIAS\Repository\lng(), and read().
Here is the call graph for this function:
|
static |
Copy a term to a glossary.
Definition at line 477 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossary\cloneObject(), and ilObjGlossaryGUI\pasteTerms().
Here is the caller graph for this function:
|
static |
checks whether a glossary term with specified id exists or not
Definition at line 100 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, and ilInternalLink\_extractObjIdOfTarget().
Referenced by ilInternalLink\_exists(), and ilLinksTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 69 of file class.ilGlossaryTerm.php.
Referenced by ilInternalLink\_getIdForImportId().
Here is the caller graph for this function:
|
static |
get glossary id form term id
Definition at line 236 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjGlossaryGUI\__construct(), ilTermDefinitionEditorGUI\__construct(), ilGlossaryTermGUI\__construct(), ilObjGlossaryAccess\_checkGoto(), ilObjGlossaryGUI\addDefinition(), ilObjGlossaryGUI\confirmTermDeletion(), ilGlossaryDefinition\createMetaData(), ilGlossaryDefinition\deleteMetaData(), ilTermListTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilGlossaryTermPermission\getGlossaryIdForTerm(), ilGlossaryPresentationGUI\initByRequest(), ilGlossaryDefinition\MDUpdateListener(), ilGlossaryDefinition\shortenShortText(), ilGlossaryPresentationGUI\showDefinitionTabs(), and ilGlossaryDefinition\updateMetaData().
Here is the caller graph for this function:
|
static |
get glossary term
Definition at line 253 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjGlossaryGUI\copyTerms(), ilTermUsagesTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjGlossary\getAdvMDSubItemTitle(), ilObjGlossarySubItemListGUI\getHTML(), ilObjGlossaryGUI\getTemplate(), ilLinkInputGUI\getTranslatedValue(), ilObjGlossaryGUI\referenceTerms(), and ilLMPresentationGUI\showPrintView().
Here is the caller graph for this function:
|
static |
lookup term language
Definition at line 270 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, and $query.
Referenced by ilGlossaryDefinition\createMetaData().
Here is the caller graph for this function:| ilGlossaryTerm::create | ( | ) |
Definition at line 183 of file class.ilGlossaryTerm.php.
References $ilDB.
Referenced by ilObjGlossaryGUI\addTerm().
Here is the caller graph for this function:| ilGlossaryTerm::delete | ( | ) |
delete glossary term (and all its definition objects)
Definition at line 202 of file class.ilGlossaryTerm.php.
References $ilDB, ilGlossaryTermReferences\deleteReferencesOfTerm(), ilGlossaryDefinition\getDefinitionList(), and ILIAS\Survey\Mode\getId().
Referenced by ilObjGlossaryGUI\deleteTerms().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::exportXML | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst | ||
| ) |
Definition at line 431 of file class.ilGlossaryTerm.php.
|
static |
Definition at line 390 of file class.ilGlossaryTerm.php.
References $ilDB.
| ilGlossaryTerm::getGlossaryId | ( | ) |
Definition at line 147 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getId | ( | ) |
Definition at line 129 of file class.ilGlossaryTerm.php.
References $id.
Referenced by ilObjGlossaryGUI\addDefinition(), and ilObjGlossaryGUI\addTerm().
Here is the caller graph for this function:| ilGlossaryTerm::getImportId | ( | ) |
Definition at line 178 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getLanguage | ( | ) |
Definition at line 168 of file class.ilGlossaryTerm.php.
|
static |
Definition at line 453 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\confirmDefinitionDeletion(), ilObjGlossaryGUI\confirmTermDeletion(), ilTermDefinitionEditorGUI\executeCommand(), ilTermListTableGUI\fillRow(), and ilGlossaryTermGUI\getTabs().
Here is the caller graph for this function:| ilGlossaryTerm::getTerm | ( | ) |
Definition at line 157 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\addDefinition(), ilObjGlossaryGUI\confirmDefinitionDeletion(), and ilObjGlossaryGUI\confirmTermDeletion().
Here is the caller graph for this function:
|
static |
Get all terms for given set of glossary ids.
Definition at line 287 of file class.ilGlossaryTerm.php.
References $id, and ilObject\_lookupObjectId().
Referenced by ilPCParagraph\autoLinkGlossaries(), ilObjGlossary\cloneObject(), and ilGlossaryExporter\getXmlExportTailDependencies().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 567 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryDefinition\setShortTextsDirty().
Here is the caller graph for this function:
|
static |
Definition at line 458 of file class.ilGlossaryTerm.php.
References ilInternalLink\_getSourcesOfTarget(), and ilGlossaryTermReferences\lookupReferencesOfTerm().
Referenced by ilTermUsagesTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::read | ( | ) |
Definition at line 54 of file class.ilGlossaryTerm.php.
References $db, $ilDB, setGlossaryId(), setImportId(), setLanguage(), and setTerm().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::setGlossary | ( | ilObjGlossary | $a_glossary | ) |
Definition at line 134 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\addTerm().
Here is the caller graph for this function:| ilGlossaryTerm::setGlossaryId | ( | int | $a_glo_id | ) |
Definition at line 141 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::setId | ( | int | $a_id | ) |
set glossary term id (= glossary item id)
Definition at line 124 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::setImportId | ( | string | $a_import_id | ) |
Definition at line 173 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::setLanguage | ( | string | $a_language | ) |
Definition at line 162 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\addTerm(), and read().
Here is the caller graph for this function:| ilGlossaryTerm::setTerm | ( | string | $a_term | ) |
Definition at line 152 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\addTerm(), and read().
Here is the caller graph for this function:| ilGlossaryTerm::update | ( | ) |
Definition at line 220 of file class.ilGlossaryTerm.php.
References $ilDB.
|
protected |
Definition at line 26 of file class.ilGlossaryTerm.php.
Referenced by read().
| int ilGlossaryTerm::$glo_id = 0 |
Definition at line 33 of file class.ilGlossaryTerm.php.
| ilObjGlossary ilGlossaryTerm::$glossary |
Definition at line 30 of file class.ilGlossaryTerm.php.
| int ilGlossaryTerm::$id = 0 |
Definition at line 29 of file class.ilGlossaryTerm.php.
| string ilGlossaryTerm::$import_id = "" |
Definition at line 34 of file class.ilGlossaryTerm.php.
| string ilGlossaryTerm::$language = "" |
Definition at line 32 of file class.ilGlossaryTerm.php.
| ilLanguage ilGlossaryTerm::$lng |
Definition at line 27 of file class.ilGlossaryTerm.php.
Referenced by __construct().
| string ilGlossaryTerm::$term = "" |
Definition at line 31 of file class.ilGlossaryTerm.php.
| ilGlobalTemplateInterface ilGlossaryTerm::$tpl |
Definition at line 28 of file class.ilGlossaryTerm.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilGlossaryTerm.php.