| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilGlossaryDefinition. More...
 Collaboration diagram for ilGlossaryDefinition:
 Collaboration diagram for ilGlossaryDefinition:| 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. | |
| setDescription ($a_description) | |
| Set description. | |
| setShortTextDirty ($a_val) | |
| Set short text dirty. | |
| getShortTextDirty () | |
| Get short text dirty. | |
| create ($a_upload=false) | |
| Create definition. | |
| delete () | |
| moveUp () | |
| moveDown () | |
| update () | |
| shortenShortText ($text) | |
| Shorten short text. | |
| 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. | |
| Static Public Member Functions | |
| static | setShortTextsDirty ($a_glo_id) | 
| Set short texts dirty. | |
| Data Fields | |
| $ilias | |
| $lng | |
| $tpl | |
| $id | |
| $term_id | |
| $glo_id | |
| $page_object | |
| $short_text | |
| $nr | |
| $short_text_dirty = false | |
Class ilGlossaryDefinition.
Definition at line 14 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 641 of file class.ilGlossaryDefinition.php.
Referenced by ilWebAccessChecker\checkAccessGlossaryTerm(), ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjMediaObject\getParentObjectIdForUsage(), and ilLMContentSearch\performSearch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::assignPageObject | ( | & | $a_page_object | ) | 
Definition at line 112 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::create | ( | $a_upload = false | ) | 
Create definition.
| boolean | upload true/false | 
Definition at line 184 of file class.ilGlossaryDefinition.php.
References createMetaData(), getId(), getShortTextDirty(), getTermId(), ilDB\LOCK_WRITE, setId(), and setNr().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::createMetaData | ( | ) | 
create meta data entry
Definition at line 533 of file class.ilGlossaryDefinition.php.
References $glo_id, $ilUser, $lang, ilGlossaryTerm\_lookGlossaryID(), ilGlossaryTerm\_lookLanguage(), getDescription(), getId(), getTermId(), getTitle(), and getType().
Referenced by create().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::delete | ( | ) | 
Definition at line 237 of file class.ilGlossaryDefinition.php.
References deleteMetaData(), ilDB\LOCK_WRITE, and setNr().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::deleteMetaData | ( | ) | 
delete meta data entry
Definition at line 582 of file class.ilGlossaryDefinition.php.
References $glo_id, ilGlossaryTerm\_lookGlossaryID(), getId(), getTermId(), and getType().
Referenced by delete().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::exportXML | ( | & | $a_xml_writer, | 
| $a_inst | |||
| ) | 
export xml
Definition at line 468 of file class.ilGlossaryDefinition.php.
References exportXMLDefinition(), and exportXMLMetaData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 516 of file class.ilGlossaryDefinition.php.
Referenced by exportXML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 486 of file class.ilGlossaryDefinition.php.
References $glo_id, ilGlossaryTerm\_lookGlossaryID(), getId(), getTermId(), and getType().
Referenced by exportXML().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getDefinitionList | ( | $a_term_id | ) | 
static
Definition at line 445 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryTerm\_copyTerm(), ilSoapGLOStructureReader\_parseStructure(), ilGlossaryTerm\delete(), ilObjGlossary\exportHTMLGlossaryTerms(), ilObjContentObject\exportHTMLGlossaryTerms(), ilSCORM2004Asset\exportHTMLPageObjects(), ilGlossaryTerm\exportXML(), ilObjGlossary\exportXML(), ilTermQuickListTableGUI\fillRow(), ilTermListTableGUI\fillRow(), ilPresentationListTableGUI\fillRow(), ilGlossaryTermGUI\getInternalLinks(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryTermGUI\output(), ilObjGlossaryGUI\quickList(), and ilLMPresentationGUI\showPrintView().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getDescription | ( | ) | 
Get description.
Definition at line 145 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getId | ( | ) | 
Definition at line 72 of file class.ilGlossaryDefinition.php.
References $id.
Referenced by create(), createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), modifyExportIdentifier(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getNr | ( | ) | 
Definition at line 107 of file class.ilGlossaryDefinition.php.
References $nr.
Referenced by moveDown(), and moveUp().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| & ilGlossaryDefinition::getPageObject | ( | ) | 
Definition at line 117 of file class.ilGlossaryDefinition.php.
References $page_object.
| ilGlossaryDefinition::getShortText | ( | ) | 
Definition at line 97 of file class.ilGlossaryDefinition.php.
References $short_text.
| ilGlossaryDefinition::getShortTextDirty | ( | ) | 
Get short text dirty.
Definition at line 175 of file class.ilGlossaryDefinition.php.
References $short_text_dirty.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getTermId | ( | ) | 
Definition at line 87 of file class.ilGlossaryDefinition.php.
References $term_id.
Referenced by create(), createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), moveDown(), shortenShortText(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getTitle | ( | ) | 
get title of content object
Definition at line 127 of file class.ilGlossaryDefinition.php.
References $title.
Referenced by createMetaData(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::getType | ( | ) | 
Definition at line 77 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), and updateMetaData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 605 of file class.ilGlossaryDefinition.php.
References $glo_id, $id, ilGlossaryTerm\_lookGlossaryID(), getId(), getTermId(), getType(), setDescription(), and setTitle().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) | 
Definition at line 499 of file class.ilGlossaryDefinition.php.
References getId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::moveDown | ( | ) | 
Definition at line 322 of file class.ilGlossaryDefinition.php.
References getNr(), getTermId(), ilDB\LOCK_WRITE, and setNr().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::moveUp | ( | ) | 
Definition at line 281 of file class.ilGlossaryDefinition.php.
References getNr(), ilDB\LOCK_WRITE, and setNr().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::read | ( | ) | 
read data of content object
Definition at line 50 of file class.ilGlossaryDefinition.php.
References setNr(), setShortText(), setShortTextDirty(), and setTermId().
Referenced by ilGlossaryDefinition().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setDescription | ( | $a_description | ) | 
Set description.
| string | description | 
Definition at line 155 of file class.ilGlossaryDefinition.php.
Referenced by MDUpdateListener().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setId | ( | $a_id | ) | 
Definition at line 67 of file class.ilGlossaryDefinition.php.
Referenced by create().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setNr | ( | $a_nr | ) | 
Definition at line 102 of file class.ilGlossaryDefinition.php.
Referenced by create(), delete(), moveDown(), moveUp(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setShortText | ( | $a_text | ) | 
Definition at line 92 of file class.ilGlossaryDefinition.php.
References shortenShortText().
Referenced by read(), and updateShortText().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setShortTextDirty | ( | $a_val | ) | 
Set short text dirty.
| boolean | short text dirty | 
Definition at line 165 of file class.ilGlossaryDefinition.php.
Referenced by read(), and updateShortText().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Set short texts dirty.
| @return | 
Definition at line 659 of file class.ilGlossaryDefinition.php.
References $term_id, and ilGlossaryTerm\getTermsOfGlossary().
Referenced by ilObjGlossaryGUI\saveProperties().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setTermId | ( | $a_term_id | ) | 
Definition at line 82 of file class.ilGlossaryDefinition.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::setTitle | ( | $a_title | ) | 
set title of content object
Definition at line 135 of file class.ilGlossaryDefinition.php.
Referenced by MDUpdateListener().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::shortenShortText | ( | $text | ) | 
Shorten short text.
| @return | 
Definition at line 389 of file class.ilGlossaryDefinition.php.
References $glo_id, getTermId(), ilObjGlossary\lookupSnippetLength(), and ilUtil\shortenText().
Referenced by setShortText(), and updateShortText().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::update | ( | ) | 
Definition at line 369 of file class.ilGlossaryDefinition.php.
References updateMetaData().
Referenced by updateShortText().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::updateMetaData | ( | ) | 
update meta data entry
Definition at line 557 of file class.ilGlossaryDefinition.php.
References $glo_id, ilGlossaryTerm\_lookGlossaryID(), getDescription(), getId(), getTermId(), getTitle(), and getType().
Referenced by update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilGlossaryDefinition::updateShortText | ( | ) | 
Definition at line 430 of file class.ilGlossaryDefinition.php.
References setShortText(), setShortTextDirty(), shortenShortText(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilGlossaryDefinition::$glo_id | 
Definition at line 22 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), shortenShortText(), and updateMetaData().
| ilGlossaryDefinition::$id | 
Definition at line 20 of file class.ilGlossaryDefinition.php.
Referenced by getId(), and MDUpdateListener().
| ilGlossaryDefinition::$ilias | 
Definition at line 16 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryDefinition().
| ilGlossaryDefinition::$lng | 
Definition at line 17 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryDefinition().
| ilGlossaryDefinition::$nr | 
Definition at line 25 of file class.ilGlossaryDefinition.php.
Referenced by getNr().
| ilGlossaryDefinition::$page_object | 
Definition at line 23 of file class.ilGlossaryDefinition.php.
Referenced by getPageObject().
| ilGlossaryDefinition::$short_text | 
Definition at line 24 of file class.ilGlossaryDefinition.php.
Referenced by getShortText().
| ilGlossaryDefinition::$short_text_dirty = false | 
Definition at line 26 of file class.ilGlossaryDefinition.php.
Referenced by getShortTextDirty().
| ilGlossaryDefinition::$term_id | 
Definition at line 21 of file class.ilGlossaryDefinition.php.
Referenced by getTermId(), and setShortTextsDirty().
| ilGlossaryDefinition::$tpl | 
Definition at line 18 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryDefinition().