ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilGlossaryDefinition. More...
Public Member Functions | |
ilGlossaryDefinition ($a_id=0) | |
Constructor public. | |
read () | |
read data of content object | |
setId ($a_id) | |
getId () | |
getType () | |
setTermId ($a_term_id) | |
getTermId () | |
setShortText ($a_text) | |
getShortText () | |
setNr ($a_nr) | |
getNr () | |
assignPageObject (&$a_page_object) | |
& | getPageObject () |
getTitle () | |
get title of content object | |
setTitle ($a_title) | |
set title of content object | |
getDescription () | |
get description of content object | |
setDescription ($a_description) | |
set description of content object | |
create ($a_upload=false) | |
delete () | |
moveUp () | |
moveDown () | |
update () | |
updateShortText () | |
getDefinitionList ($a_term_id) | |
static | |
exportXML (&$a_xml_writer, $a_inst) | |
export xml | |
exportXMLMetaData (&$a_xml_writer) | |
export content objects meta data to xml (see ilias_co.dtd) | |
modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
exportXMLDefinition (&$a_xml_writer, $a_inst=0) | |
export page objects meta data to xml (see ilias_co.dtd) | |
createMetaData () | |
create meta data entry | |
updateMetaData () | |
update meta data entry | |
deleteMetaData () | |
delete meta data entry | |
MDUpdateListener ($a_element) | |
Meta data update listener. | |
_lookupTermId ($a_def_id) | |
Looks up term id for a definition id. |
Data Fields | |
$ilias | |
$lng | |
$tpl | |
$id | |
$term_id | |
$glo_id | |
$page_object | |
$short_text | |
$nr |
Class ilGlossaryDefinition.
Definition at line 34 of file class.ilGlossaryDefinition.php.
ilGlossaryDefinition::_lookupTermId | ( | $a_def_id | ) |
Looks up term id for a definition id.
int | $a_def_id | definition id |
Definition at line 594 of file class.ilGlossaryDefinition.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilMediaObjectUsagesTableGUI\fillRow(), ilObjMediaObject\getParentObjectIdForUsage(), and ilLMContentSearch\performSearch().
ilGlossaryDefinition::assignPageObject | ( | & | $a_page_object | ) |
Definition at line 129 of file class.ilGlossaryDefinition.php.
ilGlossaryDefinition::create | ( | $a_upload = false | ) |
Definition at line 175 of file class.ilGlossaryDefinition.php.
References createMetaData(), DB_FETCHMODE_ASSOC, getId(), getShortText(), getTermId(), setId(), and setNr().
ilGlossaryDefinition::createMetaData | ( | ) |
create meta data entry
Definition at line 487 of file class.ilGlossaryDefinition.php.
References $glo_id, $lang, ilGlossaryTerm\_lookGlossaryID(), ilGlossaryTerm\_lookLanguage(), getDescription(), getId(), getTermId(), getTitle(), and getType().
Referenced by create().
ilGlossaryDefinition::delete | ( | ) |
Definition at line 222 of file class.ilGlossaryDefinition.php.
References DB_FETCHMODE_ASSOC, deleteMetaData(), getId(), getNr(), getTermId(), and setNr().
ilGlossaryDefinition::deleteMetaData | ( | ) |
delete meta data entry
Definition at line 535 of file class.ilGlossaryDefinition.php.
References $glo_id, ilGlossaryTerm\_lookGlossaryID(), getId(), getTermId(), and getType().
Referenced by delete().
ilGlossaryDefinition::exportXML | ( | & | $a_xml_writer, |
$a_inst | |||
) |
export xml
Definition at line 422 of file class.ilGlossaryDefinition.php.
References exportXMLDefinition(), and exportXMLMetaData().
ilGlossaryDefinition::exportXMLDefinition | ( | & | $a_xml_writer, |
$a_inst = 0 |
|||
) |
export page objects meta data to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 470 of file class.ilGlossaryDefinition.php.
Referenced by exportXML().
ilGlossaryDefinition::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export content objects meta data to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 440 of file class.ilGlossaryDefinition.php.
References $glo_id, ilGlossaryTerm\_lookGlossaryID(), getId(), getTermId(), and getType().
Referenced by exportXML().
ilGlossaryDefinition::getDefinitionList | ( | $a_term_id | ) |
static
Definition at line 401 of file class.ilGlossaryDefinition.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilSoapGLOStructureReader\_parseStructure(), ilGlossaryTerm\delete(), ilObjGlossary\exportHTMLGlossaryTerms(), ilObjContentObject\exportHTMLGlossaryTerms(), ilGlossaryTerm\exportXML(), ilObjGlossary\exportXML(), ilGlossaryTermGUI\getInternalLinks(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryPresentationGUI\listTermByGiven(), ilObjGlossaryGUI\listTerms(), ilGlossaryTermGUI\output(), ilObjGlossaryGUI\quickList(), and ilLMPresentationGUI\showPrintView().
ilGlossaryDefinition::getDescription | ( | ) |
get description of content object
Definition at line 162 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), and updateMetaData().
ilGlossaryDefinition::getId | ( | ) |
Definition at line 89 of file class.ilGlossaryDefinition.php.
References $id.
Referenced by create(), createMetaData(), delete(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), modifyExportIdentifier(), moveDown(), moveUp(), update(), and updateMetaData().
ilGlossaryDefinition::getNr | ( | ) |
Definition at line 124 of file class.ilGlossaryDefinition.php.
References $nr.
Referenced by delete(), moveDown(), moveUp(), and update().
& ilGlossaryDefinition::getPageObject | ( | ) |
Definition at line 134 of file class.ilGlossaryDefinition.php.
References $page_object.
ilGlossaryDefinition::getShortText | ( | ) |
Definition at line 114 of file class.ilGlossaryDefinition.php.
References $short_text.
Referenced by create(), and update().
ilGlossaryDefinition::getTermId | ( | ) |
Definition at line 104 of file class.ilGlossaryDefinition.php.
References $term_id.
Referenced by create(), createMetaData(), delete(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), moveDown(), moveUp(), update(), and updateMetaData().
ilGlossaryDefinition::getTitle | ( | ) |
get title of content object
Definition at line 144 of file class.ilGlossaryDefinition.php.
References $title.
Referenced by createMetaData(), and updateMetaData().
ilGlossaryDefinition::getType | ( | ) |
Definition at line 94 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), and updateMetaData().
ilGlossaryDefinition::ilGlossaryDefinition | ( | $a_id = 0 | ) |
ilGlossaryDefinition::MDUpdateListener | ( | $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
string | $a_element |
Definition at line 558 of file class.ilGlossaryDefinition.php.
References $glo_id, $id, ilGlossaryTerm\_lookGlossaryID(), getId(), getTermId(), getType(), setDescription(), and setTitle().
ilGlossaryDefinition::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Definition at line 453 of file class.ilGlossaryDefinition.php.
References getId().
ilGlossaryDefinition::moveDown | ( | ) |
Definition at line 307 of file class.ilGlossaryDefinition.php.
References DB_FETCHMODE_ASSOC, getId(), getNr(), getTermId(), and setNr().
ilGlossaryDefinition::moveUp | ( | ) |
Definition at line 265 of file class.ilGlossaryDefinition.php.
References DB_FETCHMODE_ASSOC, getId(), getNr(), getTermId(), and setNr().
ilGlossaryDefinition::read | ( | ) |
read data of content object
Definition at line 69 of file class.ilGlossaryDefinition.php.
References DB_FETCHMODE_ASSOC, setNr(), setShortText(), and setTermId().
Referenced by ilGlossaryDefinition().
ilGlossaryDefinition::setDescription | ( | $a_description | ) |
set description of content object
Definition at line 170 of file class.ilGlossaryDefinition.php.
Referenced by MDUpdateListener().
ilGlossaryDefinition::setId | ( | $a_id | ) |
Definition at line 84 of file class.ilGlossaryDefinition.php.
Referenced by create().
ilGlossaryDefinition::setNr | ( | $a_nr | ) |
Definition at line 119 of file class.ilGlossaryDefinition.php.
Referenced by create(), delete(), moveDown(), moveUp(), and read().
ilGlossaryDefinition::setShortText | ( | $a_text | ) |
Definition at line 109 of file class.ilGlossaryDefinition.php.
Referenced by read(), and updateShortText().
ilGlossaryDefinition::setTermId | ( | $a_term_id | ) |
Definition at line 99 of file class.ilGlossaryDefinition.php.
Referenced by read().
ilGlossaryDefinition::setTitle | ( | $a_title | ) |
set title of content object
Definition at line 152 of file class.ilGlossaryDefinition.php.
Referenced by MDUpdateListener().
ilGlossaryDefinition::update | ( | ) |
Definition at line 355 of file class.ilGlossaryDefinition.php.
References getId(), getNr(), getShortText(), getTermId(), and updateMetaData().
Referenced by updateShortText().
ilGlossaryDefinition::updateMetaData | ( | ) |
update meta data entry
Definition at line 510 of file class.ilGlossaryDefinition.php.
References $glo_id, ilGlossaryTerm\_lookGlossaryID(), getDescription(), getId(), getTermId(), getTitle(), and getType().
Referenced by update().
ilGlossaryDefinition::updateShortText | ( | ) |
Definition at line 369 of file class.ilGlossaryDefinition.php.
References setShortText(), ilUtil\shortenText(), and update().
ilGlossaryDefinition::$glo_id |
Definition at line 42 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), and updateMetaData().
ilGlossaryDefinition::$id |
Definition at line 40 of file class.ilGlossaryDefinition.php.
Referenced by getId(), and MDUpdateListener().
ilGlossaryDefinition::$ilias |
Definition at line 36 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryDefinition().
ilGlossaryDefinition::$lng |
Definition at line 37 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryDefinition().
ilGlossaryDefinition::$nr |
Definition at line 45 of file class.ilGlossaryDefinition.php.
Referenced by getNr().
ilGlossaryDefinition::$page_object |
Definition at line 43 of file class.ilGlossaryDefinition.php.
Referenced by getPageObject().
ilGlossaryDefinition::$short_text |
Definition at line 44 of file class.ilGlossaryDefinition.php.
Referenced by getShortText().
ilGlossaryDefinition::$term_id |
Definition at line 41 of file class.ilGlossaryDefinition.php.
Referenced by getTermId().
ilGlossaryDefinition::$tpl |
Definition at line 38 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryDefinition().