|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 () | |
| setShortText (string $a_text) | |
| getShortText () | |
| setShortTextDirty (int $a_val) | |
| getShortTextDirty () | |
| assignPageObject (ilGlossaryDefPage $a_page_object) | |
| getPageObject () | |
| create (bool $a_omit_page_creation=false) | |
| delete () | |
| delete glossary term More... | |
| update () | |
| shortenShortText (string $text) | |
| Shorten short text. More... | |
| updateShortText () | |
| 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 | setShortTextsDirty (int $a_glo_id) |
| Set all short texts of glossary dirty (e.g. More... | |
| static | setShortTextsDirtyGlobally () |
| Set short texts dirty (for all glossaries) 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 | _lookShortText (int $term_id) |
| get definition short text More... | |
| static | _lookShortTextDirty (int $term_id) |
| get definition short text dirty 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 = "" |
| string | $short_text = "" |
| int | $short_text_dirty = 0 |
| ilGlossaryDefPage | $page_object |
Protected Attributes | |
| string | $type |
| ilDBInterface | $db |
| ilAppEventHandler | $event_handler |
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 40 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 641 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 109 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, $q, and ilInternalLink\_extractObjIdOfTarget().
Referenced by ilInternalLink\_exists(), ilCOPageHTMLExport\exportHTMLGlossaryTerms(), and ilLinksTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 78 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 373 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\__construct(), ilTermDefinitionEditorGUI\__construct(), ilGlossaryTermGUI\__construct(), ilObjGlossaryAccess\_checkGoto(), ilMediaObjectUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ILIAS\components\ILIAS\Glossary\Table\TermUsagesTable\getComponent(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval(), ILIAS\components\ILIAS\Glossary\Table\TermUsagesTable\getDataRetrieval(), ilGlossaryTermPermission\getGlossaryIdForTerm(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\handleTermForModal(), and ilGlossaryPresentationGUI\initByRequest().
Here is the caller graph for this function:
|
static |
get glossary term
Definition at line 390 of file class.ilGlossaryTerm.php.
Referenced by ilLinksTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilObjGlossary\getAdvMDSubItemTitle(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\getComponent(), ILIAS\components\ILIAS\Glossary\Table\TermUsagesTable\getDataRetrieval(), ILIAS\Glossary\Search\SubitemPropertiesReader\getSubitemProperties(), ilObjGlossaryGUI\getTemplate(), ilGlossaryFlashcardBoxGUI\getTermText(), ilLinkInputGUI\getTranslatedValue(), ilObjGlossaryGUI\putTermsIntoClipBoard(), and ilLMPresentationGUI\showPrintView().
Here is the caller graph for this function:
|
static |
lookup term language
Definition at line 407 of file class.ilGlossaryTerm.php.
|
static |
get definition short text
Definition at line 424 of file class.ilGlossaryTerm.php.
Referenced by ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval(), and ilPresentationTableGUI\getShortTextForTerm().
Here is the caller graph for this function:
|
static |
get definition short text dirty
Definition at line 441 of file class.ilGlossaryTerm.php.
Referenced by ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval(), and ilPresentationTableGUI\getShortTextForTerm().
Here is the caller graph for this function:| ilGlossaryTerm::assignPageObject | ( | ilGlossaryDefPage | $a_page_object | ) |
Definition at line 212 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::create | ( | bool | $a_omit_page_creation = false | ) |
Definition at line 222 of file class.ilGlossaryTerm.php.
References $ilDB, and ILIAS\Survey\Mode\getId().
Referenced by ilObjGlossaryGUI\addTerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::delete | ( | ) |
delete glossary term
Definition at line 251 of file class.ilGlossaryTerm.php.
References $ilDB, ilGlossaryTermReferences\deleteReferencesOfTerm(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilGlossaryTerm::exportXML | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst | ||
| ) |
Definition at line 602 of file class.ilGlossaryTerm.php.
|
static |
Definition at line 561 of file class.ilGlossaryTerm.php.
References $ilDB.
| ilGlossaryTerm::getGlossaryId | ( | ) |
Definition at line 156 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getId | ( | ) |
Definition at line 138 of file class.ilGlossaryTerm.php.
References $id.
Referenced by ilObjGlossaryGUI\addTerm(), and read().
Here is the caller graph for this function:| ilGlossaryTerm::getImportId | ( | ) |
Definition at line 187 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getLanguage | ( | ) |
Definition at line 177 of file class.ilGlossaryTerm.php.
|
static |
Definition at line 617 of file class.ilGlossaryTerm.php.
Referenced by ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval(), ilGlossaryTermGUI\getTabs(), and ILIAS\components\ILIAS\Glossary\Table\TermListTable\handleTermForModal().
Here is the caller graph for this function:| ilGlossaryTerm::getPageObject | ( | ) |
Definition at line 217 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getShortText | ( | ) |
Definition at line 197 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getShortTextDirty | ( | ) |
Definition at line 207 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::getTerm | ( | ) |
Definition at line 166 of file class.ilGlossaryTerm.php.
|
static |
Get all terms for given set of glossary ids.
Definition at line 458 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 703 of file class.ilGlossaryTerm.php.
|
static |
Definition at line 622 of file class.ilGlossaryTerm.php.
References ilInternalLink\_getSourcesOfTarget(), and ilGlossaryTermReferences\lookupReferencesOfTerm().
Referenced by ILIAS\components\ILIAS\Glossary\Table\TermUsagesTable\getDataRetrieval().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::read | ( | ) |
Definition at line 59 of file class.ilGlossaryTerm.php.
References $db, $ilDB, $q, getId(), setGlossaryId(), setImportId(), setLanguage(), setShortText(), setShortTextDirty(), 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 143 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 150 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 133 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::setImportId | ( | string | $a_import_id | ) |
Definition at line 182 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::setLanguage | ( | string | $a_language | ) |
Definition at line 171 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\addTerm(), and read().
Here is the caller graph for this function:| ilGlossaryTerm::setShortText | ( | string | $a_text | ) |
Definition at line 192 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::setShortTextDirty | ( | int | $a_val | ) |
Definition at line 202 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:
|
static |
Set all short texts of glossary dirty (e.g.
if length is changed in settings)
TODO: the new SettingsGUI doesn't use this, remove?
Definition at line 338 of file class.ilGlossaryTerm.php.
|
static |
Set short texts dirty (for all glossaries)
Definition at line 358 of file class.ilGlossaryTerm.php.
Referenced by ilObjAdvancedEditingGUI\initGeneralPageSettingsForm().
Here is the caller graph for this function:| ilGlossaryTerm::setTerm | ( | string | $a_term | ) |
Definition at line 161 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\addTerm(), and read().
Here is the caller graph for this function:| ilGlossaryTerm::shortenShortText | ( | string | $text | ) |
Shorten short text.
Definition at line 286 of file class.ilGlossaryTerm.php.
References $text, ILIAS\Survey\Mode\getId(), ilObjGlossary\lookupSnippetLength(), and ilStr\shortenTextExtended().
Here is the call graph for this function:| ilGlossaryTerm::update | ( | ) |
Definition at line 268 of file class.ilGlossaryTerm.php.
References $ilDB.
| ilGlossaryTerm::updateShortText | ( | ) |
Definition at line 321 of file class.ilGlossaryTerm.php.
References $text.
|
protected |
Definition at line 26 of file class.ilGlossaryTerm.php.
Referenced by read().
|
protected |
Definition at line 38 of file class.ilGlossaryTerm.php.
| 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().
| ilGlossaryDefPage ilGlossaryTerm::$page_object |
Definition at line 37 of file class.ilGlossaryTerm.php.
| string ilGlossaryTerm::$short_text = "" |
Definition at line 35 of file class.ilGlossaryTerm.php.
| int ilGlossaryTerm::$short_text_dirty = 0 |
Definition at line 36 of file class.ilGlossaryTerm.php.
| 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.