ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilObjFolderGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=false) | |
Constructor public. More... | |
viewObject () | |
View folder. More... | |
renderObject () | |
Render folder. More... | |
executeCommand () | |
setFolderTree ($a_tree) | |
set tree More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import file object type $lng. More... | |
showSummaryObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
infoScreen () | |
show information screen More... | |
getTabs () | |
Get tabs. More... | |
downloadFolderObject () | |
modifyItemGUI ($a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container type $tree. More... | |
editObject () | |
Edit. More... | |
setSubTabs ($a_tab) | |
Set sub tabs. More... | |
editIconsObject ($a_form=null) | |
Edit folder icons. More... | |
initIconsForm () | |
updateIconsObject () | |
update container icons More... | |
Public Member Functions inherited from ilObjectGUI | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
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 More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
Public Member Functions inherited from ilContainerGUI | |
__construct ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. More... | |
executeCommand () | |
execute command note: this method is overwritten in all container objects More... | |
forwardToStyleSheet () | |
Forward to style object. More... | |
& | forwardToPageObject () |
forward command to page object More... | |
addPageTabs () | |
Add page tabs. More... | |
getContainerPageHTML () | |
Get container page HTML. More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
showTreeFlatIcon () | |
setTitleAndDescription () | |
called by prepare output More... | |
showPossibleSubObjects () | |
show possible sub objects selection list More... | |
getContentGUI () | |
Get content gui object. More... | |
renderObject () | |
render the object More... | |
setContentSubTabs () | |
Set content sub tabs. More... | |
showAdministrationPanel (&$tpl) | |
show administration panel More... | |
getAllNestedCategories ($ref_id) | |
__showTimingsButton (&$tpl) | |
showPermanentLink (&$tpl) | |
show permanent link More... | |
switchToStdEditorObject () | |
Switch to standard page editor. More... | |
switchToOldEditorObject () | |
Switch to old page editor. More... | |
useNewEditorObject () | |
Use new editor (-> delete xhtml content page) More... | |
editPageFrameObject () | |
show page editor frameset More... | |
editPageContentObject () | |
edit page content (for repository root node and categories) More... | |
savePageContentObject () | |
cancelPageContentObject () | |
showLinkListObject () | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination More... | |
& | newBlockTemplate () |
determin admin commands More... | |
addHeaderRow (&$a_tpl, $a_type, $a_show_image=true) | |
adds a header row to a block template More... | |
addStandardRow (&$a_tpl, $a_html, $a_item_ref_id="", $a_item_obj_id="", $a_image_type="") | |
adds a standard row to a block template More... | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row More... | |
resetRowType () | |
setPageEditorTabs () | |
Add page editor tabs. More... | |
addStandardContainerSubTabs ($a_include_view=true) | |
Add standar container subtabs for view, manage, oderdering and text/media editor link. More... | |
getTabs () | |
common tabs for all container objects (should be called at the end of child getTabs() method More... | |
enableAdministrationPanelObject () | |
enable administration panel More... | |
disableAdministrationPanelObject () | |
enable administration panel More... | |
editOrderObject () | |
Edit order. More... | |
isActiveOrdering () | |
Check if ordering is enabled. More... | |
isActiveItemOrdering () | |
Check if item ordering is enabled. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
enableMultiDownloadObject () | |
isMultiDownloadEnabled () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard More... | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. More... | |
downloadObject () | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix More... | |
clearObject () | |
clear clipboard and go back to last object More... | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showPasteTreeObject () | |
Show paste tree. More... | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. More... | |
keepObjectsInClipboardObject () | |
Keep objects in the clipboard. More... | |
initAndDisplayCopyIntoMultipleObjectsObject () | |
initAndDisplayMoveIntoObjectObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved More... | |
clipboardObject () | |
show clipboard More... | |
showCustomIconsEditing ($a_input_colspan=1, ilPropertyFormGUI $a_form=null, $a_as_section=true) | |
show edit section of custom icons for container More... | |
isActiveAdministrationPanel () | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
allowBlocksMoving () | |
Standard is to allow blocks moving. More... | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. More... | |
cloneWizardPageTreeObject () | |
public More... | |
cloneWizardPageListObject () | |
public More... | |
cloneWizardPageObject ($a_tree_view=true) | |
Show clone wizard page for container objects. More... | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. More... | |
saveSortingObject () | |
Save Sorting. More... | |
cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
Recursively clones all nodes of the RBAC tree. More... | |
modifyItemGUI ($a_item_list_gui, $a_item_data, $a_show_path) | |
Modify list gui for presentation in container type $lng. More... | |
editStylePropertiesObject () | |
Edit style properties. More... | |
initStylePropertiesForm () | |
Init style properties form. More... | |
createStyleObject () | |
Create Style. More... | |
editStyleObject () | |
Edit Style. More... | |
deleteStyleObject () | |
Delete Style. More... | |
saveStyleSettingsObject () | |
Save style settings. More... | |
getAsynchItemListObject () | |
Get item list command drop down asynchronously. More... | |
redrawListItemObject () | |
Redraw a list item (ajax) More... | |
showRepTree () | |
Show tree. More... | |
trashObject () | |
Show trash content of object. More... | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method More... | |
undeleteObject () | |
Get objects back from trash. More... | |
confirmRemoveFromSystemObject () | |
confirmation screen remove from system More... | |
setSideColumnReturn () | |
Set return point for side column actions. More... | |
Static Public Member Functions | |
static | _goto ($a_target) |
goto target group More... | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Static Public Member Functions inherited from ilContainerGUI | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path More... | |
Data Fields | |
$folder_tree | |
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 | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Data Fields inherited from ilContainerGUI | |
$bl_cnt = 1 | |
$multi_download_enabled = false | |
Protected Member Functions | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $a_form) | |
afterSave (ilObject $a_new_object) | |
forwardToTimingsView () | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__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 More... | |
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 More... | |
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. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Protected Member Functions inherited from ilContainerGUI | |
getEditFormValues () | |
Get values for edit form. More... | |
afterUpdate () | |
showPasswordInstructionObject ($a_init=true) | |
Show webdav password instruction. More... | |
initFormPasswordInstruction () | |
Init password form. More... | |
savePasswordObject () | |
Save password. More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add file manager link. More... | |
fileManagerLaunchObject () | |
Launch jnlp. More... | |
initSortingForm (ilPropertyFormGUI $form, array $a_sorting_settings) | |
Append sorting settings to property form. More... | |
initSortingDirectionForm (ilContainerSortingSettings $sorting_settings, $element, $a_prefix) | |
Add sorting direction. More... | |
initManualSortingOptionForm (ilContainerSortingSettings $settings, $element, $a_prefix, $a_sorting_settings) | |
Add manual sorting options. More... | |
saveSortingSettings (ilPropertyFormGUI $form) | |
Save sorting settings. More... | |
getTreeSelectorGUI ($cmd) | |
Additional Inherited Members | |
Protected Attributes inherited from ilObjectGUI | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
Class ilObjFolderGUI.
ilObjFolderGUI: ilPermissionGUI ilObjFolderGUI: ilCourseContentGUI, ilLearningProgressGUI ilObjFolderGUI: ilInfoScreenGUI, ilContainerPageGUI, ilColumnGUI ilObjFolderGUI: ilObjectCopyGUI, ilObjStyleSheetGUI ilObjFolderGUI: ilExportGUI, ilCommonActionDispatcherGUI, ilDidacticTemplateGUI ilObjFolderGUI: ilBackgroundTaskHub
Definition at line 23 of file class.ilObjFolderGUI.php.
ilObjFolderGUI::__construct | ( | $a_data, | |
$a_id = 0 , |
|||
$a_call_by_reference = true , |
|||
$a_prepare_output = false |
|||
) |
Constructor public.
Definition at line 31 of file class.ilObjFolderGUI.php.
|
static |
goto target group
Definition at line 415 of file class.ilObjFolderGUI.php.
References $ilErr, ilObjectGUI\$lng, and ilObjectGUI\_gotoRepositoryNode().
|
protected |
Definition at line 268 of file class.ilObjFolderGUI.php.
References ilObject\getId(), ilObject\getRefId(), ilObjectGUI\redirectToRefId(), ilUtil\sendSuccess(), ilContainerSortingSettings\setSortMode(), and ilContainer\SORT_INHERIT.
ilObjFolderGUI::downloadFolderObject | ( | ) |
Definition at line 427 of file class.ilObjFolderGUI.php.
References $filename, $ilErr, ilObjectGUI\$lng, ilUtil\deliverFile(), ilUtil\getASCIIFilename(), and object.
ilObjFolderGUI::editIconsObject | ( | $a_form = null | ) |
Edit folder icons.
Definition at line 555 of file class.ilObjFolderGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initIconsForm().
Referenced by updateIconsObject().
ilObjFolderGUI::editObject | ( | ) |
Edit.
Definition at line 502 of file class.ilObjFolderGUI.php.
References $GLOBALS, $ilErr, ilObjectGUI\checkPermissionBool(), ilContainerGUI\getEditFormValues(), ilObjectGUI\initEditForm(), and setSubTabs().
ilObjFolderGUI::executeCommand | ( | ) |
Definition at line 77 of file class.ilObjFolderGUI.php.
References $_GET, $cmd, $ilCtrl, $ilUser, $ret, ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilContainerGUI\forwardToPageObject(), ilContainerGUI\forwardToStyleSheet(), forwardToTimingsView(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreen(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, object, ilContainerGUI\prepareOutput(), ilContainerGUI\showRepTree(), and viewObject().
|
protected |
Definition at line 468 of file class.ilObjFolderGUI.php.
References $_SESSION, ilObjectGUI\$tree, ilObject\_lookupObjId(), ilObjCourse\_lookupViewMode(), and ilContainer\VIEW_TIMING.
Referenced by executeCommand().
|
protected |
Definition at line 241 of file class.ilObjFolderGUI.php.
References ilContainerSortingSettings\getSortMode(), and object.
ilObjFolderGUI::getTabs | ( | ) |
Get tabs.
Definition at line 343 of file class.ilObjFolderGUI.php.
References $_GET, $_SESSION, $ilCtrl, ilObjectGUI\$lng, array, ilLearningProgressAccess\checkAccess(), and object.
ilObjFolderGUI::importFileObject | ( | $parent_id = null , |
|
$a_catch_errors = true |
|||
) |
Import file object type $lng.
type | $parent_id | |
type | $a_catch_errors |
Definition at line 212 of file class.ilObjFolderGUI.php.
References ilObjectGUI\$lng, and ilUtil\sendSuccess().
ilObjFolderGUI::infoScreen | ( | ) |
show information screen
Definition at line 296 of file class.ilObjFolderGUI.php.
References $_GET, $GLOBALS, $info, and object.
Referenced by executeCommand(), infoScreenObject(), and showSummaryObject().
ilObjFolderGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 286 of file class.ilObjFolderGUI.php.
References infoScreen().
|
protected |
Definition at line 225 of file class.ilObjFolderGUI.php.
References array, ilObjectGUI\initDidacticTemplate(), ilContainerGUI\initSortingForm(), ilContainer\SORT_CREATION, ilContainer\SORT_INHERIT, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
ilObjFolderGUI::initIconsForm | ( | ) |
Definition at line 571 of file class.ilObjFolderGUI.php.
References setSubTabs(), and ilContainerGUI\showCustomIconsEditing().
Referenced by editIconsObject(), and updateIconsObject().
ilObjFolderGUI::modifyItemGUI | ( | $a_item_list_gui, | |
$a_item_data, | |||
$a_show_path | |||
) |
Modify Item ListGUI for presentation in container type $tree.
type | $a_item_list_gui | |
type | $a_item_data | |
type | $a_show_path |
Definition at line 445 of file class.ilObjFolderGUI.php.
References ilObjectGUI\$tree, ilObjCourse\_lookupAboStatus(), ilObject\_lookupObjId(), ilObjCourseGUI\_modifyItemGUI(), and object.
ilObjFolderGUI::renderObject | ( | ) |
Render folder.
Definition at line 66 of file class.ilObjFolderGUI.php.
References $ret, and ilObjectGUI\checkPermission().
Referenced by viewObject().
ilObjFolderGUI::setFolderTree | ( | $a_tree | ) |
set tree
Definition at line 201 of file class.ilObjFolderGUI.php.
ilObjFolderGUI::setSubTabs | ( | $a_tab | ) |
Set sub tabs.
Definition at line 527 of file class.ilObjFolderGUI.php.
References ilObjectGUI\$lng.
Referenced by editObject(), and initIconsForm().
ilObjFolderGUI::showSummaryObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 261 of file class.ilObjFolderGUI.php.
References infoScreen().
|
protected |
Definition at line 250 of file class.ilObjFolderGUI.php.
References ilContainerGUI\saveSortingSettings().
ilObjFolderGUI::updateIconsObject | ( | ) |
update container icons
Definition at line 590 of file class.ilObjFolderGUI.php.
References $_POST, $ilSetting, ilObjectGUI\checkPermission(), editIconsObject(), initIconsForm(), and ilUtil\sendSuccess().
ilObjFolderGUI::viewObject | ( | ) |
View folder.
Definition at line 41 of file class.ilObjFolderGUI.php.
References $_GET, $GLOBALS, ilObjectGUI\$tree, ilLearningProgress\_tracProgress(), ilObjectGUI\checkPermission(), object, and renderObject().
Referenced by executeCommand().
ilObjFolderGUI::$folder_tree |
Definition at line 25 of file class.ilObjFolderGUI.php.