|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
GUI class for glossary terms. More...
Collaboration diagram for ilGlossaryTermGUI:Public Member Functions | |
| __construct ($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) | |
| setPageLinker ($page_linker) | |
| create () | |
| form for new content object creation More... | |
| saveTerm () | |
| save term More... | |
| editTerm (ilPropertyFormGUI $a_form=null) | |
| 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... | |
| setTabs () | |
| output tabs More... | |
| displayLocator () | |
| display locator More... | |
| getTabs () | |
| 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 | |
| $lng | |
| $tpl | |
| $glossary | |
| $term | |
| $link_xml | |
Protected Attributes | |
| $ctrl | |
| $tabs_gui | |
| $help | |
| $page_linker | |
| $log | |
| $term_glossary = null | |
GUI class for glossary terms.
Definition at line 12 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::__construct | ( | $a_id = 0 | ) |
Constructor @access public.
Definition at line 54 of file class.ilGlossaryTermGUI.php.
References $_GET, $DIC, $ilCtrl, $lng, $tpl, ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupObjectId(), ilLoggerFactory\getLogger(), and help().
Here is the call graph for this function:
|
static |
redirect script
| string | $a_target |
Definition at line 728 of file class.ilGlossaryTermGUI.php.
References $_GET, $DIC, $ilErr, $lng, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
Here is the call graph for this function:| ilGlossaryTermGUI::addDefinition | ( | ) |
| ilGlossaryTermGUI::cancel | ( | ) |
cancel adding definition
Definition at line 620 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 570 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 521 of file class.ilGlossaryTermGUI.php.
References $_GET, $tabs_gui, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), ilUtil\sendQuestion(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::create | ( | ) |
form for new content object creation
Definition at line 165 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::deleteDefinition | ( | ) |
Definition at line 576 of file class.ilGlossaryTermGUI.php.
References $_GET.
| ilGlossaryTermGUI::displayLocator | ( | ) |
display locator
Definition at line 650 of file class.ilGlossaryTermGUI.php.
Referenced by confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
Here is the caller graph for this function:| ilGlossaryTermGUI::editTerm | ( | ilPropertyFormGUI | $a_form = null | ) |
Edit term.
Definition at line 182 of file class.ilGlossaryTermGUI.php.
References $ctrl, $ilCtrl, $tabs_gui, displayLocator(), getEditTermForm(), ilUtil\getImagePath(), quickList(), and setTabs().
Referenced by updateTerm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermGUI::executeCommand | ( | ) |
execute command
Definition at line 87 of file class.ilGlossaryTermGUI.php.
References $ret, $tabs_gui, getEditTermForm(), quickList(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::getEditTermForm | ( | ) |
Get edit term form.
return
Definition at line 210 of file class.ilGlossaryTermGUI.php.
References Vendor\Package\$a, $ctrl, $ilCtrl, $lang, $tabs_gui, $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 393 of file class.ilGlossaryTermGUI.php.
References ilGlossaryDefinition\getDefinitionList().
Here is the call graph for this function:| ilGlossaryTermGUI::getOfflineDirectory | ( | ) |
get offline directory
Definition at line 143 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 302 of file class.ilGlossaryTermGUI.php.
References $lng, $tpl, and output().
Here is the call graph for this function:| ilGlossaryTermGUI::getTabs | ( | ) |
get tabs
Definition at line 663 of file class.ilGlossaryTermGUI.php.
References $_GET, $help, $lng, ilGlossaryTerm\getNumberOfUsages(), and ILIAS_HTTP_PATH.
Referenced by setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGlossaryTermGUI::listDefinitions | ( | ) |
list definitions
Definition at line 414 of file class.ilGlossaryTermGUI.php.
References $_GET, $tabs_gui, $tpl, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), quickList(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::listUsages | ( | ) |
List usage.
Definition at line 773 of file class.ilGlossaryTermGUI.php.
References $_GET, $tab, $tabs_gui, $tpl, displayLocator(), ilUtil\getImagePath(), quickList(), and setTabs().
Here is the call graph for this function:| ilGlossaryTermGUI::moveDown | ( | ) |
move definition downwards
Definition at line 598 of file class.ilGlossaryTermGUI.php.
References $_GET.
| ilGlossaryTermGUI::moveUp | ( | ) |
move definition upwards
Definition at line 587 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 336 of file class.ilGlossaryTermGUI.php.
References $_GET, $tpl, ilGlossaryDefinition\getDefinitionList(), ilMathJax\getInstance(), and getOfflineDirectory().
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 797 of file class.ilGlossaryTermGUI.php.
Referenced by editTerm(), executeCommand(), listDefinitions(), and listUsages().
Here is the caller graph for this function:| ilGlossaryTermGUI::saveDefinition | ( | ) |
save definition
Definition at line 628 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 149 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
| offdir | contains diretory where to store files |
Definition at line 133 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::setPageLinker | ( | $page_linker | ) |
Definition at line 157 of file class.ilGlossaryTermGUI.php.
References $page_linker.
| ilGlossaryTermGUI::setTabs | ( | ) |
output tabs
Definition at line 642 of file class.ilGlossaryTermGUI.php.
References getTabs().
Referenced by confirmDefinitionDeletion(), editTerm(), executeCommand(), 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 266 of file class.ilGlossaryTermGUI.php.
References $_POST, editTerm(), getEditTermForm(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 17 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), editTerm(), and getEditTermForm().
| ilGlossaryTermGUI::$glossary |
Definition at line 36 of file class.ilGlossaryTermGUI.php.
|
protected |
Definition at line 27 of file class.ilGlossaryTermGUI.php.
Referenced by getTabs().
| ilGlossaryTermGUI::$link_xml |
Definition at line 38 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::$lng |
Definition at line 34 of file class.ilGlossaryTermGUI.php.
Referenced by __construct(), _goto(), getOverlayHTML(), and getTabs().
|
protected |
Definition at line 43 of file class.ilGlossaryTermGUI.php.
|
protected |
Definition at line 32 of file class.ilGlossaryTermGUI.php.
Referenced by setPageLinker().
|
protected |
Definition at line 22 of file class.ilGlossaryTermGUI.php.
Referenced by confirmDefinitionDeletion(), editTerm(), executeCommand(), getEditTermForm(), listDefinitions(), and listUsages().
| ilGlossaryTermGUI::$term |
Definition at line 37 of file class.ilGlossaryTermGUI.php.
Referenced by getEditTermForm().
|
protected |
Definition at line 48 of file class.ilGlossaryTermGUI.php.
| ilGlossaryTermGUI::$tpl |
Definition at line 35 of file class.ilGlossaryTermGUI.php.
Referenced by __construct(), getOverlayHTML(), listDefinitions(), listUsages(), output(), and quickList().