|
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 ilGlossaryDefinition:Public Member Functions | |
| __construct (int $a_id=0) | |
| read () | |
| setId (int $a_id) | |
| getId () | |
| getType () | |
| setTermId (int $a_term_id) | |
| getTermId () | |
| setShortText (string $a_text) | |
| getShortText () | |
| setNr (int $a_nr) | |
| getNr () | |
| assignPageObject (ilGlossaryDefPage $a_page_object) | |
| getPageObject () | |
| getTitle () | |
| setTitle (string $a_title) | |
| getDescription () | |
| setDescription (string $a_description) | |
| setShortTextDirty (bool $a_val) | |
| getShortTextDirty () | |
| create (bool $a_upload=false, bool $a_omit_page_creation=false) | |
| delete () | |
| moveUp () | |
| moveDown () | |
| update () | |
| shortenShortText (string $text) | |
| Shorten short text. More... | |
| updateShortText () | |
| exportXML (ilXmlWriter $a_xml_writer, int $a_inst) | |
| exportXMLMetaData (ilXmlWriter $a_xml_writer) | |
| modifyExportIdentifier (string $a_tag, string $a_param, string $a_value) | |
| exportXMLDefinition (ilXmlWriter $a_xml_writer, int $a_inst=0) | |
| export page objects meta data to xml More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| MDUpdateListener (string $a_element) | |
| Meta data update listener. More... | |
Static Public Member Functions | |
| static | getDefinitionList (int $a_term_id) |
| static | _lookupTermId (int $a_def_id) |
| Looks up term id for a definition id. 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... | |
Data Fields | |
| ilLanguage | $lng |
| ilGlobalTemplateInterface | $tpl |
| int | $id = 0 |
| int | $term_id = 0 |
| int | $glo_id = 0 |
| ilGlossaryDefPage | $page_object |
| string | $short_text = "" |
| int | $nr = 0 |
| bool | $short_text_dirty = false |
Protected Attributes | |
| array | $files_contained = [] |
| array | $mobs_contained = [] |
| string | $description = "" |
| string | $title = "" |
| ilDBInterface | $db |
| ilObjUser | $user |
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
Definition at line 22 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::__construct | ( | int | $a_id = 0 | ) |
Definition at line 40 of file class.ilGlossaryDefinition.php.
References $DIC, $lng, $tpl, ILIAS\Repository\lng(), read(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Looks up term id for a definition id.
| int | $a_def_id | definition id |
Definition at line 549 of file class.ilGlossaryDefinition.php.
Referenced by ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilLMContentSearch\performSearch(), and ilGlossaryDefPageGUI\postOutputProcessing().
Here is the caller graph for this function:| ilGlossaryDefinition::assignPageObject | ( | ilGlossaryDefPage | $a_page_object | ) |
Definition at line 121 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::create | ( | bool | $a_upload = false, |
| bool | $a_omit_page_creation = false |
||
| ) |
Definition at line 160 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::createMetaData | ( | ) |
Definition at line 467 of file class.ilGlossaryDefinition.php.
References $lang, ilGlossaryTerm\_lookGlossaryID(), ilGlossaryTerm\_lookLanguage(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilGlossaryDefinition::delete | ( | ) |
Definition at line 216 of file class.ilGlossaryDefinition.php.
References $ilDB.
| ilGlossaryDefinition::deleteMetaData | ( | ) |
Definition at line 498 of file class.ilGlossaryDefinition.php.
References ilGlossaryTerm\_lookGlossaryID(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilGlossaryDefinition::exportXML | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst | ||
| ) |
Definition at line 413 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::exportXMLDefinition | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst = 0 |
||
| ) |
export page objects meta data to xml
Definition at line 452 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::exportXMLMetaData | ( | ilXmlWriter | $a_xml_writer | ) |
Definition at line 427 of file class.ilGlossaryDefinition.php.
|
static |
Definition at line 392 of file class.ilGlossaryDefinition.php.
Referenced by ilSoapGLOStructureReader\_parseStructure(), ilGlossaryTerm\delete(), ILIAS\Glossary\Export\GlossaryHtmlExport\exportHTMLGlossaryTerms(), ilPresentationListTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilTermQuickListTableGUI\fillRow(), ilGlossaryTermGUI\getInternalLinks(), ilGlossaryExporter\getXmlExportTailDependencies(), ilGlossaryTermGUI\listDefinitions(), and ilLMPresentationGUI\showPrintView().
Here is the caller graph for this function:| ilGlossaryDefinition::getDescription | ( | ) |
Definition at line 141 of file class.ilGlossaryDefinition.php.
References $description.
| ilGlossaryDefinition::getId | ( | ) |
| ilGlossaryDefinition::getNr | ( | ) |
Definition at line 116 of file class.ilGlossaryDefinition.php.
References $nr.
| ilGlossaryDefinition::getPageObject | ( | ) |
Definition at line 126 of file class.ilGlossaryDefinition.php.
References $page_object.
| ilGlossaryDefinition::getShortText | ( | ) |
Definition at line 106 of file class.ilGlossaryDefinition.php.
References $short_text.
| ilGlossaryDefinition::getShortTextDirty | ( | ) |
Definition at line 156 of file class.ilGlossaryDefinition.php.
References $short_text_dirty.
| ilGlossaryDefinition::getTermId | ( | ) |
Definition at line 96 of file class.ilGlossaryDefinition.php.
References $term_id.
| ilGlossaryDefinition::getTitle | ( | ) |
Definition at line 131 of file class.ilGlossaryDefinition.php.
References $title.
| ilGlossaryDefinition::getType | ( | ) |
Definition at line 86 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::MDUpdateListener | ( | string | $a_element | ) |
Meta data update listener.
Important note: Do never call create() or update() method of ilObject here. It would result in an endless loop: update object -> update meta -> update object -> ... Use static _writeTitle() ... methods instead.
Even if this is not stored to db, it should be stored to the object e.g. for during import parsing
Definition at line 518 of file class.ilGlossaryDefinition.php.
References $id, ilGlossaryTerm\_lookGlossaryID(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilGlossaryDefinition::modifyExportIdentifier | ( | string | $a_tag, |
| string | $a_param, | ||
| string | $a_value | ||
| ) |
Definition at line 437 of file class.ilGlossaryDefinition.php.
References ILIAS\Survey\Mode\getId(), and IL_INST_ID.
Here is the call graph for this function:| ilGlossaryDefinition::moveDown | ( | ) |
Definition at line 287 of file class.ilGlossaryDefinition.php.
References $ilDB.
| ilGlossaryDefinition::moveUp | ( | ) |
Definition at line 252 of file class.ilGlossaryDefinition.php.
References $ilDB.
| ilGlossaryDefinition::read | ( | ) |
Definition at line 59 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, setNr(), setShortText(), setShortTextDirty(), and setTermId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryDefinition::setDescription | ( | string | $a_description | ) |
Definition at line 146 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::setId | ( | int | $a_id | ) |
Definition at line 76 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::setNr | ( | int | $a_nr | ) |
Definition at line 111 of file class.ilGlossaryDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryDefinition::setShortText | ( | string | $a_text | ) |
Definition at line 101 of file class.ilGlossaryDefinition.php.
References shortenShortText().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryDefinition::setShortTextDirty | ( | bool | $a_val | ) |
Definition at line 151 of file class.ilGlossaryDefinition.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)
Definition at line 567 of file class.ilGlossaryDefinition.php.
References $DIC, $ilDB, and ilGlossaryTerm\getTermsOfGlossary().
Referenced by ilObjGlossaryGUI\saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Set short texts dirty (for all glossaries)
Definition at line 587 of file class.ilGlossaryDefinition.php.
Referenced by ilObjAdvancedEditingGUI\initGeneralPageSettingsForm().
Here is the caller graph for this function:| ilGlossaryDefinition::setTermId | ( | int | $a_term_id | ) |
Definition at line 91 of file class.ilGlossaryDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryDefinition::setTitle | ( | string | $a_title | ) |
Definition at line 136 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::shortenShortText | ( | string | $text | ) |
Shorten short text.
Definition at line 346 of file class.ilGlossaryDefinition.php.
References ilGlossaryTerm\_lookGlossaryID(), ilObjGlossary\lookupSnippetLength(), and ilStr\shortenTextExtended().
Referenced by setShortText().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryDefinition::update | ( | ) |
Definition at line 329 of file class.ilGlossaryDefinition.php.
References $ilDB.
| ilGlossaryDefinition::updateMetaData | ( | ) |
Definition at line 481 of file class.ilGlossaryDefinition.php.
References ilGlossaryTerm\_lookGlossaryID(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilGlossaryDefinition::updateShortText | ( | ) |
Definition at line 381 of file class.ilGlossaryDefinition.php.
|
protected |
Definition at line 28 of file class.ilGlossaryDefinition.php.
Referenced by read().
|
protected |
Definition at line 26 of file class.ilGlossaryDefinition.php.
Referenced by getDescription().
|
protected |
Definition at line 24 of file class.ilGlossaryDefinition.php.
| int ilGlossaryDefinition::$glo_id = 0 |
Definition at line 34 of file class.ilGlossaryDefinition.php.
| int ilGlossaryDefinition::$id = 0 |
Definition at line 32 of file class.ilGlossaryDefinition.php.
Referenced by getId().
| ilLanguage ilGlossaryDefinition::$lng |
Definition at line 30 of file class.ilGlossaryDefinition.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilGlossaryDefinition.php.
| int ilGlossaryDefinition::$nr = 0 |
Definition at line 37 of file class.ilGlossaryDefinition.php.
Referenced by getNr().
| ilGlossaryDefPage ilGlossaryDefinition::$page_object |
Definition at line 35 of file class.ilGlossaryDefinition.php.
Referenced by getPageObject().
| string ilGlossaryDefinition::$short_text = "" |
Definition at line 36 of file class.ilGlossaryDefinition.php.
Referenced by getShortText().
| bool ilGlossaryDefinition::$short_text_dirty = false |
Definition at line 38 of file class.ilGlossaryDefinition.php.
Referenced by getShortTextDirty().
| int ilGlossaryDefinition::$term_id = 0 |
Definition at line 33 of file class.ilGlossaryDefinition.php.
Referenced by getTermId().
|
protected |
Definition at line 27 of file class.ilGlossaryDefinition.php.
Referenced by getTitle().
| ilGlobalTemplateInterface ilGlossaryDefinition::$tpl |
Definition at line 31 of file class.ilGlossaryDefinition.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilGlossaryDefinition.php.