|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
GUI class for glossary terms. More...
Collaboration diagram for ilGlossaryTermGUI:Public Member Functions | |
| ilGlossaryTermGUI ($a_id=0) | |
| Constructor @access public. More... | |
| executeCommand () | |
| execute command More... | |
| setOfflineDirectory ($offdir) | |
| set offline directory to offdir More... | |
| getOfflineDirectory () | |
| get offline directory More... | |
| setGlossary ($a_glossary) | |
| setLinkXML ($a_link_xml) | |
| getLinkXML () | |
| create () | |
| form for new content object creation More... | |
| saveTerm () | |
| save term More... | |
| editTerm () | |
| Edit term. More... | |
| getEditTermForm () | |
| Get edit term form. More... | |
| updateTerm () | |
| update term More... | |
| getOverlayHTML ($a_close_el_id, $a_glo_ov_id="", $a_lang="", $a_outputmode="offline") | |
| Get overlay html. More... | |
| output ($a_offline=false, $a_tpl="", $a_outputmode="presentation") | |
| output glossary term definitions More... | |
| getInternalLinks () | |
| get internal links More... | |
| listDefinitions () | |
| list definitions More... | |
| confirmDefinitionDeletion () | |
| deletion confirmation screen More... | |
| cancelDefinitionDeletion () | |
| deleteDefinition () | |
| moveUp () | |
| move definition upwards More... | |
| moveDown () | |
| move definition downwards More... | |
| addDefinition () | |
| add definition More... | |
| cancel () | |
| cancel adding definition More... | |
| saveDefinition () | |
| save definition More... | |
| getTemplate () | |
| get template More... | |
| setTabs () | |
| output tabs More... | |
| displayLocator () | |
| display locator More... | |
| getTabs (&$tabs_gui) | |
| get tabs More... | |
| listUsages () | |
| List usage. More... | |
| quickList () | |
| Set quick term list cmd into left navigation URL. More... | |
Static Public Member Functions | |
| static | _goto ($a_target, $a_ref_id="") |
| redirect script More... | |
Data Fields | |
| $ilias | |
| $lng | |
| $tpl | |
| $glossary | |
| $term | |
| $link_xml | |
GUI class for glossary terms.
@ilCtrl_Calls ilGlossaryTermGUI: ilTermDefinitionEditorGUI, ilGlossaryDefPageGUI, ilPropertyFormGUI
Definition at line 17 of file class.ilGlossaryTermGUI.php.
|
static |
redirect script
| string | $a_target |
Definition at line 722 of file class.ilGlossaryTermGUI.php.
References $_GET, $ilErr, $lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
Here is the call graph for this function:| ilGlossaryTermGUI::addDefinition | ( | ) |
add definition
Definition at line 590 of file class.ilGlossaryTermGUI.php.
References displayLocator(), ilUtil\getImagePath(), getTemplate(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::cancel | ( | ) |
cancel adding definition
Definition at line 623 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 551 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 500 of file class.ilGlossaryTermGUI.php.
References $_GET, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), getTemplate(), ilUtil\sendQuestion(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::create | ( | ) |
form for new content object creation
Definition at line 113 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::deleteDefinition | ( | ) |
Definition at line 557 of file class.ilGlossaryTermGUI.php.
References $_GET.
| ilGlossaryTermGUI::displayLocator | ( | ) |
display locator
Definition at line 664 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
Here is the caller graph for this function:| ilGlossaryTermGUI::editTerm | ( | ) |
Edit term.
Definition at line 130 of file class.ilGlossaryTermGUI.php.
References $ilCtrl, displayLocator(), getEditTermForm(), ilUtil\getImagePath(), getTemplate(), quickList(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::executeCommand | ( | ) |
execute command
Definition at line 49 of file class.ilGlossaryTermGUI.php.
References $cmd, $ret, getEditTermForm(), and quickList().
Here is the call graph for this function:| ilGlossaryTermGUI::getEditTermForm | ( | ) |
Get edit term form.
return
Definition at line 155 of file class.ilGlossaryTermGUI.php.
References $ilCtrl, $lang, $term, ilMDLanguageItem\_getLanguages(), and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by editTerm(), executeCommand(), and updateTerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermGUI::getInternalLinks | ( | ) |
get internal links
Definition at line 369 of file class.ilGlossaryTermGUI.php.
References ilGlossaryDefinition\getDefinitionList().
Here is the call graph for this function:| ilGlossaryTermGUI::getLinkXML | ( | ) |
Definition at line 105 of file class.ilGlossaryTermGUI.php.
References $link_xml.
Referenced by output().
Here is the caller graph for this function:| ilGlossaryTermGUI::getOfflineDirectory | ( | ) |
get offline directory
Definition at line 90 of file class.ilGlossaryTermGUI.php.
Referenced by output().
Here is the caller graph for this function:| ilGlossaryTermGUI::getOverlayHTML | ( | $a_close_el_id, | |
$a_glo_ov_id = "", |
|||
$a_lang = "", |
|||
$a_outputmode = "offline" |
|||
| ) |
Get overlay html.
return
Definition at line 260 of file class.ilGlossaryTermGUI.php.
References $lng, $tpl, and output().
Here is the call graph for this function:| ilGlossaryTermGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 678 of file class.ilGlossaryTermGUI.php.
References $_GET, $lng, and ilGlossaryTerm\getNumberOfUsages().
Referenced by setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermGUI::getTemplate | ( | ) |
get template
Definition at line 646 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
Here is the caller graph for this function:| ilGlossaryTermGUI::ilGlossaryTermGUI | ( | $a_id = 0 | ) |
Constructor @access public.
Definition at line 30 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::listDefinitions | ( | ) |
list definitions
Definition at line 395 of file class.ilGlossaryTermGUI.php.
References $_GET, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), getTemplate(), quickList(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::listUsages | ( | ) |
List usage.
Definition at line 766 of file class.ilGlossaryTermGUI.php.
References $_GET, $tab, $tpl, displayLocator(), ilUtil\getImagePath(), getTemplate(), quickList(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::moveDown | ( | ) |
move definition downwards
Definition at line 579 of file class.ilGlossaryTermGUI.php.
References $_GET.
| ilGlossaryTermGUI::moveUp | ( | ) |
move definition upwards
Definition at line 568 of file class.ilGlossaryTermGUI.php.
References $_GET.
| ilGlossaryTermGUI::output | ( | $a_offline = false, |
|
$a_tpl = "", |
|||
$a_outputmode = "presentation" |
|||
| ) |
output glossary term definitions
used in ilLMPresentationGUI->ilGlossary()
Definition at line 300 of file class.ilGlossaryTermGUI.php.
References $_GET, $tpl, ilGlossaryDefinition\getDefinitionList(), getLinkXML(), getOfflineDirectory(), and ilUtil\includeMathjax().
Referenced by getOverlayHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermGUI::quickList | ( | ) |
Set quick term list cmd into left navigation URL.
Definition at line 790 of file class.ilGlossaryTermGUI.php.
References $ilCtrl, $tab, and $tpl.
Referenced by editTerm(), executeCommand(), listDefinitions(), and listUsages().
Here is the caller graph for this function:| ilGlossaryTermGUI::saveDefinition | ( | ) |
save definition
Definition at line 631 of file class.ilGlossaryTermGUI.php.
References $_GET, $_POST, and ilUtil\stripSlashes().
Here is the call graph for this function:| ilGlossaryTermGUI::saveTerm | ( | ) |
| ilGlossaryTermGUI::setGlossary | ( | $a_glossary | ) |
Definition at line 95 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::setLinkXML | ( | $a_link_xml | ) |
Definition at line 100 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
| offdir | contains diretory where to store files |
Definition at line 81 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::setTabs | ( | ) |
output tabs
Definition at line 655 of file class.ilGlossaryTermGUI.php.
References getTabs().
Referenced by addDefinition(), confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermGUI::updateTerm | ( | ) |
update term
Definition at line 213 of file class.ilGlossaryTermGUI.php.
References $_POST, getEditTermForm(), ilAdvancedMDRecordGUI\MODE_EDITOR, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilGlossaryTermGUI::$glossary |
Definition at line 22 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::$ilias |
Definition at line 19 of file class.ilGlossaryTermGUI.php.
Referenced by ilGlossaryTermGUI().
| ilGlossaryTermGUI::$link_xml |
Definition at line 24 of file class.ilGlossaryTermGUI.php.
Referenced by getLinkXML().
| ilGlossaryTermGUI::$lng |
Definition at line 20 of file class.ilGlossaryTermGUI.php.
Referenced by _goto(), getOverlayHTML(), getTabs(), and ilGlossaryTermGUI().
| ilGlossaryTermGUI::$term |
Definition at line 23 of file class.ilGlossaryTermGUI.php.
Referenced by getEditTermForm().
| ilGlossaryTermGUI::$tpl |
Definition at line 21 of file class.ilGlossaryTermGUI.php.
Referenced by getOverlayHTML(), ilGlossaryTermGUI(), listUsages(), output(), and quickList().