ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilGlossaryGUI. More...
Public Member Functions | |
ilObjGlossaryGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
& | executeCommand () |
execute command | |
assignObject () | |
createObject () | |
form for new content object creation | |
importObject () | |
saveObject () | |
save new content object to db | |
importFileObject () | |
display status information or report errors messages in case of error | |
viewObject () | |
list childs of current object | |
properties () | |
edit properties of object (admin form) | |
saveProperties () | |
save properties | |
frameset () | |
glossary edit frameset | |
quickList () | |
quick term list | |
listTerms () | |
list terms | |
showActions ($a_actions) | |
show possible action (form buttons) | |
addTerm () | |
add term | |
moveDefinitionUp () | |
move a definiton up | |
moveDefinitionDown () | |
move a definiton down | |
confirmDefinitionDeletion () | |
deletion confirmation screen | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
cancelDefinitionDeletion () | |
deleteDefinition () | |
editTerm () | |
edit term | |
updateTerm () | |
update term | |
exportList () | |
export () | |
export content object | |
exportHTML () | |
create html package | |
downloadExportFile () | |
download export file | |
publishExportFile () | |
download export file | |
viewExportLog () | |
confirmDeleteExportFile () | |
confirmation screen for export file deletion | |
cancelDeleteExportFile () | |
cancel deletion of export files | |
deleteExportFile () | |
delete export files | |
confirmTermDeletion () | |
confirm term deletion | |
cancelTermDeletion () | |
cancel deletion of object | |
deleteTerms () | |
delete selected terms | |
setLocator ($a_tree="", $a_id="") | |
set Locator | |
view () | |
view content | |
create () | |
create new (subobject) in glossary | |
saveTerm () | |
addDefinition () | |
add definition | |
getTemplate () | |
setTabs () | |
output tabs | |
getTabs (&$tabs_gui) | |
get tabs | |
_goto ($a_target) | |
redirect script | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
Data Fields | |
$admin_tabs | |
$mode | |
$term | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false |
Additional Inherited Members | |
Protected Member Functions inherited from ilObjectGUI | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
Class ilGlossaryGUI.
GUI class for ilGlossary
ilObjGlossaryGUI: ilGlossaryTermGUI, ilMDEditorGUI, ilPermissionGUI ilObjGlossaryGUI: ilInfoScreenGUI
Definition at line 44 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::_goto | ( | $a_target | ) |
redirect script
string | $a_target |
Definition at line 1674 of file class.ilObjGlossaryGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjGlossaryGUI::addDefinition | ( | ) |
add definition
Definition at line 1537 of file class.ilObjGlossaryGUI.php.
References $_POST, $ilCtrl, $term, ilUtil\sendFailure(), and ilUtil\stripSlashes().
ilObjGlossaryGUI::addTerm | ( | ) |
add term
Definition at line 887 of file class.ilObjGlossaryGUI.php.
References $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$lng, $term, ilUtil\sendFailure(), and ilUtil\stripSlashes().
ilObjGlossaryGUI::assignObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 191 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 1008 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::cancelDeleteExportFile | ( | ) |
cancel deletion of export files
Definition at line 1353 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 1002 of file class.ilObjGlossaryGUI.php.
References $_GET, and ilUtil\redirect().
ilObjGlossaryGUI::cancelTermDeletion | ( | ) |
cancel deletion of object
public
Definition at line 1445 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 947 of file class.ilObjGlossaryGUI.php.
References $_GET, $term, ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), ilUtil\sendQuestion(), and ilPageObjectGUI\setTemplateOutput().
ilObjGlossaryGUI::confirmDeleteExportFile | ( | ) |
confirmation screen for export file deletion
Definition at line 1303 of file class.ilObjGlossaryGUI.php.
References $_POST, $_SESSION, $file, $name, ilUtil\getImagePath(), ilUtil\sendQuestion(), setTabs(), and ilUtil\switchColor().
ilObjGlossaryGUI::confirmTermDeletion | ( | ) |
confirm term deletion
Definition at line 1386 of file class.ilObjGlossaryGUI.php.
References $_POST, $_SESSION, $key, $name, $term, ilUtil\getImagePath(), ilUtil\sendQuestion(), and ilUtil\switchColor().
ilObjGlossaryGUI::create | ( | ) |
create new (subobject) in glossary
Definition at line 1510 of file class.ilObjGlossaryGUI.php.
References $_POST.
ilObjGlossaryGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 202 of file class.ilObjGlossaryGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, $key, ilFrameTargetInfo\_getFrame(), formSelect(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by importObject().
ilObjGlossaryGUI::deleteDefinition | ( | ) |
Definition at line 1014 of file class.ilObjGlossaryGUI.php.
References $_GET.
ilObjGlossaryGUI::deleteExportFile | ( | ) |
delete export files
Definition at line 1362 of file class.ilObjGlossaryGUI.php.
References $_SESSION, $file, and ilUtil\delDir().
ilObjGlossaryGUI::deleteTerms | ( | ) |
delete selected terms
Definition at line 1454 of file class.ilObjGlossaryGUI.php.
References $_SESSION, and $term.
ilObjGlossaryGUI::downloadExportFile | ( | ) |
download export file
Definition at line 1227 of file class.ilObjGlossaryGUI.php.
References $_POST, $file, and ilUtil\deliverFile().
ilObjGlossaryGUI::editTerm | ( | ) |
edit term
Definition at line 1024 of file class.ilObjGlossaryGUI.php.
& ilObjGlossaryGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 73 of file class.ilObjGlossaryGUI.php.
References $_GET, $_POST, $cmd, ilObjectGUI\$lng, $ret, ilMDEditorGUI\addObserver(), ilObjectGUI\getCreationMode(), getTemplate(), ilObjectGUI\prepareOutput(), ilObjectGUI\setLocator(), and setTabs().
ilObjGlossaryGUI::export | ( | ) |
export content object
Definition at line 1203 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::exportHTML | ( | ) |
create html package
Definition at line 1214 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::exportList | ( | ) |
Definition at line 1066 of file class.ilObjGlossaryGUI.php.
References $_GET, ilObjectGUI\$tree, ilUtil\getImagePath(), and ilUtil\switchColor().
ilObjGlossaryGUI::frameset | ( | ) |
glossary edit frameset
Definition at line 513 of file class.ilObjGlossaryGUI.php.
References exit.
ilObjGlossaryGUI::getTabs | ( | & | $tabs_gui | ) |
get tabs
Reimplemented from ilObjectGUI.
Definition at line 1617 of file class.ilObjGlossaryGUI.php.
References $_GET.
Referenced by setTabs().
ilObjGlossaryGUI::getTemplate | ( | ) |
Definition at line 1570 of file class.ilObjGlossaryGUI.php.
References $_GET, $title, ilGlossaryTerm\_lookGlossaryTerm(), and ilUtil\getImagePath().
Referenced by executeCommand().
ilObjGlossaryGUI::ilObjGlossaryGUI | ( | $a_data, | |
$a_id = 0 , |
|||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 54 of file class.ilObjGlossaryGUI.php.
References $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjGlossaryGUI::importFileObject | ( | ) |
display status information or report errors messages in case of error
public
Definition at line 319 of file class.ilObjGlossaryGUI.php.
References $_GET, $file, ilObject\_writeImportId(), ilUtil\delDir(), ilUtil\moveUploadedFile(), ilUtil\redirect(), ilUtil\sendSuccess(), and ilUtil\unzip().
ilObjGlossaryGUI::importObject | ( | ) |
Definition at line 267 of file class.ilObjGlossaryGUI.php.
References createObject().
ilObjGlossaryGUI::listTerms | ( | ) |
list terms
Definition at line 646 of file class.ilObjGlossaryGUI.php.
References $_GET, $_SESSION, $key, $lang, $term, ilFrameTargetInfo\_getFrame(), ilMDLanguageItem\_getLanguages(), formSelect(), ilGlossaryDefinition\getDefinitionList(), ilUtil\insertLatexImages(), ilUtil\shortenText(), showActions(), ilUtil\switchColor(), and ilPCParagraph\xml2output().
ilObjGlossaryGUI::moveDefinitionDown | ( | ) |
move a definiton down
Definition at line 934 of file class.ilObjGlossaryGUI.php.
References $_GET.
ilObjGlossaryGUI::moveDefinitionUp | ( | ) |
move a definiton up
Definition at line 921 of file class.ilObjGlossaryGUI.php.
References $_GET.
ilObjGlossaryGUI::properties | ( | ) |
edit properties of object (admin form)
public
Definition at line 435 of file class.ilObjGlossaryGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\$tree, and formSelect().
ilObjGlossaryGUI::publishExportFile | ( | ) |
download export file
Definition at line 1248 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::quickList | ( | ) |
quick term list
Definition at line 529 of file class.ilObjGlossaryGUI.php.
References $_GET, $key, $term, ilGlossaryDefinition\getDefinitionList(), ilUtil\getImagePath(), and ilUtil\switchColor().
ilObjGlossaryGUI::saveObject | ( | ) |
save new content object to db
Reimplemented from ilObjectGUI.
Definition at line 275 of file class.ilObjGlossaryGUI.php.
References $_GET, $_POST, ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjGlossaryGUI::saveProperties | ( | ) |
save properties
Definition at line 499 of file class.ilObjGlossaryGUI.php.
References $_POST, ilUtil\sendSuccess(), and ilUtil\yn2tf().
ilObjGlossaryGUI::saveTerm | ( | ) |
Definition at line 1521 of file class.ilObjGlossaryGUI.php.
References $ilCtrl, and ilUtil\sendSuccess().
ilObjGlossaryGUI::setLocator | ( | $a_tree = "" , |
|
$a_id = "" |
|||
) |
set Locator
object | tree object |
integer | reference id public |
Definition at line 1472 of file class.ilObjGlossaryGUI.php.
References $_GET, and ilObjectGUI\setLocator().
ilObjGlossaryGUI::setTabs | ( | ) |
output tabs
Reimplemented from ilObjectGUI.
Definition at line 1602 of file class.ilObjGlossaryGUI.php.
References getTabs().
Referenced by confirmDeleteExportFile(), executeCommand(), and viewExportLog().
ilObjGlossaryGUI::showActions | ( | $a_actions | ) |
show possible action (form buttons)
public
Definition at line 856 of file class.ilObjGlossaryGUI.php.
References $d, ilObjectGUI\$lng, $name, and ilUtil\getImagePath().
Referenced by listTerms().
ilObjGlossaryGUI::updateTerm | ( | ) |
update term
Definition at line 1051 of file class.ilObjGlossaryGUI.php.
References $_GET, $_POST, $term, ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjGlossaryGUI::view | ( | ) |
view content
Definition at line 1501 of file class.ilObjGlossaryGUI.php.
References viewObject().
ilObjGlossaryGUI::viewExportLog | ( | ) |
Definition at line 1278 of file class.ilObjGlossaryGUI.php.
References ilObjectGUI\$tree, and setTabs().
ilObjGlossaryGUI::viewObject | ( | ) |
list childs of current object
public
Reimplemented from ilObjectGUI.
Definition at line 401 of file class.ilObjGlossaryGUI.php.
References $_GET, and ilFrameTargetInfo\_getFrame().
Referenced by view().
ilObjGlossaryGUI::$admin_tabs |
Definition at line 46 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::$mode |
Definition at line 47 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::$term |
Definition at line 48 of file class.ilObjGlossaryGUI.php.
Referenced by addDefinition(), addTerm(), confirmDefinitionDeletion(), confirmTermDeletion(), deleteTerms(), listTerms(), quickList(), and updateTerm().