|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilGlossaryTerm. More...
Collaboration diagram for ilGlossaryTerm:Public Member Functions | |
| ilGlossaryTerm ($a_id=0) | |
| Constructor @access public. More... | |
| read () | |
| read glossary term data More... | |
| _getIdForImportId ($a_import_id) | |
| get current term id for import id (static) More... | |
| _exists ($a_id) | |
| checks wether a glossary term with specified id exists or not More... | |
| setId ($a_id) | |
| set glossary term id (= glossary item id) More... | |
| getId () | |
| get term id (= glossary item id) More... | |
| setGlossary (&$a_glossary) | |
| set glossary object More... | |
| setGlossaryId ($a_glo_id) | |
| set glossary id More... | |
| getGlossaryId () | |
| get glossary id More... | |
| setTerm ($a_term) | |
| set term More... | |
| getTerm () | |
| get term More... | |
| setLanguage ($a_language) | |
| set language More... | |
| getLanguage () | |
| get language More... | |
| setImportId ($a_import_id) | |
| set import id More... | |
| getImportId () | |
| get import id More... | |
| create () | |
| create new glossary term More... | |
| delete () | |
| delete glossary term (and all its definition objects) More... | |
| update () | |
| update glossary term More... | |
| exportXML (&$a_xml_writer, $a_inst) | |
| export xml More... | |
| _copyTerm ($a_term_id, $a_glossary_id) | |
| Copy a term to a glossary. More... | |
Static Public Member Functions | |
| static | _lookGlossaryID ($term_id) |
| get glossary id form term id More... | |
| static | _lookGlossaryTerm ($term_id) |
| get glossary term More... | |
| static | _lookLanguage ($term_id) |
| lookup term language More... | |
| static | getTermList ($a_glo_id, $searchterm="", $a_first_letter="", $a_def="", $a_tax_node=0, $a_add_amet_fields=false, array $a_amet_filter=null) |
| Get all terms for given set of glossary ids. More... | |
| static | getFirstLetters ($a_glo_id, $a_tax_node=0) |
| Get all terms for given set of glossary ids. More... | |
| static | getNumberOfUsages ($a_term_id) |
| Get number of usages. More... | |
| static | getUsages ($a_term_id) |
| Get number of usages. More... | |
| static | getTermsOfGlossary ($a_glo_id) |
| Get terms of glossary. More... | |
Data Fields | |
| $ilias | |
| $lng | |
| $tpl | |
| $id | |
| $glossary | |
| $term | |
| $language | |
| $glo_id | |
| $import_id | |
| ilGlossaryTerm::_copyTerm | ( | $a_term_id, | |
| $a_glossary_id | |||
| ) |
Copy a term to a glossary.
return
Definition at line 545 of file class.ilGlossaryTerm.php.
References ilGlossaryDefinition\getDefinitionList(), and ilGlossaryTerm().
Referenced by ilObjGlossary\cloneObject(), and ilSCORM2004Page\performAutomaticModifications().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::_exists | ( | $a_id | ) |
checks wether a glossary term with specified id exists or not
| int | $id | id |
Definition at line 105 of file class.ilGlossaryTerm.php.
References $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:| ilGlossaryTerm::_getIdForImportId | ( | $a_import_id | ) |
get current term id for import id (static)
| int | $a_import_id | import id |
Definition at line 71 of file class.ilGlossaryTerm.php.
References $glo_id, $ilDB, ilObject\_hasUntrashedReference(), and _lookGlossaryID().
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 303 of file class.ilGlossaryTerm.php.
Referenced by ilObjGlossaryAccess\_checkGoto(), _getIdForImportId(), ilGlossaryTermGUI\_goto(), ilObjGlossaryGUI\addDefinition(), ilObjGlossaryGUI\confirmTermDeletion(), ilGlossaryDefinition\createMetaData(), ilGlossaryDefinition\deleteMetaData(), ilGlossaryDefinition\exportXMLMetaData(), ilGlossaryPresentationGUI\getLinkXML(), ilObjMediaObject\getParentObjectIdForUsage(), ilGlossaryPresentationGUI\ilGlossaryPresentationGUI(), ilObjGlossaryGUI\ilObjGlossaryGUI(), ilGlossaryDefinition\MDUpdateListener(), ilSCORM2004Page\performAutomaticModifications(), ilGlossaryPresentationGUI\showDefinitionTabs(), and ilGlossaryDefinition\updateMetaData().
Here is the caller graph for this function:
|
static |
get glossary term
Definition at line 318 of file class.ilGlossaryTerm.php.
Referenced by SurveyQuestion\addInternalLink(), ilTermUsagesTableGUI\fillRow(), ilLinksTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjGlossary\getAdvMDSubItemTitle(), ilSCORM2004Asset\getGlossaryTermIds(), ilObjGlossarySubItemListGUI\getHTML(), ilObjGlossaryGUI\getTemplate(), ilLinkInputGUI\getTranslatedValue(), SurveyQuestion\setMaterial(), and ilLMPresentationGUI\showPrintView().
Here is the caller graph for this function:
|
static |
lookup term language
Definition at line 333 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryDefinition\createMetaData().
Here is the caller graph for this function:| ilGlossaryTerm::create | ( | ) |
create new glossary term
Definition at line 248 of file class.ilGlossaryTerm.php.
References $ilDB, and setId().
Here is the call graph for this function:| ilGlossaryTerm::delete | ( | ) |
delete glossary term (and all its definition objects)
Definition at line 268 of file class.ilGlossaryTerm.php.
References $ilDB, ilGlossaryDefinition\getDefinitionList(), and getId().
Here is the call graph for this function:| ilGlossaryTerm::exportXML | ( | & | $a_xml_writer, |
| $a_inst | |||
| ) |
export xml
Definition at line 494 of file class.ilGlossaryTerm.php.
References ilGlossaryDefinition\getDefinitionList(), getId(), getLanguage(), and getTerm().
Here is the call graph for this function:
|
static |
Get all terms for given set of glossary ids.
| integer/array | array of glossary ids for meta glossaries |
| string | searchstring |
| string | first letter |
Definition at line 445 of file class.ilGlossaryTerm.php.
References $ilDB, $in, 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 | ( | ) |
get glossary id
Definition at line 179 of file class.ilGlossaryTerm.php.
References $glo_id.
| ilGlossaryTerm::getId | ( | ) |
get term id (= glossary item id)
Definition at line 146 of file class.ilGlossaryTerm.php.
References $id.
Referenced by delete(), and exportXML().
Here is the caller graph for this function:| ilGlossaryTerm::getImportId | ( | ) |
get import id
Definition at line 239 of file class.ilGlossaryTerm.php.
References $import_id.
| ilGlossaryTerm::getLanguage | ( | ) |
get language
Definition at line 221 of file class.ilGlossaryTerm.php.
References $language.
Referenced by exportXML().
Here is the caller graph for this function:
|
static |
Get number of usages.
| int | term id |
Definition at line 522 of file class.ilGlossaryTerm.php.
References getUsages().
Referenced by ilObjGlossaryGUI\confirmDefinitionDeletion(), ilObjGlossaryGUI\confirmTermDeletion(), ilTermDefinitionEditorGUI\executeCommand(), ilTermListTableGUI\fillRow(), and ilGlossaryTermGUI\getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::getTerm | ( | ) |
get term
Definition at line 201 of file class.ilGlossaryTerm.php.
References $term.
Referenced by exportXML().
Here is the caller graph for this function:
|
static |
Get all terms for given set of glossary ids.
| integer/array | array of glossary ids for meta glossaries |
| string | searchstring |
| string | first letter |
Definition at line 353 of file class.ilGlossaryTerm.php.
References $ilDB, $in, ilObjTaxonomy\getSubTreeItems(), ilObjTaxonomy\getUsageOfObject(), and ilAdvancedMDValues\queryForRecords().
Referenced by ilPCParagraph\autoLinkGlossaries(), ilObjContentObject\autoLinkGlossaryTerms(), ilObjGlossary\cloneObject(), and ilObjGlossary\getTermList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get terms of glossary.
return
Definition at line 598 of file class.ilGlossaryTerm.php.
References $ilDB.
Referenced by ilGlossaryDefinition\setShortTextsDirty().
Here is the caller graph for this function:
|
static |
Get number of usages.
| int | term id |
Definition at line 533 of file class.ilGlossaryTerm.php.
References ilInternalLink\_getSourcesOfTarget().
Referenced by ilTermUsagesTableGUI\getItems(), and getNumberOfUsages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::ilGlossaryTerm | ( | $a_id = 0 | ) |
Constructor @access public.
Definition at line 29 of file class.ilGlossaryTerm.php.
References $ilias, $lng, $tpl, and read().
Referenced by _copyTerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::read | ( | ) |
read glossary term data
Definition at line 48 of file class.ilGlossaryTerm.php.
References $ilDB, setGlossaryId(), setImportId(), setLanguage(), and setTerm().
Referenced by ilGlossaryTerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTerm::setGlossary | ( | & | $a_glossary | ) |
set glossary object
| object | $a_glossary | glossary object |
Definition at line 156 of file class.ilGlossaryTerm.php.
References setGlossaryId().
Here is the call graph for this function:| ilGlossaryTerm::setGlossaryId | ( | $a_glo_id | ) |
set glossary id
| int | $a_glo_id | glossary id |
Definition at line 168 of file class.ilGlossaryTerm.php.
Referenced by read(), and setGlossary().
Here is the caller graph for this function:| ilGlossaryTerm::setId | ( | $a_id | ) |
set glossary term id (= glossary item id)
| int | $a_id | glossary term id |
Definition at line 135 of file class.ilGlossaryTerm.php.
Referenced by create().
Here is the caller graph for this function:| ilGlossaryTerm::setImportId | ( | $a_import_id | ) |
set import id
Definition at line 230 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::setLanguage | ( | $a_language | ) |
set language
| string | $a_language | two letter language code |
Definition at line 212 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::setTerm | ( | $a_term | ) |
set term
| string | $a_term | term |
Definition at line 190 of file class.ilGlossaryTerm.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryTerm::update | ( | ) |
update glossary term
Definition at line 287 of file class.ilGlossaryTerm.php.
References $ilDB.
| ilGlossaryTerm::$glo_id |
Definition at line 22 of file class.ilGlossaryTerm.php.
Referenced by _getIdForImportId(), and getGlossaryId().
| ilGlossaryTerm::$glossary |
Definition at line 19 of file class.ilGlossaryTerm.php.
| ilGlossaryTerm::$id |
Definition at line 18 of file class.ilGlossaryTerm.php.
Referenced by getId().
| ilGlossaryTerm::$ilias |
Definition at line 14 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryTerm().
| ilGlossaryTerm::$import_id |
Definition at line 23 of file class.ilGlossaryTerm.php.
Referenced by getImportId().
| ilGlossaryTerm::$language |
Definition at line 21 of file class.ilGlossaryTerm.php.
Referenced by getLanguage().
| ilGlossaryTerm::$lng |
Definition at line 15 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryTerm().
| ilGlossaryTerm::$term |
Definition at line 20 of file class.ilGlossaryTerm.php.
Referenced by getTerm().
| ilGlossaryTerm::$tpl |
Definition at line 16 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryTerm().