ILIAS
Release_4_0_x_branch Revision 61816
|
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 | |
output ($a_offline=false) | |
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 |
Data Fields | |
$ilias | |
$lng | |
$tpl | |
$glossary | |
$term | |
$link_xml |
GUI class for glossary terms.
ilGlossaryTermGUI: ilTermDefinitionEditorGUI, ilPageObjectGUI
Definition at line 36 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::_goto | ( | $a_target, | |
$a_ref_id = "" |
|||
) |
redirect script
string | $a_target |
Definition at line 609 of file class.ilGlossaryTermGUI.php.
References $_GET, $ilErr, $lng, $ref_id, ilObject\_getAllReferences(), ilGlossaryTerm\_lookGlossaryID(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilGlossaryTermGUI::addDefinition | ( | ) |
add definition
Definition at line 494 of file class.ilGlossaryTermGUI.php.
References $_GET, displayLocator(), ilUtil\getImagePath(), getTemplate(), and setTabs().
ilGlossaryTermGUI::cancel | ( | ) |
cancel adding definition
Definition at line 522 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 455 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 407 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 126 of file class.ilGlossaryTermGUI.php.
References $_GET, $_SESSION, $lang, ilMDLanguageItem\_getLanguages(), displayLocator(), formSelect(), ilUtil\getImagePath(), getTemplate(), and setTabs().
ilGlossaryTermGUI::deleteDefinition | ( | ) |
Definition at line 461 of file class.ilGlossaryTermGUI.php.
References $_GET.
ilGlossaryTermGUI::displayLocator | ( | ) |
display locator
Definition at line 570 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), confirmDefinitionDeletion(), create(), editTerm(), and listDefinitions().
ilGlossaryTermGUI::editTerm | ( | ) |
edit term
Definition at line 180 of file class.ilGlossaryTermGUI.php.
References $lang, ilMDLanguageItem\_getLanguages(), displayLocator(), formSelect(), ilUtil\getImagePath(), getTemplate(), and setTabs().
ilGlossaryTermGUI::executeCommand | ( | ) |
execute command
Definition at line 68 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::getInternalLinks | ( | ) |
get internal links
Definition at line 280 of file class.ilGlossaryTermGUI.php.
References $key, and ilGlossaryDefinition\getDefinitionList().
ilGlossaryTermGUI::getLinkXML | ( | ) |
Definition at line 118 of file class.ilGlossaryTermGUI.php.
References $link_xml.
Referenced by output().
ilGlossaryTermGUI::getOfflineDirectory | ( | ) |
get offline directory
Definition at line 103 of file class.ilGlossaryTermGUI.php.
Referenced by output().
ilGlossaryTermGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Definition at line 584 of file class.ilGlossaryTermGUI.php.
References $_GET.
Referenced by setTabs().
ilGlossaryTermGUI::getTemplate | ( | ) |
get template
Definition at line 545 of file class.ilGlossaryTermGUI.php.
Referenced by addDefinition(), confirmDefinitionDeletion(), create(), editTerm(), and listDefinitions().
ilGlossaryTermGUI::ilGlossaryTermGUI | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 49 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::listDefinitions | ( | ) |
list definitions
Definition at line 306 of file class.ilGlossaryTermGUI.php.
References $_GET, displayLocator(), ilObjStyleSheet\getContentStylePath(), ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), ilObjStyleSheet\getSyntaxStylePath(), getTemplate(), and setTabs().
ilGlossaryTermGUI::moveDown | ( | ) |
move definition downwards
Definition at line 483 of file class.ilGlossaryTermGUI.php.
References $_GET.
ilGlossaryTermGUI::moveUp | ( | ) |
move definition upwards
Definition at line 472 of file class.ilGlossaryTermGUI.php.
References $_GET.
ilGlossaryTermGUI::output | ( | $a_offline = false | ) |
output glossary term definitions
used in ilLMPresentationGUI->ilGlossary()
Definition at line 223 of file class.ilGlossaryTermGUI.php.
References $_GET, ilGlossaryDefinition\getDefinitionList(), getLinkXML(), and getOfflineDirectory().
ilGlossaryTermGUI::saveDefinition | ( | ) |
save definition
Definition at line 530 of file class.ilGlossaryTermGUI.php.
References $_GET, $_POST, and ilUtil\stripSlashes().
ilGlossaryTermGUI::saveTerm | ( | ) |
save term
Definition at line 163 of file class.ilGlossaryTermGUI.php.
References $_POST, $_SESSION, $term, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilGlossaryTermGUI::setGlossary | ( | & | $a_glossary | ) |
Definition at line 108 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setLinkXML | ( | $a_link_xml | ) |
Definition at line 113 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setOfflineDirectory | ( | $offdir | ) |
set offline directory to offdir
offdir | contains diretory where to store files |
Definition at line 94 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::setTabs | ( | ) |
output tabs
Definition at line 554 of file class.ilGlossaryTermGUI.php.
References getTabs().
Referenced by addDefinition(), confirmDefinitionDeletion(), create(), editTerm(), and listDefinitions().
ilGlossaryTermGUI::updateTerm | ( | ) |
update term
Definition at line 209 of file class.ilGlossaryTermGUI.php.
References $_POST, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilGlossaryTermGUI::$glossary |
Definition at line 41 of file class.ilGlossaryTermGUI.php.
ilGlossaryTermGUI::$ilias |
Definition at line 38 of file class.ilGlossaryTermGUI.php.
Referenced by ilGlossaryTermGUI().
ilGlossaryTermGUI::$link_xml |
Definition at line 43 of file class.ilGlossaryTermGUI.php.
Referenced by getLinkXML().
ilGlossaryTermGUI::$lng |
Definition at line 39 of file class.ilGlossaryTermGUI.php.
Referenced by _goto(), and ilGlossaryTermGUI().
ilGlossaryTermGUI::$term |
Definition at line 42 of file class.ilGlossaryTermGUI.php.
Referenced by saveTerm().
ilGlossaryTermGUI::$tpl |
Definition at line 40 of file class.ilGlossaryTermGUI.php.
Referenced by ilGlossaryTermGUI().