ILIAS
release_4-3 Revision
|
GUI class for glossary terms. More...
Public Member Functions | |
ilGlossaryTermGUI ($a_id=0) | |
Constructor public. | |
executeCommand () | |
execute command | |
setOfflineDirectory ($offdir) | |
set offline directory to offdir | |
getOfflineDirectory () | |
get offline directory | |
setGlossary ($a_glossary) | |
setLinkXML ($a_link_xml) | |
getLinkXML () | |
create () | |
form for new content object creation | |
saveTerm () | |
save term | |
editTerm () | |
Edit term. | |
updateTerm () | |
update term | |
getOverlayHTML ($a_close_el_id, $a_glo_ov_id="", $a_lang="", $a_outputmode="offline") | |
Get overlay html. | |
output ($a_offline=false, $a_tpl="", $a_outputmode="presentation") | |
output glossary term definitions | |
getInternalLinks () | |
get internal links | |
listDefinitions () | |
list definitions | |
confirmDefinitionDeletion () | |
deletion confirmation screen | |
cancelDefinitionDeletion () | |
deleteDefinition () | |
moveUp () | |
move definition upwards | |
moveDown () | |
move definition downwards | |
addDefinition () | |
add definition | |
cancel () | |
cancel adding definition | |
saveDefinition () | |
save definition | |
getTemplate () | |
get template | |
setTabs () | |
output tabs | |
displayLocator () | |
display locator | |
getTabs (&$tabs_gui) | |
get tabs | |
_goto ($a_target, $a_ref_id="") | |
redirect script | |
listUsages () | |
List usage. | |
quickList () | |
Set quick term list cmd into left navigation URL. |
Data Fields | |
$ilias | |
$lng | |
$tpl | |
$glossary | |
$term | |
$link_xml |
GUI class for glossary terms.
ilGlossaryTermGUI: ilTermDefinitionEditorGUI, ilPageObjectGUI
Definition at line 17 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::_goto | ( | $a_target, | |
$a_ref_id = "" |
|||
) |
redirect script
string | $a_target |
Definition at line 659 of file class.ilGlossaryTermGUI.php.
References $_GET, $ilErr, $lng, $ref_id, ilObject\_getAllReferences(), ilObjectGUI\_gotoRepositoryRoot(), ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilGlossaryTermGUI::addDefinition | ( | ) |
add definition
Definition at line 527 of file class.ilGlossaryTermGUI.php.
References $title, displayLocator(), ilUtil\getImagePath(), getTemplate(), and setTabs().
ilGlossaryTermGUI::cancel | ( | ) |
cancel adding definition
Definition at line 560 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 488 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 436 of file class.ilGlossaryTermGUI.php.
References $_GET, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), getTemplate(), ilUtil\sendQuestion(), setTabs(), and ilPageObjectGUI\setTemplateOutput().
ilGlossaryTermGUI::create | ( | ) |
form for new content object creation
Definition at line 108 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::deleteDefinition | ( | ) |
Definition at line 494 of file class.ilGlossaryTermGUI.php.
References $_GET.
ilGlossaryTermGUI::displayLocator | ( | ) |
display locator
Definition at line 601 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::editTerm | ( | ) |
Edit term.
Definition at line 125 of file class.ilGlossaryTermGUI.php.
References $lang, $term, ilMDLanguageItem\_getLanguages(), displayLocator(), ilUtil\getImagePath(), getTemplate(), quickList(), ilTaxAssignInputGUI\setCurrentValues(), and setTabs().
ilGlossaryTermGUI::executeCommand | ( | ) |
execute command
Definition at line 49 of file class.ilGlossaryTermGUI.php.
References $cmd, $ret, and quickList().
ilGlossaryTermGUI::getInternalLinks | ( | ) |
get internal links
Definition at line 305 of file class.ilGlossaryTermGUI.php.
References ilGlossaryDefinition\getDefinitionList().
ilGlossaryTermGUI::getLinkXML | ( | ) |
Definition at line 100 of file class.ilGlossaryTermGUI.php.
References $link_xml.
Referenced by output().
ilGlossaryTermGUI::getOfflineDirectory | ( | ) |
get offline directory
Definition at line 85 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.
@return |
Definition at line 198 of file class.ilGlossaryTermGUI.php.
References $lng, $tpl, and output().
ilGlossaryTermGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 615 of file class.ilGlossaryTermGUI.php.
References $_GET, $lng, and ilGlossaryTerm\getNumberOfUsages().
Referenced by setTabs().
ilGlossaryTermGUI::getTemplate | ( | ) |
get template
Definition at line 583 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::ilGlossaryTermGUI | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 30 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::listDefinitions | ( | ) |
list definitions
Definition at line 331 of file class.ilGlossaryTermGUI.php.
References $_GET, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), getTemplate(), quickList(), and setTabs().
ilGlossaryTermGUI::listUsages | ( | ) |
List usage.
Definition at line 703 of file class.ilGlossaryTermGUI.php.
References $_GET, $tab, $tpl, displayLocator(), ilUtil\getImagePath(), getTemplate(), quickList(), and setTabs().
ilGlossaryTermGUI::moveDown | ( | ) |
move definition downwards
Definition at line 516 of file class.ilGlossaryTermGUI.php.
References $_GET.
ilGlossaryTermGUI::moveUp | ( | ) |
move definition upwards
Definition at line 505 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 238 of file class.ilGlossaryTermGUI.php.
References $_GET, $tpl, ilGlossaryDefinition\getDefinitionList(), getLinkXML(), and getOfflineDirectory().
Referenced by getOverlayHTML().
ilGlossaryTermGUI::quickList | ( | ) |
Set quick term list cmd into left navigation URL.
Definition at line 727 of file class.ilGlossaryTermGUI.php.
References $ilCtrl, $tab, and $tpl.
Referenced by editTerm(), executeCommand(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::saveDefinition | ( | ) |
save definition
Definition at line 568 of file class.ilGlossaryTermGUI.php.
References $_GET, $_POST, and ilUtil\stripSlashes().
ilGlossaryTermGUI::saveTerm | ( | ) |
ilGlossaryTermGUI::setGlossary | ( | $a_glossary | ) |
Definition at line 90 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setLinkXML | ( | $a_link_xml | ) |
Definition at line 95 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
offdir | contains diretory where to store files |
Definition at line 76 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setTabs | ( | ) |
output tabs
Definition at line 592 of file class.ilGlossaryTermGUI.php.
References getTabs().
Referenced by addDefinition(), confirmDefinitionDeletion(), editTerm(), listDefinitions(), and listUsages().
ilGlossaryTermGUI::updateTerm | ( | ) |
update term
Definition at line 173 of file class.ilGlossaryTermGUI.php.
References $_POST, ilTaxAssignInputGUI\saveInput(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
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 editTerm().
ilGlossaryTermGUI::$tpl |
Definition at line 21 of file class.ilGlossaryTermGUI.php.
Referenced by getOverlayHTML(), ilGlossaryTermGUI(), listUsages(), output(), and quickList().