ILIAS
Release_3_10_x_branch Revision 61812
|
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 () | |
import new object form | |
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 | |
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 | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
showMountWebfolderIcon () | |
setAdminTabs () | |
set admin tabs public | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
setActions ($a_actions="") | |
set possible actions for objects in list. | |
setSubObjects ($a_sub_objects="") | |
set possible subobjects for this object. | |
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) | |
undeleteObject () | |
get object back from trash | |
insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
recursive method to insert all saved nodes of the clipboard (maybe this function could be moved to a rbac class ?) | |
confirmedDeleteObject () | |
confirmed deletion if object -> objects are moved to trash | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
remove already deleted objects within the objects in trash recursive function | |
editObject () | |
edit object | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
updateObject () | |
updates object entry in object_data | |
afterUpdate () | |
permObject () | |
show permissions of current node | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
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 | |
permSaveObject () | |
save permissions | |
isVisible ($a_ref_id, $a_type) | |
displayList () | |
display object list | |
deleteObject ($a_error=false) | |
display deletion confirmation screen only for referenced objects. | |
trashObject () | |
show trash content of object | |
addRoleObject () | |
adds a local role This method is only called when choose the option 'you may add local roles'. | |
showActions ($with_subobjects=false) | |
show possible action (form buttons) | |
getActions () | |
Get Actions. | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
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="") | |
infoObject () | |
__buildRoleFilterSelect () | |
__filterRoles ($a_roles, $a_filter) | |
ownerObject () | |
changeOwnerObject () | |
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. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
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 | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) |
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 1639 of file class.ilObjGlossaryGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
ilObjGlossaryGUI::addDefinition | ( | ) |
add definition
Definition at line 1504 of file class.ilObjGlossaryGUI.php.
References $term, and ilUtil\stripSlashes().
ilObjGlossaryGUI::addTerm | ( | ) |
add term
Definition at line 860 of file class.ilObjGlossaryGUI.php.
References $_SESSION, $term, and ilUtil\stripSlashes().
ilObjGlossaryGUI::assignObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 191 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::cancelDefinitionDeletion | ( | ) |
Definition at line 974 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::cancelDeleteExportFile | ( | ) |
cancel deletion of export files
Definition at line 1319 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 967 of file class.ilObjGlossaryGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjGlossaryGUI::cancelTermDeletion | ( | ) |
cancel deletion of object
public
Definition at line 1411 of file class.ilObjGlossaryGUI.php.
References ilUtil\sendInfo().
ilObjGlossaryGUI::confirmDefinitionDeletion | ( | ) |
deletion confirmation screen
Definition at line 912 of file class.ilObjGlossaryGUI.php.
References $_GET, $term, ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getSyntaxStylePath(), ilUtil\sendInfo(), and ilPageObjectGUI\setTemplateOutput().
ilObjGlossaryGUI::confirmDeleteExportFile | ( | ) |
confirmation screen for export file deletion
Definition at line 1269 of file class.ilObjGlossaryGUI.php.
References $_SESSION, $file, ilUtil\getImagePath(), ilUtil\sendInfo(), setTabs(), and ilUtil\switchColor().
ilObjGlossaryGUI::confirmTermDeletion | ( | ) |
confirm term deletion
Definition at line 1352 of file class.ilObjGlossaryGUI.php.
References $_SESSION, $term, ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\switchColor().
ilObjGlossaryGUI::create | ( | ) |
create new (subobject) in glossary
Definition at line 1477 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 202 of file class.ilObjGlossaryGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, ilFrameTargetInfo\_getFrame(), formSelect(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by importObject().
ilObjGlossaryGUI::deleteDefinition | ( | ) |
Definition at line 980 of file class.ilObjGlossaryGUI.php.
References $_GET.
ilObjGlossaryGUI::deleteExportFile | ( | ) |
delete export files
Definition at line 1328 of file class.ilObjGlossaryGUI.php.
References $_SESSION, $file, and ilUtil\delDir().
ilObjGlossaryGUI::deleteTerms | ( | ) |
delete selected terms
Definition at line 1421 of file class.ilObjGlossaryGUI.php.
References $_SESSION, and $term.
ilObjGlossaryGUI::downloadExportFile | ( | ) |
download export file
Definition at line 1193 of file class.ilObjGlossaryGUI.php.
References $file, and ilUtil\deliverFile().
ilObjGlossaryGUI::editTerm | ( | ) |
edit term
Definition at line 990 of file class.ilObjGlossaryGUI.php.
& ilObjGlossaryGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 73 of file class.ilObjGlossaryGUI.php.
References $_GET, $cmd, ilObjectGUI\$lng, $ret, ilMDEditorGUI\addObserver(), ilObjectGUI\getCreationMode(), getTemplate(), ilObjectGUI\prepareOutput(), ilObjectGUI\setLocator(), and setTabs().
ilObjGlossaryGUI::export | ( | ) |
export content object
Definition at line 1169 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::exportHTML | ( | ) |
create html package
Definition at line 1180 of file class.ilObjGlossaryGUI.php.
ilObjGlossaryGUI::exportList | ( | ) |
Definition at line 1032 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 1582 of file class.ilObjGlossaryGUI.php.
References $_GET.
Referenced by setTabs().
ilObjGlossaryGUI::getTemplate | ( | ) |
Definition at line 1533 of file class.ilObjGlossaryGUI.php.
References $_GET, $title, ilGlossaryTerm\_lookGlossaryTerm(), ilUtil\getImagePath(), and ilUtil\sendInfo().
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\sendInfo(), and ilUtil\unzip().
ilObjGlossaryGUI::importObject | ( | ) |
import new object form
public
Reimplemented from ilObjectGUI.
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, $lang, $term, ilFrameTargetInfo\_getFrame(), ilMDLanguageItem\_getLanguages(), formSelect(), ilGlossaryDefinition\getDefinitionList(), ilUtil\insertLatexImages(), ilObjectGUI\setActions(), ilUtil\shortenText(), ilObjectGUI\showActions(), ilUtil\switchColor(), and ilPCParagraph\xml2output().
ilObjGlossaryGUI::moveDefinitionDown | ( | ) |
move a definiton down
Definition at line 899 of file class.ilObjGlossaryGUI.php.
References $_GET.
ilObjGlossaryGUI::moveDefinitionUp | ( | ) |
move a definiton up
Definition at line 886 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 1214 of file class.ilObjGlossaryGUI.php.
References $file.
ilObjGlossaryGUI::quickList | ( | ) |
quick term list
Definition at line 529 of file class.ilObjGlossaryGUI.php.
References $_GET, $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, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjGlossaryGUI::saveProperties | ( | ) |
save properties
Definition at line 499 of file class.ilObjGlossaryGUI.php.
References ilUtil\sendInfo(), and ilUtil\yn2tf().
ilObjGlossaryGUI::saveTerm | ( | ) |
Definition at line 1488 of file class.ilObjGlossaryGUI.php.
References $ilCtrl, and ilUtil\sendInfo().
ilObjGlossaryGUI::setLocator | ( | $a_tree = "" , |
|
$a_id = "" |
|||
) |
set Locator
object | tree object |
integer | reference id public |
Definition at line 1439 of file class.ilObjGlossaryGUI.php.
References $_GET, and ilObjectGUI\setLocator().
ilObjGlossaryGUI::setTabs | ( | ) |
output tabs
Reimplemented from ilObjectGUI.
Definition at line 1567 of file class.ilObjGlossaryGUI.php.
References getTabs().
Referenced by confirmDeleteExportFile(), executeCommand(), and viewExportLog().
ilObjGlossaryGUI::updateTerm | ( | ) |
update term
Definition at line 1017 of file class.ilObjGlossaryGUI.php.
References $_GET, $term, ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilObjGlossaryGUI::view | ( | ) |
view content
Definition at line 1468 of file class.ilObjGlossaryGUI.php.
References viewObject().
ilObjGlossaryGUI::viewExportLog | ( | ) |
Definition at line 1244 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().