ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilContainerGUI. More...
Public Member Functions | |
ilContainerGUI ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor @access 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... | |
__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 (&$tabs_gui) | |
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 () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. 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 ($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 () | |
@access public More... | |
cloneWizardPageListObject () | |
@access 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 Item ListGUI for presentation in container. 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... | |
![]() | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor @access public. More... | |
& | 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... | |
getAdminTabs (&$tabs_gui) | |
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 ($in_rep=false) | |
cancel action and go back to previous page @access 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... | |
addToDeskObject () | |
Add desktop item @access public. More... | |
removeFromDeskObject () | |
Remove from desktop @access public. More... | |
Static Public Member Functions | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path More... | |
![]() | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$bl_cnt = 1 | |
$multi_download_enabled = false | |
![]() | |
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 |
Protected Member Functions | |
getEditFormValues () | |
Get values for edit form. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
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) | |
![]() | |
assignObject () | |
prepareOutput () | |
prepare output More... | |
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 @access public More... | |
setAdminTabs () | |
set admin tabs @access 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... | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste More... | |
getTabs (&$tabs_gui) | |
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 ($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... | |
Private Member Functions | |
downloadMultipleObjects ($a_ref_ids) | |
Static Private Member Functions | |
static | recurseFolder ($refid, $title, $tmpdir) |
private functions which iterates through all folders and files and create an according file structure in a temporary directory. More... | |
static | copyFile ($obj_id, $title, $tmpdir) |
Additional Inherited Members | |
![]() | |
$tmp_import_dir | |
Class ilContainerGUI.
This is a base GUI class for all container objects in ILIAS: root folder, course, group, category, folder
Definition at line 20 of file class.ilContainerGUI.php.
ilContainerGUI::__showTimingsButton | ( | & | $tpl | ) |
Definition at line 703 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, and ilObjectGUI\$tree.
|
static |
build path
Definition at line 3222 of file class.ilContainerGUI.php.
References ilObjectGUI\$data, $path, and ilObjectGUI\$tree.
ilContainerGUI::addHeaderRow | ( | & | $a_tpl, |
$a_type, | |||
$a_show_image = true |
|||
) |
adds a header row to a block template
object | $a_tpl | block template |
string | $a_type | object type @access private |
Definition at line 1014 of file class.ilContainerGUI.php.
References ilUtil\getImagePath().
ilContainerGUI::addMessageRow | ( | & | $a_tpl, |
$a_message, | |||
$a_type | |||
) |
add message row
Definition at line 1105 of file class.ilContainerGUI.php.
ilContainerGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 275 of file class.ilContainerGUI.php.
References $ilCtrl.
ilContainerGUI::addStandardContainerSubTabs | ( | $a_include_view = true | ) |
Add standar container subtabs for view, manage, oderdering and text/media editor link.
Definition at line 1162 of file class.ilContainerGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, $ilUser, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), and isActiveAdministrationPanel().
Referenced by ilObjCourseGUI\setContentSubTabs(), ilObjOrgUnitGUI\setContentSubTabs(), and setContentSubTabs().
ilContainerGUI::addStandardRow | ( | & | $a_tpl, |
$a_html, | |||
$a_item_ref_id = "" , |
|||
$a_item_obj_id = "" , |
|||
$a_image_type = "" |
|||
) |
adds a standard row to a block template
object | $a_tpl | block template |
string | $a_html | html code @access private |
Definition at line 1042 of file class.ilContainerGUI.php.
References $path, ilContainer\_lookupIconPath(), ilContainerSortingSettings\_lookupSortMode(), ilUtil\getImagePath(), isActiveAdministrationPanel(), and ilContainer\SORT_MANUAL.
ilContainerGUI::addToDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1316 of file class.ilContainerGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\addToDesktop(), renderObject(), and ilUtil\sendSuccess().
|
protected |
Post (successful) object update hook.
Reimplemented from ilObjectGUI.
Definition at line 105 of file class.ilContainerGUI.php.
References $_REQUEST, ilObjectGUI\getDidacticTemplateVar(), and ilDidacticTemplateObjSettings\lookupTemplateId().
Referenced by ilObjCategoryGUI\updateObject(), and ilObjCourseGUI\updateObject().
ilContainerGUI::allowBlocksConfigure | ( | ) |
Standard is to allow blocks configuration.
Definition at line 2918 of file class.ilContainerGUI.php.
ilContainerGUI::allowBlocksMoving | ( | ) |
Standard is to allow blocks moving.
Definition at line 2910 of file class.ilContainerGUI.php.
ilContainerGUI::cancelMoveLinkObject | ( | ) |
Cancel move|link empty clipboard and return to parent.
Definition at line 2195 of file class.ilContainerGUI.php.
ilContainerGUI::cancelPageContentObject | ( | ) |
Definition at line 910 of file class.ilContainerGUI.php.
ilContainerGUI::clearAdminCommandsDetermination | ( | ) |
cleaer administration commands determination
Definition at line 967 of file class.ilContainerGUI.php.
ilContainerGUI::clearObject | ( | ) |
clear clipboard and go back to last object
@access public
Definition at line 1771 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, and ilUtil\sendSuccess().
Referenced by pasteObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::clipboardObject | ( | ) |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once.
@access public show clipboard
Definition at line 2675 of file class.ilContainerGUI.php.
References $_SESSION, ilObjectGUI\$data, $ilCtrl, $ilErr, $ilLog, ilObjectGUI\$lng, ilObjectGUI\$ref_id, $tab, ilObjectGUI\$tpl, and ilObjectFactory\getInstanceByRefId().
ilContainerGUI::cloneAllObject | ( | ) |
Clone all object Overwritten method for copying container objects.
@access public
Reimplemented from ilObjectGUI.
Definition at line 3078 of file class.ilContainerGUI.php.
References $_COOKIE, $_GET, $_POST, $_REQUEST, $ilCtrl, $ilErr, $ilLog, $ilUser, $options, ilObjectGUI\$ref_id, $result, ilObjectGUI\$tree, ilCopyWizardOptions\_isFinished(), ilObjectGUI\createObject(), ilObjectFactory\getInstanceByRefId(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilContainerGUI::cloneNodes | ( | $srcRef, | |
$dstRef, | |||
& | $mapping, | ||
$newName = null |
|||
) |
Recursively clones all nodes of the RBAC tree.
@access private
integer | ref_id of source object |
integer | ref_id of destination object |
array | mapping new_ref_id => old_ref_id |
string | the new name of the copy (optional). |
Definition at line 3157 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, ilObjectGUI\$tree, cloneNodes(), and Monolog\Handler\error_log().
Referenced by cloneNodes(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::cloneWizardPageListObject | ( | ) |
@access public
Definition at line 2942 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::cloneWizardPageObject | ( | $a_tree_view = true | ) |
Show clone wizard page for container objects.
@access public
Definition at line 2953 of file class.ilContainerGUI.php.
References $_REQUEST, $_SESSION, $html, ilObjectGUI\$tree, ilCopyWizardPageFactory\_getInstanceByType(), ilObjectGUI\createObject(), ilUtil\getImagePath(), and ilUtil\sendFailure().
Referenced by cloneWizardPageListObject(), and cloneWizardPageTreeObject().
ilContainerGUI::cloneWizardPageTreeObject | ( | ) |
@access public
Definition at line 2930 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::confirmRemoveFromSystemObject | ( | ) |
confirmation screen remove from system
Definition at line 3945 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and ilUtil\sendFailure().
|
staticprivate |
Definition at line 1679 of file class.ilContainerGUI.php.
References ilObjectGUI\$obj_id, ilObjFile\_lookupAbsolutePath(), and ilUtil\getASCIIFilename().
Referenced by downloadMultipleObjects(), and recurseFolder().
ilContainerGUI::copyObject | ( | ) |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once.
@access public
Definition at line 1461 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$objDefinition, ilObjectGUI\$ref_id, ilObjectGUI\getTitlesByRefId(), initAndDisplayCopyIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::createStyleObject | ( | ) |
Create Style.
Definition at line 3362 of file class.ilContainerGUI.php.
References $ilCtrl.
ilContainerGUI::cutObject | ( | ) |
cut object(s) out from a container and write the information to clipboard
@access public
Definition at line 1399 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$ref_id, ilObjectGUI\getTitlesByRefId(), initAndDisplayMoveIntoObjectObject(), and ilUtil\sendInfo().
ilContainerGUI::deleteStyleObject | ( | ) |
Delete Style.
Definition at line 3382 of file class.ilContainerGUI.php.
References $ilCtrl.
ilContainerGUI::disableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1271 of file class.ilContainerGUI.php.
References $_SESSION.
|
private |
Definition at line 1594 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$object, ilObjectGUI\$ref_id, ilObject\_isInTrash(), copyFile(), ilUtil\delDir(), ilUtil\deliverFile(), ilUtil\ilTempnam(), ilUtil\makeDir(), recurseFolder(), ilUtil\sendInfo(), and ilUtil\zip().
Referenced by downloadObject().
ilContainerGUI::downloadObject | ( | ) |
Definition at line 1542 of file class.ilContainerGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, and downloadMultipleObjects().
ilContainerGUI::editOrderObject | ( | ) |
Edit order.
Definition at line 1280 of file class.ilContainerGUI.php.
References $_SESSION, and renderObject().
ilContainerGUI::editPageContentObject | ( | ) |
edit page content (for repository root node and categories)
@access public
Definition at line 815 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$obj_id, ilObjectGUI\$tpl, ilRTE\_getRTEClassname(), ilContainer\_lookupContainerSetting(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ilUtil\getImagePath(), and ilUtil\prepareFormOutput().
ilContainerGUI::editPageFrameObject | ( | ) |
show page editor frameset
Definition at line 780 of file class.ilContainerGUI.php.
References $_SESSION, ilContainer\_lookupContainerSetting(), and exit.
ilContainerGUI::editStyleObject | ( | ) |
Edit Style.
Definition at line 3372 of file class.ilContainerGUI.php.
References $ilCtrl.
ilContainerGUI::editStylePropertiesObject | ( | ) |
Edit style properties.
Definition at line 3247 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initStylePropertiesForm().
ilContainerGUI::enableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1262 of file class.ilContainerGUI.php.
References $_SESSION.
ilContainerGUI::enableMultiDownloadObject | ( | ) |
Definition at line 1349 of file class.ilContainerGUI.php.
References renderObject().
& ilContainerGUI::executeCommand | ( | ) |
execute command note: this method is overwritten in all container objects
Reimplemented from ilObjectGUI.
Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI, ilObjOrgUnitGUI, ilObjRootFolderGUI, ilObjStudyProgrammeGUI, and ilObjRecoveryFolderGUI.
Definition at line 51 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ret, ilObjectGUI\$tpl, forwardToPageObject(), forwardToStyleSheet(), and ilObjectGUI\prepareOutput().
|
protected |
Launch jnlp.
Definition at line 3612 of file class.ilContainerGUI.php.
References $_COOKIE, $ilUser, ilObjectGUI\$tpl, exit, and ilFMSettings\getInstance().
& ilContainerGUI::forwardToPageObject | ( | ) |
forward command to page object
Definition at line 170 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ilCtrl, ilObjectGUI\$lng, $ret, ilPageObject\_exists(), ilContainer\_lookupContainerSetting(), ilObjectGUI\checkPermission(), exit, ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getEffectiveContentStyleId(), ilUtil\getImagePath(), and ilObjStyleSheet\getSyntaxStylePath().
Referenced by ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and executeCommand().
ilContainerGUI::forwardToStyleSheet | ( | ) |
Forward to style object.
Definition at line 133 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ilCtrl, and $ret.
Referenced by ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and executeCommand().
ilContainerGUI::getAsynchItemListObject | ( | ) |
Get item list command drop down asynchronously.
Definition at line 3411 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$data, $html, $ilCtrl, ilObjectGUI\$obj_id, ilObjectGUI\$ref_id, ilObjectListGUIFactory\_getListGUIByType(), ilObject\_lookupObjId(), ilObject\_lookupType(), exit, ilPluginAdmin\getPluginObject(), IL_COMP_SERVICE, ilUIHookPluginGUI\KEEP, and modifyItemGUI().
ilContainerGUI::getContainerPageHTML | ( | ) |
Get container page HTML.
Definition at line 286 of file class.ilContainerGUI.php.
References $ilSetting, $ilUser, $lang, $ret, ilPageUtil\_existsAndNotEmpty(), ilContainer\_lookupContainerSetting(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getEffectiveContentStyleId(), ilObjectTranslation\getInstance(), and ilObjStyleSheet\getSyntaxStylePath().
ilContainerGUI::getContentGUI | ( | ) |
Get content gui object.
return
Definition at line 438 of file class.ilContainerGUI.php.
References IL_CRS_VIEW_TIMING, ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_OBJECTIVE, ilContainer\VIEW_SESSIONS, and ilContainer\VIEW_SIMPLE.
Referenced by redrawListItemObject(), and renderObject().
|
protected |
Get values for edit form.
Reimplemented from ilObjectGUI.
Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, and ilObjRootFolderGUI.
Definition at line 91 of file class.ilContainerGUI.php.
Referenced by ilObjFolderGUI\editObject().
ilContainerGUI::getTabs | ( | & | $tabs_gui | ) |
common tabs for all container objects (should be called at the end of child getTabs() method
Reimplemented from ilObjectGUI.
Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI, and ilObjRootFolderGUI.
Definition at line 1229 of file class.ilContainerGUI.php.
|
protected |
$cmd | string |
Reimplemented in ilObjOrgUnitGUI.
Definition at line 3964 of file class.ilContainerGUI.php.
References $cmd.
Referenced by showPasteTreeObject().
ilContainerGUI::ilContainerGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Constructor @access public.
Definition at line 29 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tree, and ilObjectGUI\ilObjectGUI().
Referenced by ilObjGroupGUI\__construct(), ilObjCategoryGUI\ilObjCategoryGUI(), ilObjCourseGUI\ilObjCourseGUI(), and ilObjRootFolderGUI\ilObjRootFolderGUI().
ilContainerGUI::initAndDisplayCopyIntoMultipleObjectsObject | ( | ) |
Definition at line 2211 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by copyObject().
ilContainerGUI::initAndDisplayLinkIntoMultipleObjectsObject | ( | ) |
Definition at line 2063 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by linkObject().
ilContainerGUI::initAndDisplayMoveIntoObjectObject | ( | ) |
Definition at line 2280 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by cutObject().
|
protected |
Init password form.
Definition at line 3483 of file class.ilContainerGUI.php.
Referenced by savePasswordObject(), and showPasswordInstructionObject().
|
protected |
Add file manager link.
<type> | $a_sub_type |
<type> | $a_sub_id |
Reimplemented from ilObjectGUI.
Reimplemented in ilObjCourseGUI, and ilObjGroupGUI.
Definition at line 3592 of file class.ilContainerGUI.php.
References $lg, and ilFMSettings\getInstance().
|
protected |
Add manual sorting options.
Definition at line 3801 of file class.ilContainerGUI.php.
References ilContainerSortingSettings\getSortNewItemsOrder(), ilContainerSortingSettings\getSortNewItemsPosition(), initSortingDirectionForm(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_NEW_ITEMS_ORDER_ACTIVATION, ilContainer\SORT_NEW_ITEMS_ORDER_CREATION, ilContainer\SORT_NEW_ITEMS_ORDER_TITLE, ilContainer\SORT_NEW_ITEMS_POSITION_BOTTOM, ilContainer\SORT_NEW_ITEMS_POSITION_TOP, and ilContainer\SORT_TITLE.
Referenced by initSortingForm().
|
protected |
Add sorting direction.
ilFormPropertyGUI | $element |
Definition at line 3763 of file class.ilContainerGUI.php.
References $txt, ilContainerSortingSettings\getSortDirection(), ilContainer\SORT_DIRECTION_ASC, and ilContainer\SORT_DIRECTION_DESC.
Referenced by initManualSortingOptionForm(), and initSortingForm().
|
protected |
Append sorting settings to property form.
ilPropertyFormGUI | $form | |
type | $a_sorting_settings |
Definition at line 3688 of file class.ilContainerGUI.php.
References ilPropertyFormGUI\addItem(), initManualSortingOptionForm(), initSortingDirectionForm(), ilContainerSortingSettings\lookupSortModeFromParentContainer(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_INHERIT, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilObjFolderGUI\initEditCustomForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjRootFolderGUI\initEditForm(), and ilObjGroupGUI\initForm().
ilContainerGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 3262 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getStandardStyles(), ilContainer\_lookupContainerSetting(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), ilObject\_lookupType(), and ilUtil\formSelect().
Referenced by editStylePropertiesObject().
ilContainerGUI::isActiveAdministrationPanel | ( | ) |
Definition at line 2858 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by addStandardContainerSubTabs(), addStandardRow(), renderObject(), setColumnSettings(), ilObjCourseGUI\setContentSubTabs(), setPageEditorTabs(), and showAdministrationPanel().
ilContainerGUI::isActiveItemOrdering | ( | ) |
Check if item ordering is enabled.
Definition at line 1304 of file class.ilContainerGUI.php.
References ilContainerSortingSettings\_lookupSortMode(), isActiveOrdering(), and ilContainer\SORT_MANUAL.
ilContainerGUI::isActiveOrdering | ( | ) |
Check if ordering is enabled.
Definition at line 1295 of file class.ilContainerGUI.php.
Referenced by isActiveItemOrdering(), and showAdministrationPanel().
ilContainerGUI::isMultiDownloadEnabled | ( | ) |
Definition at line 1355 of file class.ilContainerGUI.php.
References $multi_download_enabled.
Referenced by showAdministrationPanel().
ilContainerGUI::keepObjectsInClipboardObject | ( | ) |
Keep objects in the clipboard.
Definition at line 2204 of file class.ilContainerGUI.php.
References $GLOBALS, and ilUtil\sendSuccess().
ilContainerGUI::linkObject | ( | ) |
create an new reference of an object in tree it's like a hard link of unix
@access public
Definition at line 1697 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, initAndDisplayLinkIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::lockObject | ( | ) |
Definition at line 1361 of file class.ilContainerGUI.php.
References $_GET, $ilUser, $result, ilObjectGUI\$tree, ilDAVServer\_isActionsVisible(), ilDAVServer\_isActive(), renderObject(), and ilUtil\sendInfo().
ilContainerGUI::modifyItemGUI | ( | & | $a_item_list_gui, |
$a_item_data, | |||
$a_show_path | |||
) |
Modify Item ListGUI for presentation in container.
Definition at line 3207 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng.
Referenced by getAsynchItemListObject().
& ilContainerGUI::newBlockTemplate | ( | ) |
determin admin commands
returns a new list block template
@access private
Definition at line 999 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl.
ilContainerGUI::pasteObject | ( | ) |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved
@access public
Definition at line 2356 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilUser, ilObjectGUI\$lng, $log, ilObjectGUI\$ref_id, ilObjectGUI\$tree, ilConditionHandler\_adjustMovedObjectConditions(), ilChangeEvent\_catchupWriteEvents(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilChangeEvent\_recordWriteEvent(), clearObject(), and ilUtil\sendSuccess().
ilContainerGUI::performPasteIntoMultipleObjectsObject | ( | ) |
Definition at line 1787 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, $GLOBALS, $ilUser, $log, ilObjectGUI\$ref_id, ilObjectGUI\$tree, ilConditionHandler\_adjustMovedObjectConditions(), ilObjFileAccess\_appendNumberOfCopyToFilename(), ilChangeEvent\_catchupWriteEvents(), ilLink\_getLink(), ilChangeEvent\_recordReadEvent(), ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), clearObject(), cloneNodes(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), ilRbacLog\isActive(), ilRbacLog\LINK_OBJECT, ilUtil\sendFailure(), ilUtil\sendSuccess(), and showPasteTreeObject().
Referenced by ilObjOrgUnitGUI\executeCommand(), and ilObjOrgUnitGUI\performPaste().
ilContainerGUI::prepareOutput | ( | $a_show_subobjects = true | ) |
prepare output
Definition at line 350 of file class.ilContainerGUI.php.
References ilObjectGUI\getCreationMode(), ilMemberViewGUI\showMemberViewSwitch(), and showTreeFlatIcon().
|
staticprivate |
private functions which iterates through all folders and files and create an according file structure in a temporary directory.
This function works recursive.
integer | $refid | reference it |
tmpdictory | $tmpdir |
Definition at line 1655 of file class.ilContainerGUI.php.
References ilObjectGUI\$tree, ilObject\_isInTrash(), copyFile(), ilUtil\getASCIIFilename(), ilUtil\makeDir(), and recurseFolder().
Referenced by downloadMultipleObjects(), and recurseFolder().
ilContainerGUI::redrawListItemObject | ( | ) |
Redraw a list item (ajax)
return
Definition at line 3529 of file class.ilContainerGUI.php.
References $_GET, $html, ilObjectGUI\$tpl, ilEventItems\_getItemsOfContainer(), exit, getContentGUI(), and ilObjectActivation\getItemsByEvent().
ilContainerGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1334 of file class.ilContainerGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), renderObject(), and ilUtil\sendSuccess().
ilContainerGUI::removeFromSystemObject | ( | ) |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method
@access public
Reimplemented in ilObjRecoveryFolderGUI.
Definition at line 3921 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and $log.
ilContainerGUI::renderObject | ( | ) |
render the object
Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, ilObjFolderGUI, ilObjGroupGUI, and ilObjRootFolderGUI.
Definition at line 476 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $ilDB, $ilSetting, ilObjectGUI\$tpl, getContentGUI(), isActiveAdministrationPanel(), setContentSubTabs(), showAdministrationPanel(), showPermanentLink(), and showPossibleSubObjects().
Referenced by addToDeskObject(), editOrderObject(), enableMultiDownloadObject(), lockObject(), and removeFromDeskObject().
ilContainerGUI::resetRowType | ( | ) |
Definition at line 1125 of file class.ilContainerGUI.php.
ilContainerGUI::savePageContentObject | ( | ) |
Definition at line 867 of file class.ilContainerGUI.php.
References $_POST, $text, ilRTE\_cleanupMediaObjectUsage(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilContainer\_lookupContainerSetting(), ilContainer\_writeContainerSetting(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
protected |
Save password.
Definition at line 3507 of file class.ilContainerGUI.php.
References $ilUser, initFormPasswordInstruction(), ilUtil\sendSuccess(), and showPasswordInstructionObject().
ilContainerGUI::saveSortingObject | ( | ) |
Save Sorting.
@access public
Reimplemented in ilObjCourseGUI.
Definition at line 3133 of file class.ilContainerGUI.php.
References $_POST, ilContainerSorting\_getInstance(), and ilUtil\sendSuccess().
|
protected |
Save sorting settings.
ilPropertyFormGUI | $form |
Definition at line 3875 of file class.ilContainerGUI.php.
References ilPropertyFormGUI\getInput(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilObjFolderGUI\updateCustom(), ilObjCategoryGUI\updateObject(), ilObjCourseGUI\updateObject(), ilObjGroupGUI\updateObject(), and ilObjRootFolderGUI\updateObject().
ilContainerGUI::saveStyleSettingsObject | ( | ) |
Save style settings.
Definition at line 3392 of file class.ilContainerGUI.php.
References $_POST, $ilSetting, ilObjStyleSheet\_lookupStandard(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilContainerGUI::setColumnSettings | ( | $column_gui | ) |
May be overwritten in subclasses.
Reimplemented from ilObjectGUI.
Definition at line 2876 of file class.ilContainerGUI.php.
References isActiveAdministrationPanel().
ilContainerGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Reimplemented in ilObjCourseGUI, ilObjOrgUnitGUI, and ilObjStudyProgrammeGUI.
Definition at line 523 of file class.ilContainerGUI.php.
References addStandardContainerSubTabs().
Referenced by renderObject().
ilContainerGUI::setPageEditorTabs | ( | ) |
Add page editor tabs.
Definition at line 1134 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), and isActiveAdministrationPanel().
ilContainerGUI::setTitleAndDescription | ( | ) |
called by prepare output
Reimplemented from ilObjectGUI.
Reimplemented in ilObjOrgUnitGUI, and ilObjRootFolderGUI.
Definition at line 393 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, $path, ilObject\_getIcon(), ilObjectListGUIFactory\_getListGUIByType(), ilContainer\_lookupContainerSetting(), and ilContainer\_lookupIconPath().
ilContainerGUI::showAdministrationPanel | ( | & | $tpl | ) |
show administration panel
Definition at line 531 of file class.ilContainerGUI.php.
References $_SESSION, $GLOBALS, ilObjectGUI\$lng, ilUtil\getImagePath(), isActiveAdministrationPanel(), isActiveOrdering(), and isMultiDownloadEnabled().
Referenced by renderObject().
ilContainerGUI::showCustomIconsEditing | ( | $a_input_colspan = 1 , |
|
ilPropertyFormGUI | $a_form = null , |
||
$a_as_section = true |
|||
) |
show edit section of custom icons for container
Definition at line 2731 of file class.ilContainerGUI.php.
Referenced by ilObjCourseGUI\initCourseIconsForm(), ilObjRootFolderGUI\initEditForm(), ilObjGroupGUI\initGroupIconsForm(), ilObjCategoryGUI\initIconsForm(), and ilObjFolderGUI\initIconsForm().
ilContainerGUI::showLinkListObject | ( | ) |
Definition at line 915 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, exit, and ilUtil\getStyleSheetLocation().
|
protected |
Show webdav password instruction.
Definition at line 3456 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilDAVServer\getInstance(), initFormPasswordInstruction(), and ilUtil\sendInfo().
Referenced by savePasswordObject().
ilContainerGUI::showPasteTreeObject | ( | ) |
Show paste tree.
Definition at line 2087 of file class.ilContainerGUI.php.
References $_SESSION, $cmd, $t, ilUtil\getImagePath(), ilSubmitButton\getInstance(), and getTreeSelectorGUI().
Referenced by initAndDisplayCopyIntoMultipleObjectsObject(), initAndDisplayLinkIntoMultipleObjectsObject(), initAndDisplayMoveIntoObjectObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::showPermanentLink | ( | & | $tpl | ) |
show permanent link
Definition at line 720 of file class.ilContainerGUI.php.
References $GLOBALS.
Referenced by renderObject().
ilContainerGUI::showPossibleSubObjects | ( | ) |
show possible sub objects selection list
Reimplemented from ilObjectGUI.
Reimplemented in ilObjCourseGUI, ilObjOrgUnitGUI, and ilObjRecoveryFolderGUI.
Definition at line 425 of file class.ilContainerGUI.php.
Referenced by renderObject().
ilContainerGUI::showRepTree | ( | ) |
Show tree.
Definition at line 3638 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilSetting, $ilUser, and ilObjectGUI\$tpl.
Referenced by ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and ilObjStudyProgrammeGUI\executeCommand().
ilContainerGUI::showTreeFlatIcon | ( | ) |
Definition at line 367 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$tpl, and ilMemberViewSettings\getInstance().
Referenced by prepareOutput().
ilContainerGUI::switchToOldEditorObject | ( | ) |
ilContainerGUI::switchToStdEditorObject | ( | ) |
ilContainerGUI::trashObject | ( | ) |
Show trash content of object.
@access public
Definition at line 3907 of file class.ilContainerGUI.php.
References $_GET, and ilObjectGUI\$tpl.
ilContainerGUI::undeleteObject | ( | ) |
Get objects back from trash.
Definition at line 3934 of file class.ilContainerGUI.php.
ilContainerGUI::useNewEditorObject | ( | ) |
Use new editor (-> delete xhtml content page)
Definition at line 751 of file class.ilContainerGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilContainer\_writeContainerSetting(), and ilUtil\sendSuccess().
ilContainerGUI::$bl_cnt = 1 |
Definition at line 22 of file class.ilContainerGUI.php.
ilContainerGUI::$multi_download_enabled = false |
Definition at line 23 of file class.ilContainerGUI.php.
Referenced by isMultiDownloadEnabled().