| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 639 of file class.ilGlossaryTerm.php.
References ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilADTActiveRecordByType\cloneByPrimary(), ilMD\cloneMD(), ilADTFactory\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by ilObjGlossary\cloneObject(), ILIAS\Glossary\Term\TermManager\copyTermFromOtherGlossary(), and ilObjGlossaryGUI\pasteTerms().
 Here is the call graph for this function:
 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(), ilLinksTableGUI\fillRow(), and ilLMPresentationLinker\getLinkXML().
 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.
References $DIC, $ilDB, $q, ilObject\_getAllReferences(), and ilObject\_hasUntrashedReference().
Referenced by ilInternalLink\_getIdForImportId().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
get glossary id form term id
Definition at line 371 of file class.ilGlossaryTerm.php.
Referenced by ilTermDefinitionEditorGUI\__construct(), ilGlossaryTermGUI\__construct(), ilObjGlossaryGUI\__construct(), ilObjGlossaryAccess\_checkGoto(), ilGlossaryTermGUI\_goto(), ilObjGlossaryGUI\confirmTermDeletion(), ILIAS\Glossary\Term\TermManager\copyTermFromOtherGlossary(), ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilGlossaryTermPermission\getGlossaryIdForTerm(), ilObjMediaObject\getParentObjectIdForUsage(), ilGlossaryPresentationGUI\initByRequest(), ILIAS\Glossary\Term\TermManager\referenceTermsFromOtherGlossary(), and ilGlossaryPresentationGUI\showDefinitionTabs().
 Here is the caller graph for this function:
      
  | 
  static | 
get glossary term
Definition at line 388 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\copyTerms(), ilLinksTableGUI\fillRow(), ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjGlossary\getAdvMDSubItemTitle(), ilObjGlossarySubItemListGUI\getHTML(), ilObjGlossaryGUI\getTemplate(), ilGlossaryFlashcardBoxGUI\getTermText(), ilLinkInputGUI\getTranslatedValue(), ilObjGlossaryGUI\referenceTerms(), and ilLMPresentationGUI\showPrintView().
 Here is the caller graph for this function:
      
  | 
  static | 
      
  | 
  static | 
get definition short text
Definition at line 422 of file class.ilGlossaryTerm.php.
Referenced by ilPresentationListTableGUI\fillRow(), and ilTermListTableGUI\fillRow().
 Here is the caller graph for this function:
      
  | 
  static | 
get definition short text dirty
Definition at line 439 of file class.ilGlossaryTerm.php.
Referenced by ilPresentationListTableGUI\fillRow(), and ilTermListTableGUI\fillRow().
 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 $db, $ilDB, getGlossaryId(), getId(), getShortText(), getShortTextDirty(), and setId().
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 $db, $ilDB, ilGlossaryTermReferences\deleteReferencesOfTerm(), and getId().
 Here is the call graph for this function:| ilGlossaryTerm::exportXML | ( | ilXmlWriter | $a_xml_writer, | 
| int | $a_inst | ||
| ) | 
Definition at line 600 of file class.ilGlossaryTerm.php.
References getId(), getLanguage(), getTerm(), IL_INST_ID, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 559 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, $q, ilObjTaxonomy\getSubTreeItems(), and ilObjTaxonomy\getUsageOfObject().
Referenced by ilObjGlossary\getFirstLetters().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTerm::getGlossaryId | ( | ) | 
Definition at line 156 of file class.ilGlossaryTerm.php.
References $glo_id.
Referenced by create().
 Here is the caller graph for this function:| ilGlossaryTerm::getId | ( | ) | 
Definition at line 138 of file class.ilGlossaryTerm.php.
References $id.
Referenced by ilObjGlossaryGUI\addTerm(), create(), delete(), exportXML(), read(), shortenShortText(), and update().
 Here is the caller graph for this function:| ilGlossaryTerm::getImportId | ( | ) | 
