ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilGlossaryTerm. More...
Public Member Functions | |
ilGlossaryTerm ($a_id=0) | |
Constructor public. | |
read () | |
read glossary term data | |
_getIdForImportId ($a_import_id) | |
get current term id for import id (static) | |
_exists ($a_id) | |
checks wether a glossary term with specified id exists or not | |
setId ($a_id) | |
set glossary term id (= glossary item id) | |
getId () | |
get term id (= glossary item id) | |
setGlossary (&$a_glossary) | |
set glossary object | |
setGlossaryId ($a_glo_id) | |
set glossary id | |
getGlossaryId () | |
get glossary id | |
setTerm ($a_term) | |
set term | |
getTerm () | |
get term | |
setLanguage ($a_language) | |
set language | |
getLanguage () | |
get language | |
setImportId ($a_import_id) | |
set import id | |
getImportId () | |
get import id | |
create () | |
create new glossary term | |
delete () | |
delete glossary term (and all its definition objects) | |
update () | |
update glossary term | |
_lookGlossaryID ($term_id) | |
get glossary id form term id | |
_lookGlossaryTerm ($term_id) | |
get glossary term | |
_lookLanguage ($term_id) | |
lookup term language | |
getTermList ($a_glo_id, $searchterm="") | |
static | |
exportXML (&$a_xml_writer, $a_inst) | |
export xml |
Data Fields | |
$ilias | |
$lng | |
$tpl | |
$id | |
$glossary | |
$term | |
$language | |
$glo_id | |
$import_id |
Class ilGlossaryTerm.
Definition at line 33 of file class.ilGlossaryTerm.php.
ilGlossaryTerm::_exists | ( | $a_id | ) |
checks wether a glossary term with specified id exists or not
int | $id | id |
Definition at line 119 of file class.ilGlossaryTerm.php.
References ilInternalLink\_extractObjIdOfTarget(), and DB_FETCHMODE_ASSOC.
Referenced by ilLinksTableGUI\fillRow().
ilGlossaryTerm::_getIdForImportId | ( | $a_import_id | ) |
get current term id for import id (static)
int | $a_import_id | import id |
Definition at line 91 of file class.ilGlossaryTerm.php.
References $glo_id, ilObject\_hasUntrashedReference(), _lookGlossaryID(), and DB_FETCHMODE_ASSOC.
ilGlossaryTerm::_lookGlossaryID | ( | $term_id | ) |
get glossary id form term id
Definition at line 314 of file class.ilGlossaryTerm.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilObjGlossaryAccess\_checkGoto(), _getIdForImportId(), ilGlossaryTermGUI\_goto(), ilGlossaryDefinition\createMetaData(), ilGlossaryDefinition\deleteMetaData(), ilGlossaryDefinition\exportXMLMetaData(), ilGlossaryPresentationGUI\getLinkXML(), ilObjMediaObject\getParentObjectIdForUsage(), ilGlossaryDefinition\MDUpdateListener(), and ilGlossaryDefinition\updateMetaData().
ilGlossaryTerm::_lookGlossaryTerm | ( | $term_id | ) |
get glossary term
Definition at line 328 of file class.ilGlossaryTerm.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilSearchResultPresentationGUI\__appendChildLinks(), ilLinksTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjGlossaryGUI\getTemplate(), SurveyQuestion\setMaterial(), and ilLMPresentationGUI\showPrintView().
ilGlossaryTerm::_lookLanguage | ( | $term_id | ) |
lookup term language
Definition at line 342 of file class.ilGlossaryTerm.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilGlossaryDefinition\createMetaData().
ilGlossaryTerm::create | ( | ) |
create new glossary term
Definition at line 261 of file class.ilGlossaryTerm.php.
References getGlossaryId(), getImportId(), and setId().
ilGlossaryTerm::delete | ( | ) |
delete glossary term (and all its definition objects)
Definition at line 277 of file class.ilGlossaryTerm.php.
References ilGlossaryDefinition\getDefinitionList(), and getId().
ilGlossaryTerm::exportXML | ( | & | $a_xml_writer, |
$a_inst | |||
) |
export xml
Definition at line 394 of file class.ilGlossaryTerm.php.
References ilGlossaryDefinition\getDefinitionList(), getId(), getLanguage(), and getTerm().
ilGlossaryTerm::getGlossaryId | ( | ) |
get glossary id
Definition at line 192 of file class.ilGlossaryTerm.php.
References $glo_id.
Referenced by create(), and update().
ilGlossaryTerm::getId | ( | ) |
get term id (= glossary item id)
Definition at line 159 of file class.ilGlossaryTerm.php.
References $id.
Referenced by delete(), exportXML(), and update().
ilGlossaryTerm::getImportId | ( | ) |
get import id
Definition at line 252 of file class.ilGlossaryTerm.php.
References $import_id.
Referenced by create(), and update().
ilGlossaryTerm::getLanguage | ( | ) |
get language
Definition at line 234 of file class.ilGlossaryTerm.php.
References $language.
Referenced by exportXML(), and update().
ilGlossaryTerm::getTerm | ( | ) |
get term
Definition at line 214 of file class.ilGlossaryTerm.php.
References $term.
Referenced by exportXML(), and update().
ilGlossaryTerm::getTermList | ( | $a_glo_id, | |
$searchterm = "" |
|||
) |
static
public
integer/array | $a_glo_id array of glossary ids for meta glossaries | |
string | $searchterm | searchstring |
Definition at line 360 of file class.ilGlossaryTerm.php.
References DB_FETCHMODE_ASSOC.
ilGlossaryTerm::ilGlossaryTerm | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 50 of file class.ilGlossaryTerm.php.
References $ilias, $lng, $tpl, and read().
ilGlossaryTerm::read | ( | ) |
read glossary term data
Definition at line 69 of file class.ilGlossaryTerm.php.
References DB_FETCHMODE_ASSOC, setGlossaryId(), setImportId(), setLanguage(), and setTerm().
Referenced by ilGlossaryTerm().
ilGlossaryTerm::setGlossary | ( | & | $a_glossary | ) |
set glossary object
object | $a_glossary | glossary object |
Definition at line 169 of file class.ilGlossaryTerm.php.
References setGlossaryId().
ilGlossaryTerm::setGlossaryId | ( | $a_glo_id | ) |
set glossary id
int | $a_glo_id | glossary id |
Definition at line 181 of file class.ilGlossaryTerm.php.
Referenced by read(), and setGlossary().
ilGlossaryTerm::setId | ( | $a_id | ) |
set glossary term id (= glossary item id)
int | $a_id | glossary term id |
Definition at line 148 of file class.ilGlossaryTerm.php.
Referenced by create().
ilGlossaryTerm::setImportId | ( | $a_import_id | ) |
set import id
Definition at line 243 of file class.ilGlossaryTerm.php.
Referenced by read().
ilGlossaryTerm::setLanguage | ( | $a_language | ) |
set language
string | $a_language | two letter language code |
Definition at line 225 of file class.ilGlossaryTerm.php.
Referenced by read().
ilGlossaryTerm::setTerm | ( | $a_term | ) |
set term
string | $a_term | term |
Definition at line 203 of file class.ilGlossaryTerm.php.
Referenced by read().
ilGlossaryTerm::update | ( | ) |
update glossary term
Definition at line 297 of file class.ilGlossaryTerm.php.
References getGlossaryId(), getId(), getImportId(), getLanguage(), and getTerm().
ilGlossaryTerm::$glo_id |
Definition at line 43 of file class.ilGlossaryTerm.php.
Referenced by _getIdForImportId(), and getGlossaryId().
ilGlossaryTerm::$glossary |
Definition at line 40 of file class.ilGlossaryTerm.php.
ilGlossaryTerm::$id |
Definition at line 39 of file class.ilGlossaryTerm.php.
Referenced by getId().
ilGlossaryTerm::$ilias |
Definition at line 35 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryTerm().
ilGlossaryTerm::$import_id |
Definition at line 44 of file class.ilGlossaryTerm.php.
Referenced by getImportId().
ilGlossaryTerm::$language |
Definition at line 42 of file class.ilGlossaryTerm.php.
Referenced by getLanguage().
ilGlossaryTerm::$lng |
Definition at line 36 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryTerm().
ilGlossaryTerm::$term |
Definition at line 41 of file class.ilGlossaryTerm.php.
Referenced by getTerm().
ilGlossaryTerm::$tpl |
Definition at line 37 of file class.ilGlossaryTerm.php.
Referenced by ilGlossaryTerm().