ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
GUI class for glossary terms. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor 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 (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 | |
$log | |
$term_glossary = null | |
GUI class for glossary terms.
ilGlossaryTermGUI: ilTermDefinitionEditorGUI, ilGlossaryDefPageGUI, ilPropertyFormGUI ilGlossaryTermGUI: ilObjectMetaDataGUI
Definition at line 18 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::__construct | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 55 of file class.ilGlossaryTermGUI.php.
References $_GET, $DIC, $ilCtrl, $lng, $tpl, ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupObjectId(), array, and ilLoggerFactory\getLogger().
|
static |
redirect script
string | $a_target |
Definition at line 772 of file class.ilGlossaryTermGUI.php.
References $_GET, $DIC, $ilErr, $lng, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupTitle(), array, exit, and ilUtil\sendFailure().
ilGlossaryTermGUI::addDefinition | ( | ) |
add definition
Definition at line 651 of file class.ilGlossaryTermGUI.php.
References $ctrl, and $ilCtrl.
ilGlossaryTermGUI::cancel | ( | ) |
cancel adding definition
Definition at line 662 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 612 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 552 of file class.ilGlossaryTermGUI.php.
References $_GET, $output, $tabs_gui, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), ilUtil\sendQuestion(), setTabs(), and ilPageObjectGUI\setTemplateOutput().
ilGlossaryTermGUI::create | ( | ) |
form for new content object creation
Definition at line 173 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::deleteDefinition | ( | ) |
ilGlossaryTermGUI::displayLocator | ( | ) |
display locator
Definition at line 692 of file class.ilGlossaryTermGUI.php.
Referenced by confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::editTerm | ( | ilPropertyFormGUI | $a_form = null | ) |
Edit term.
Definition at line 190 of file class.ilGlossaryTermGUI.php.
References $ctrl, $ilCtrl, $tabs_gui, displayLocator(), getEditTermForm(), ilUtil\getImagePath(), quickList(), and setTabs().
Referenced by updateTerm().
ilGlossaryTermGUI::executeCommand | ( | ) |
execute command
Definition at line 89 of file class.ilGlossaryTermGUI.php.
References $form, $ret, $tabs_gui, getEditTermForm(), quickList(), and setTabs().
ilGlossaryTermGUI::getEditTermForm | ( | ) |
Get edit term form.
Definition at line 218 of file class.ilGlossaryTermGUI.php.
References $ctrl, $form, $ilCtrl, $lang, $tabs_gui, $term, ilMDLanguageItem\_getLanguages(), array, ilTaxNodeAssignment\getAssignmentsOfItem(), ilAdvancedMDRecordGUI\MODE_EDITOR, and ilAdvancedMDRecordGUI\setPropertyForm().
Referenced by editTerm(), executeCommand(), and updateTerm().
ilGlossaryTermGUI::getInternalLinks | ( | ) |
get internal links
Definition at line 410 of file class.ilGlossaryTermGUI.php.
References $def, $key, array, and ilGlossaryDefinition\getDefinitionList().
ilGlossaryTermGUI::getLinkXML | ( | ) |
Definition at line 165 of file class.ilGlossaryTermGUI.php.
References $link_xml.
Referenced by output().
ilGlossaryTermGUI::getOfflineDirectory | ( | ) |
get offline directory
Definition at line 146 of file class.ilGlossaryTermGUI.php.
Referenced by output().
ilGlossaryTermGUI::getOverlayHTML | ( | $a_close_el_id, | |
$a_glo_ov_id = "" , |
|||
$a_lang = "" , |
|||
$a_outputmode = "offline" |
|||
) |
Get overlay html.
Definition at line 315 of file class.ilGlossaryTermGUI.php.
References $lng, $tpl, and output().
ilGlossaryTermGUI::getTabs | ( | ) |
get tabs
Definition at line 706 of file class.ilGlossaryTermGUI.php.
References $_GET, $help, $lng, ilGlossaryTerm\getNumberOfUsages(), and ilObjectMetaDataGUI\getTab().
Referenced by setTabs().
ilGlossaryTermGUI::listDefinitions | ( | ) |
list definitions
Definition at line 434 of file class.ilGlossaryTermGUI.php.
References $_GET, $def, $output, $tabs_gui, array, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), quickList(), and setTabs().
ilGlossaryTermGUI::listUsages | ( | ) |
List usage.
Definition at line 817 of file class.ilGlossaryTermGUI.php.
References $_GET, $tab, $tabs_gui, $tpl, displayLocator(), ilUtil\getImagePath(), quickList(), and setTabs().
ilGlossaryTermGUI::moveDown | ( | ) |
move definition downwards
Definition at line 640 of file class.ilGlossaryTermGUI.php.
References $_GET.
ilGlossaryTermGUI::moveUp | ( | ) |
move definition upwards
Definition at line 629 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 349 of file class.ilGlossaryTermGUI.php.
References $_GET, $def, $output, $tpl, ilGlossaryDefinition\getDefinitionList(), ilMathJax\getInstance(), getLinkXML(), and getOfflineDirectory().
Referenced by getOverlayHTML().
ilGlossaryTermGUI::quickList | ( | ) |
Set quick term list cmd into left navigation URL.
Definition at line 842 of file class.ilGlossaryTermGUI.php.
References $ctrl, $ilCtrl, $tab, and $tpl.
Referenced by editTerm(), executeCommand(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::saveDefinition | ( | ) |
save definition
Definition at line 670 of file class.ilGlossaryTermGUI.php.
References $_GET, $_POST, $def, and ilUtil\stripSlashes().
ilGlossaryTermGUI::saveTerm | ( | ) |
ilGlossaryTermGUI::setGlossary | ( | $a_glossary | ) |
Definition at line 152 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setLinkXML | ( | $a_link_xml | ) |
Definition at line 160 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
offdir | contains diretory where to store files |
Definition at line 136 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setTabs | ( | ) |
output tabs
Definition at line 684 of file class.ilGlossaryTermGUI.php.
References getTabs().
Referenced by confirmDefinitionDeletion(), editTerm(), executeCommand(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::updateTerm | ( | ) |
update term
Definition at line 278 of file class.ilGlossaryTermGUI.php.
References $_POST, $form, ilTaxNodeAssignment\deleteAssignmentsOfItem(), editTerm(), getEditTermForm(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
protected |
Definition at line 23 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), editTerm(), getEditTermForm(), and quickList().
ilGlossaryTermGUI::$glossary |
Definition at line 37 of file class.ilGlossaryTermGUI.php.
|
protected |
Definition at line 33 of file class.ilGlossaryTermGUI.php.
Referenced by getTabs().
ilGlossaryTermGUI::$link_xml |
Definition at line 39 of file class.ilGlossaryTermGUI.php.
Referenced by getLinkXML().
ilGlossaryTermGUI::$lng |
Definition at line 35 of file class.ilGlossaryTermGUI.php.
Referenced by __construct(), _goto(), getOverlayHTML(), and getTabs().
|
protected |
Definition at line 44 of file class.ilGlossaryTermGUI.php.
|
protected |
Definition at line 28 of file class.ilGlossaryTermGUI.php.
Referenced by confirmDefinitionDeletion(), editTerm(), executeCommand(), getEditTermForm(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::$term |
Definition at line 38 of file class.ilGlossaryTermGUI.php.
Referenced by getEditTermForm().
|
protected |
Definition at line 49 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::$tpl |
Definition at line 36 of file class.ilGlossaryTermGUI.php.
Referenced by __construct(), getOverlayHTML(), listUsages(), output(), and quickList().