|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilGlossaryDefinition. More...
Collaboration diagram for ilGlossaryDefinition:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor @access public. More... | |
| read () | |
| read data of content object More... | |
| 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 More... | |
| setTitle ($a_title) | |
| set title of content object More... | |
| getDescription () | |
| Get description. More... | |
| setDescription ($a_description) | |
| Set description. More... | |
| setShortTextDirty ($a_val) | |
| Set short text dirty. More... | |
| getShortTextDirty () | |
| Get short text dirty. More... | |
| create ($a_upload=false, $a_omit_page_creation=false) | |
| Create definition. More... | |
| delete () | |
| moveUp () | |
| moveDown () | |
| update () | |
| shortenShortText ($text) | |
| Shorten short text. More... | |
| updateShortText () | |
| exportXML (&$a_xml_writer, $a_inst) | |
| export xml More... | |
| exportXMLMetaData (&$a_xml_writer) | |
| export content objects meta data to xml (see ilias_co.dtd) More... | |
| 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) More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. More... | |
Static Public Member Functions | |
| static | getDefinitionList ($a_term_id) |
| static More... | |
| static | _lookupTermId ($a_def_id) |
| Looks up term id for a definition id. More... | |
| static | setShortTextsDirty ($a_glo_id) |
| Set short texts dirty. More... | |
| static | setShortTextsDirtyGlobally () |
| Set short texts dirty. More... | |
Data Fields | |
| $lng | |
| $tpl | |
| $id | |
| $term_id | |
| $glo_id | |
| $page_object | |
| $short_text | |
| $nr | |
| $short_text_dirty = false | |
Protected Attributes | |
| $db | |
| $user | |
Class ilGlossaryDefinition.
Definition at line 11 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::__construct | ( | $a_id = 0 | ) |
Constructor @access public.
Definition at line 38 of file class.ilGlossaryDefinition.php.
References $DIC, $lng, $tpl, read(), and user().
Here is the call graph for this function:
|
static |
Looks up term id for a definition id.
| int | $a_def_id | definition id |
Definition at line 611 of file class.ilGlossaryDefinition.php.
Referenced by ilObjMediaObjectAccess\checkAccessGlossaryTerm(), ilTermUsagesTableGUI\fillRow(), ilMediaPoolPageUsagesTableGUI\fillRow(), ilMediaObjectUsagesTableGUI\fillRow(), ilObjMediaObject\getParentObjectIdForUsage(), ilLMContentSearch\performSearch(), and ilGlossaryDefPageGUI\postOutputProcessing().
Here is the caller graph for this function:| ilGlossaryDefinition::assignPageObject | ( | & | $a_page_object | ) |
Definition at line 121 of file class.ilGlossaryDefinition.php.
| ilGlossaryDefinition::create | ( | $a_upload = false, |
|
$a_omit_page_creation = false |
|||
| ) |
Create definition.
| boolean | upload true/false |
Definition at line 193 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, createMetaData(), getId(), getTermId(), setId(), and setNr().
Here is the call graph for this function:| ilGlossaryDefinition::createMetaData | ( | ) |
create meta data entry
Definition at line 515 of file class.ilGlossaryDefinition.php.
References $glo_id, $ilUser, $lang, $user, ilGlossaryTerm\_lookGlossaryID(), ilGlossaryTerm\_lookLanguage(), getDescription(), getId(), getTermId(), getTitle(), and getType().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryDefinition::delete | ( | ) |
Definition at line 247 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, deleteMetaData(), and setNr().
Here is the call graph for this function:| ilGlossaryDefinition::deleteMetaData | ( | ) |
delete meta data entry
Definition at line 557 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 caller graph for this function:| ilGlossaryDefinition::exportXML | ( | & | $a_xml_writer, |
| $a_inst | |||
| ) |
export xml
Definition at line 453 of file class.ilGlossaryDefinition.php.
References exportXMLDefinition(), and exportXMLMetaData().
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 499 of file class.ilGlossaryDefinition.php.
References $xml, and ilPCFileList\collectFileItems().
Referenced by exportXML().
Here is the call 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 471 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 caller graph for this function:
|
static |
static
Definition at line 429 of file class.ilGlossaryDefinition.php.
Referenced by ilGlossaryTerm\_copyTerm(), ilSoapGLOStructureReader\_parseStructure(), ilObjGlossary\autoLinkGlossaryTerms(), ilCOPageHTMLExport\collectPageElements(), ilGlossaryTerm\delete(), ILIAS\Glossary\Export\GlossaryHtmlExport\exportHTMLGlossaryTerms(), ilSCORM2004Asset\exportHTMLPageObjects(), ilGlossaryTerm\exportXML(), ilObjGlossary\exportXML(), ilTermListTableGUI\fillRow(), ilTermQuickListTableGUI\fillRow(), ilPresentationListTableGUI\fillRow(), ilGlossaryTermGUI\getInternalLinks(), ilGlossaryExporter\getXmlExportTailDependencies(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryTermGUI\output(), and ilLMPresentationGUI\showPrintView().
Here is the caller graph for this function:| ilGlossaryDefinition::getDescription | ( | ) |
Get description.
Definition at line 154 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), and updateMetaData().
Here is the caller graph for this function:| ilGlossaryDefinition::getId | ( | ) |
Definition at line 81 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:| ilGlossaryDefinition::getNr | ( | ) |
Definition at line 116 of file class.ilGlossaryDefinition.php.
References $nr.
Referenced by moveDown(), and moveUp().
Here is the caller graph for this function:| & ilGlossaryDefinition::getPageObject | ( | ) |
| ilGlossaryDefinition::getShortText | ( | ) |
| ilGlossaryDefinition::getShortTextDirty | ( | ) |
Get short text dirty.
Definition at line 184 of file class.ilGlossaryDefinition.php.
References $short_text_dirty.
| ilGlossaryDefinition::getTermId | ( | ) |
Definition at line 96 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:| ilGlossaryDefinition::getTitle | ( | ) |
get title of content object
Definition at line 136 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), and updateMetaData().
Here is the caller graph for this function:| ilGlossaryDefinition::getType | ( | ) |
Definition at line 86 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), and updateMetaData().
Here is the caller graph for this function:| 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 579 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:| ilGlossaryDefinition::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) |
Definition at line 483 of file class.ilGlossaryDefinition.php.
References getId().
Here is the call graph for this function:| ilGlossaryDefinition::moveDown | ( | ) |
Definition at line 318 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, getNr(), getTermId(), and setNr().
Here is the call graph for this function:| ilGlossaryDefinition::moveUp | ( | ) |
Definition at line 283 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, getNr(), ilDBInterface\manipulate(), and setNr().
Here is the call graph for this function:| ilGlossaryDefinition::read | ( | ) |
read data of content object
Definition at line 59 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, setNr(), setShortText(), setShortTextDirty(), and setTermId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryDefinition::setDescription | ( | $a_description | ) |
Set description.
| string | description |
Definition at line 164 of file class.ilGlossaryDefinition.php.
Referenced by MDUpdateListener().
Here is the caller graph for this function:| ilGlossaryDefinition::setId | ( | $a_id | ) |
Definition at line 76 of file class.ilGlossaryDefinition.php.
Referenced by create().
Here is the caller graph for this function:| ilGlossaryDefinition::setNr | ( | $a_nr | ) |
Definition at line 111 of file class.ilGlossaryDefinition.php.
Referenced by create(), delete(), moveDown(), moveUp(), and read().
Here is the caller graph for this function:| ilGlossaryDefinition::setShortText | ( | $a_text | ) |
Definition at line 101 of file class.ilGlossaryDefinition.php.
References shortenShortText().
Referenced by read(), and updateShortText().
Here is the call 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 174 of file class.ilGlossaryDefinition.php.
Referenced by read(), and updateShortText().
Here is the caller graph for this function:
|
static |
Set short texts dirty.
return
Definition at line 631 of file class.ilGlossaryDefinition.php.
References $DIC, $ilDB, $term_id, and ilGlossaryTerm\getTermsOfGlossary().
Referenced by ilObjGlossaryGUI\saveProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Set short texts dirty.
return
Definition at line 654 of file class.ilGlossaryDefinition.php.
Referenced by ilObjAdvancedEditingGUI\initGeneralPageSettingsForm().
Here is the caller graph for this function:| ilGlossaryDefinition::setTermId | ( | $a_term_id | ) |
Definition at line 91 of file class.ilGlossaryDefinition.php.
Referenced by read().
Here is the caller graph for this function:| ilGlossaryDefinition::setTitle | ( | $a_title | ) |
set title of content object
Definition at line 144 of file class.ilGlossaryDefinition.php.
Referenced by MDUpdateListener().
Here is the caller graph for this function:| ilGlossaryDefinition::shortenShortText | ( | $text | ) |
Shorten short text.
return
Definition at line 381 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 caller graph for this function:| ilGlossaryDefinition::update | ( | ) |
Definition at line 361 of file class.ilGlossaryDefinition.php.
References $db, $ilDB, and updateMetaData().
Referenced by updateShortText().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryDefinition::updateMetaData | ( | ) |
update meta data entry
Definition at line 537 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 caller graph for this function:| ilGlossaryDefinition::updateShortText | ( | ) |
Definition at line 415 of file class.ilGlossaryDefinition.php.
References setShortText(), setShortTextDirty(), shortenShortText(), and update().
Here is the call graph for this function:
|
protected |
Definition at line 16 of file class.ilGlossaryDefinition.php.
Referenced by create(), delete(), moveDown(), moveUp(), read(), and update().
| ilGlossaryDefinition::$glo_id |
Definition at line 28 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData(), deleteMetaData(), exportXMLMetaData(), MDUpdateListener(), shortenShortText(), and updateMetaData().
| ilGlossaryDefinition::$id |
Definition at line 26 of file class.ilGlossaryDefinition.php.
Referenced by getId(), and MDUpdateListener().
| ilGlossaryDefinition::$lng |
Definition at line 23 of file class.ilGlossaryDefinition.php.
Referenced by __construct().
| ilGlossaryDefinition::$nr |
Definition at line 31 of file class.ilGlossaryDefinition.php.
Referenced by getNr().
| ilGlossaryDefinition::$page_object |
Definition at line 29 of file class.ilGlossaryDefinition.php.
Referenced by getPageObject().
| ilGlossaryDefinition::$short_text |
Definition at line 30 of file class.ilGlossaryDefinition.php.
Referenced by getShortText().
| ilGlossaryDefinition::$short_text_dirty = false |
Definition at line 32 of file class.ilGlossaryDefinition.php.
Referenced by getShortTextDirty().
| ilGlossaryDefinition::$term_id |
Definition at line 27 of file class.ilGlossaryDefinition.php.
Referenced by getTermId(), and setShortTextsDirty().
| ilGlossaryDefinition::$tpl |
Definition at line 24 of file class.ilGlossaryDefinition.php.
Referenced by __construct().
|
protected |
Definition at line 21 of file class.ilGlossaryDefinition.php.
Referenced by createMetaData().