| ilGlossaryTerm::getLanguage | ( | ) | 
Definition at line 177 of file class.ilGlossaryTerm.php.
References $language.
Referenced by exportXML().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 615 of file class.ilGlossaryTerm.php.
Referenced by ilTermDefinitionEditorGUI\__construct(), ilObjGlossaryGUI\confirmTermDeletion(), ilTermListTableGUI\fillRow(), and ilGlossaryTermGUI\getTabs().
 Here is the caller graph for this function:| ilGlossaryTerm::getPageObject | ( | ) | 
Definition at line 217 of file class.ilGlossaryTerm.php.
References $page_object.
| ilGlossaryTerm::getShortText | ( | ) | 
Definition at line 197 of file class.ilGlossaryTerm.php.
References $short_text.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilGlossaryTerm::getShortTextDirty | ( | ) | 
Definition at line 207 of file class.ilGlossaryTerm.php.
References $short_text_dirty.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilGlossaryTerm::getTerm | ( | ) | 
Definition at line 166 of file class.ilGlossaryTerm.php.
References $term.
Referenced by ilObjGlossaryGUI\confirmTermDeletion(), and exportXML().
 Here is the caller graph for this function:
      
  | 
  static | 
Get all terms for given set of glossary ids.
Definition at line 456 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, $q, ilObject\_lookupObjectId(), ilObjTaxonomy\getSubTreeItems(), ilObjTaxonomy\getUsageOfObject(), and ilAdvancedMDValues\queryForRecords().
Referenced by ilPCParagraph\autoLinkGlossaries(), ilObjGlossary\autoLinkGlossaryTerms(), ilObjContentObject\autoLinkGlossaryTerms(), ilObjGlossary\cloneObject(), ilObjGlossary\getTermList(), and ilGlossaryExporter\getXmlExportTailDependencies().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 713 of file class.ilGlossaryTerm.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilObjGlossaryGUI\initSettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 620 of file class.ilGlossaryTerm.php.
References $glo_id, 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 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.
References ilObject\getId(), and setGlossaryId().
Referenced by ilObjGlossaryGUI\addTerm().
 Here is the call graph for this function:
 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(), and setGlossary().
 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.
Referenced by create().
 Here is the caller graph for this function:| 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.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by ilObjGlossaryGUI\addTerm(), and read().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTerm::setShortText | ( | string | $a_text | ) | 
Definition at line 192 of file class.ilGlossaryTerm.php.
References shortenShortText().
Referenced by read(), and updateShortText().
 Here is the call graph for this function:
 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(), and updateShortText().
 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 336 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryGUI\saveProperties().
 Here is the caller graph for this function:
      
  | 
  static | 
Set short texts dirty (for all glossaries)
Definition at line 356 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 getId(), ilObjGlossary\lookupSnippetLength(), and ilStr\shortenTextExtended().
Referenced by setShortText(), and updateShortText().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTerm::update | ( | ) | 
Definition at line 268 of file class.ilGlossaryTerm.php.
References $db, $ilDB, getId(), getShortText(), and getShortTextDirty().
Referenced by updateShortText().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTerm::updateShortText | ( | ) | 
Definition at line 321 of file class.ilGlossaryTerm.php.
References setShortText(), setShortTextDirty(), shortenShortText(), and update().
 Here is the call graph for this function:
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 38 of file class.ilGlossaryTerm.php.
| int ilGlossaryTerm::$glo_id = 0 | 
Definition at line 33 of file class.ilGlossaryTerm.php.
Referenced by getGlossaryId(), and getUsages().
| 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.
Referenced by getId().
| string ilGlossaryTerm::$import_id = "" | 
Definition at line 34 of file class.ilGlossaryTerm.php.
Referenced by getImportId().
| string ilGlossaryTerm::$language = "" | 
Definition at line 32 of file class.ilGlossaryTerm.php.
Referenced by getLanguage().
| 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.
Referenced by getPageObject().
| string ilGlossaryTerm::$short_text = "" | 
Definition at line 35 of file class.ilGlossaryTerm.php.
Referenced by getShortText().
| int ilGlossaryTerm::$short_text_dirty = 0 | 
Definition at line 36 of file class.ilGlossaryTerm.php.
Referenced by getShortTextDirty().
| string ilGlossaryTerm::$term = "" | 
Definition at line 31 of file class.ilGlossaryTerm.php.
Referenced by getTerm().
| 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.