ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilContainerGUI. More...
Public Member Functions | |
ilContainerGUI ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
& | executeCommand () |
execute command note: this method is overwritten in all container objects | |
forwardToStyleSheet () | |
Forward to style object. | |
& | forwardToPageObject () |
forward command to page object | |
addPageTabs () | |
Add page tabs. | |
getContainerPageHTML () | |
Get container page HTML. | |
prepareOutput ($a_show_subobjects=true) | |
prepare output | |
showTreeFlatIcon () | |
setTitleAndDescription () | |
called by prepare output | |
showPossibleSubObjects () | |
show possible sub objects selection list | |
getContentGUI () | |
Get content gui object. | |
renderObject () | |
render the object | |
setContentSubTabs () | |
Set content sub tabs. | |
showAdministrationPanel (&$tpl) | |
show administration panel | |
__showTimingsButton (&$tpl) | |
showPermanentLink (&$tpl) | |
show permanent link | |
switchToStdEditorObject () | |
Switch to standard page editor. | |
switchToOldEditorObject () | |
Switch to old page editor. | |
useNewEditorObject () | |
Use new editor (-> delete xhtml content page) | |
editPageFrameObject () | |
show page editor frameset | |
editPageContentObject () | |
edit page content (for repository root node and categories) | |
savePageContentObject () | |
cancelPageContentObject () | |
showLinkListObject () | |
clearAdminCommandsDetermination () | |
cleaer administration commands determination | |
& | newBlockTemplate () |
determin admin commands | |
addHeaderRow (&$a_tpl, $a_type, $a_show_image=true) | |
adds a header row to a block template | |
addStandardRow (&$a_tpl, $a_html, $a_item_ref_id="", $a_item_obj_id="", $a_image_type="") | |
adds a standard row to a block template | |
addMessageRow (&$a_tpl, $a_message, $a_type) | |
add message row | |
resetRowType () | |
setPageEditorTabs () | |
Add page editor tabs. | |
addStandardContainerSubTabs ($a_include_view=true) | |
Add standar container subtabs for view, manage, oderdering and text/media editor link. | |
getTabs (&$tabs_gui) | |
common tabs for all container objects (should be called at the end of child getTabs() method | |
enableAdministrationPanelObject () | |
enable administration panel | |
disableAdministrationPanelObject () | |
enable administration panel | |
editOrderObject () | |
Edit order. | |
isActiveOrdering () | |
Check if ordering is enabled. | |
isActiveItemOrdering () | |
Check if item ordering is enabled. | |
addToDeskObject () | |
removeFromDeskObject () | |
enableMultiDownloadObject () | |
isMultiDownloadEnabled () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
downloadObject () | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix | |
clearObject () | |
clear clipboard and go back to last object | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showPasteTreeObject () | |
Show paste tree. | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. | |
keepObjectsInClipboardObject () | |
Keep objects in the clipboard. | |
initAndDisplayCopyIntoMultipleObjectsObject () | |
initAndDisplayMoveIntoObjectObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved | |
clipboardObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
showCustomIconsEditing ($a_input_colspan=1, ilPropertyFormGUI $a_form=null, $a_as_section=true) | |
show edit section of custom icons for container | |
isActiveAdministrationPanel () | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
allowBlocksMoving () | |
Standard is to allow blocks moving. | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. | |
cloneWizardPageTreeObject () | |
public | |
cloneWizardPageListObject () | |
public | |
cloneWizardPageObject ($a_tree_view=true) | |
Show clone wizard page for container objects. | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. | |
saveSortingObject () | |
Save Sorting. | |
cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
Recursively clones all nodes of the RBAC tree. | |
modifyItemGUI (&$a_item_list_gui, $a_item_data, $a_show_path) | |
Modify Item ListGUI for presentation in container. | |
editStylePropertiesObject () | |
Edit style properties. | |
initStylePropertiesForm () | |
Init style properties form. | |
createStyleObject () | |
Create Style. | |
editStyleObject () | |
Edit Style. | |
deleteStyleObject () | |
Delete Style. | |
saveStyleSettingsObject () | |
Save style settings. | |
getAsynchItemListObject () | |
Get item list command drop down asynchronously. | |
redrawListItemObject () | |
Redraw a list item (ajax) | |
showRepTree ($a_initial_call=false) | |
Show tree. | |
trashObject () | |
Show trash content of object. | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
undeleteObject () | |
Get objects back from trash. | |
confirmRemoveFromSystemObject () | |
confirmation screen remove from system | |
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 () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
saveObject () | |
save object | |
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) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. |
Static Public Member Functions | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
Data Fields | |
$bl_cnt = 1 | |
$multi_download_enabled = false | |
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 |
Protected Member Functions | |
getEditFormValues () | |
Get values for edit form. | |
afterUpdate () | |
Post (successful) object update hook. | |
showPasswordInstructionObject ($a_init=true) | |
Show webdav password instruction. | |
initFormPasswordInstruction () | |
Init password form. | |
savePasswordObject () | |
Save password. | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add file manager link. | |
fileManagerLaunchObject () | |
Launch jnlp. | |
initSortingForm (ilPropertyFormGUI $form, array $a_sorting_settings) | |
Append sorting settings to property form. | |
initSortingDirectionForm (ilContainerSortingSettings $sorting_settings, $element, $a_prefix) | |
Add sorting direction. | |
initManualSortingOptionForm (ilContainerSortingSettings $settings, $element, $a_prefix, $a_sorting_settings) | |
Add manual sorting options. | |
saveSortingSettings (ilPropertyFormGUI $form) | |
Save sorting settings. | |
getTreeSelectorGUI ($cmd) | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
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 ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. | |
initEditForm () | |
Init object edit form. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
initImportForm ($a_new_type) | |
Init object import form. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
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 | |
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 | |
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. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. |
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. | |
static | copyFile ($obj_id, $title, $tmpdir) |
Class ilContainerGUI.
This is a base GUI class for all container objects in ILIAS: root folder, course, group, category, folder
Definition at line 19 of file class.ilContainerGUI.php.
ilContainerGUI::__showTimingsButton | ( | & | $tpl | ) |
Definition at line 708 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, and ilObjectGUI\$tree.
|
static |
build path
Definition at line 3219 of file class.ilContainerGUI.php.
References ilObjectGUI\$data, $path, and ilObjectGUI\$tree.
Referenced by ilObjCourseGUI\_modifyItemGUI().
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 private |
Definition at line 1019 of file class.ilContainerGUI.php.
References ilUtil\getImagePath().
ilContainerGUI::addMessageRow | ( | & | $a_tpl, |
$a_message, | |||
$a_type | |||
) |
add message row
Definition at line 1110 of file class.ilContainerGUI.php.
ilContainerGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 274 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 1167 of file class.ilContainerGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, $ilUser, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), and isActiveAdministrationPanel().
Referenced by setContentSubTabs(), and ilObjCourseGUI\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 private |
Definition at line 1047 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 1321 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 104 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 2915 of file class.ilContainerGUI.php.
ilContainerGUI::allowBlocksMoving | ( | ) |
Standard is to allow blocks moving.
Definition at line 2907 of file class.ilContainerGUI.php.
Referenced by setColumnSettings().
ilContainerGUI::cancelMoveLinkObject | ( | ) |
ilContainerGUI::cancelPageContentObject | ( | ) |
Definition at line 915 of file class.ilContainerGUI.php.
ilContainerGUI::clearAdminCommandsDetermination | ( | ) |
cleaer administration commands determination
Definition at line 972 of file class.ilContainerGUI.php.
ilContainerGUI::clearObject | ( | ) |
clear clipboard and go back to last object
public
Definition at line 1776 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, disableAdministrationPanelObject(), and ilUtil\sendSuccess().
Referenced by ilObjOrgUnitGUI\executeCommand(), 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.
public show clipboard
Definition at line 2672 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.
public
Reimplemented from ilObjectGUI.
Definition at line 3075 of file class.ilContainerGUI.php.
References $_COOKIE, $_GET, $_POST, $_REQUEST, $ilCtrl, $ilErr, $ilLog, $ilUser, $options, ilObjectGUI\$ref_id, $result, ilObjectGUI\$tree, 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.
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 3154 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, and ilObjectGUI\$tree.
Referenced by performPasteIntoMultipleObjectsObject().
ilContainerGUI::cloneWizardPageListObject | ( | ) |
public
Definition at line 2939 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::cloneWizardPageObject | ( | $a_tree_view = true | ) |
Show clone wizard page for container objects.
public
Definition at line 2950 of file class.ilContainerGUI.php.
References $_REQUEST, $_SESSION, ilObjectGUI\$tree, ilCopyWizardPageFactory\_getInstanceByType(), ilObjectGUI\createObject(), ilUtil\getImagePath(), and ilUtil\sendFailure().
Referenced by cloneWizardPageListObject(), and cloneWizardPageTreeObject().
ilContainerGUI::cloneWizardPageTreeObject | ( | ) |
public
Definition at line 2927 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::confirmRemoveFromSystemObject | ( | ) |
confirmation screen remove from system
Definition at line 3928 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and ilUtil\sendFailure().
|
staticprivate |
Definition at line 1684 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.
public
Definition at line 1466 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$objDefinition, ilObjectGUI\$ref_id, ilObjectGUI\getTitlesByRefId(), initAndDisplayCopyIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::createStyleObject | ( | ) |
ilContainerGUI::cutObject | ( | ) |
cut object(s) out from a container and write the information to clipboard
public
Definition at line 1404 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$ref_id, ilObjectGUI\getTitlesByRefId(), initAndDisplayMoveIntoObjectObject(), and ilUtil\sendInfo().
Referenced by ilObjOrgUnitGUI\executeCommand().
ilContainerGUI::deleteStyleObject | ( | ) |
ilContainerGUI::disableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1276 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by clearObject(), and ilObjOrgUnitGUI\executeCommand().
|
private |
Definition at line 1599 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 1547 of file class.ilContainerGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, and downloadMultipleObjects().
ilContainerGUI::editOrderObject | ( | ) |
Edit order.
Definition at line 1285 of file class.ilContainerGUI.php.
References $_SESSION, and renderObject().
ilContainerGUI::editPageContentObject | ( | ) |
edit page content (for repository root node and categories)
public
Definition at line 820 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 785 of file class.ilContainerGUI.php.
References $_SESSION, ilContainer\_lookupContainerSetting(), and exit.
ilContainerGUI::editStyleObject | ( | ) |
ilContainerGUI::editStylePropertiesObject | ( | ) |
Edit style properties.
Definition at line 3244 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initStylePropertiesForm().
ilContainerGUI::enableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1267 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by ilObjOrgUnitGUI\executeCommand().
ilContainerGUI::enableMultiDownloadObject | ( | ) |
Definition at line 1354 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 ilObjCourseGUI, ilObjiLincCourseGUI, ilObjOrgUnitGUI, ilObjRootFolderGUI, ilObjRecoveryFolderGUI, ilObjFolderGUI, ilObjCategoryGUI, and ilObjGroupGUI.
Definition at line 50 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ret, ilObjectGUI\$tpl, forwardToPageObject(), forwardToStyleSheet(), and ilObjectGUI\prepareOutput().
|
protected |
Launch jnlp.
Definition at line 3609 of file class.ilContainerGUI.php.
References $_COOKIE, $ilUser, ilObjectGUI\$tpl, exit, and ilFMSettings\getInstance().
& ilContainerGUI::forwardToPageObject | ( | ) |
forward command to page object
Definition at line 169 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 ilObjGroupGUI\executeCommand(), executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilContainerGUI::forwardToStyleSheet | ( | ) |
Forward to style object.
Definition at line 132 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ilCtrl, $ret, and ilObjectGUI\omitLocator().
Referenced by ilObjGroupGUI\executeCommand(), executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilContainerGUI::getAsynchItemListObject | ( | ) |
Get item list command drop down asynchronously.
Definition at line 3408 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$data, $ilCtrl, ilObjectGUI\$obj_id, ilObjectGUI\$ref_id, ilObjectListGUIFactory\_getListGUIByType(), ilObject\_lookupObjId(), ilObject\_lookupType(), exit, ilPluginAdmin\getPluginObject(), IL_COMP_SERVICE, ilUIHookPluginGUI\KEEP, and modifyItemGUI().
Referenced by ilObjOrgUnitGUI\executeCommand().
ilContainerGUI::getContainerPageHTML | ( | ) |
Get container page HTML.
Definition at line 285 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 437 of file class.ilContainerGUI.php.
References IL_CRS_VIEW_TIMING, ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_ILINC, 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 ilObjCourseGUI, ilObjCategoryGUI, and ilObjRootFolderGUI.
Definition at line 90 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 ilObjCourseGUI, ilObjGroupGUI, ilObjFolderGUI, ilObjCategoryGUI, ilObjiLincCourseGUI, and ilObjRootFolderGUI.
Definition at line 1234 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, and $ilCtrl.
|
protected |
$cmd | string |
Reimplemented in ilObjOrgUnitGUI.
Definition at line 3947 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 public.
Definition at line 28 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tree, and ilObjectGUI\ilObjectGUI().
Referenced by ilObjGroupGUI\__construct(), ilObjOrgUnitGUI\__construct(), ilObjCategoryGUI\ilObjCategoryGUI(), ilObjCourseGUI\ilObjCourseGUI(), ilObjiLincCourseGUI\ilObjiLincCourseGUI(), and ilObjRootFolderGUI\ilObjRootFolderGUI().
ilContainerGUI::initAndDisplayCopyIntoMultipleObjectsObject | ( | ) |
Definition at line 2208 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by copyObject().
ilContainerGUI::initAndDisplayLinkIntoMultipleObjectsObject | ( | ) |
Definition at line 2070 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by linkObject().
ilContainerGUI::initAndDisplayMoveIntoObjectObject | ( | ) |
Definition at line 2277 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by cutObject().
|
protected |
Init password form.
Definition at line 3480 of file class.ilContainerGUI.php.
References ilFormPropertyGUI\setRequired().
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 3589 of file class.ilContainerGUI.php.
References ilFMSettings\getInstance().
|
protected |
Add manual sorting options.
Definition at line 3784 of file class.ilContainerGUI.php.
References ilRadioOption\addSubItem(), 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 3755 of file class.ilContainerGUI.php.
References ilRadioOption\addSubItem(), 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(), ilRadioOption\setInfo(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_INHERIT, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilObjFolderGUI\initEditCustomForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), and ilObjGroupGUI\initForm().
ilContainerGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 3259 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getStandardStyles(), ilContainer\_lookupContainerSetting(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilUtil\formSelect(), ilSelectInputGUI\setOptions(), ilPageObjectGUI\setStyleId(), ilPageObjectGUI\setTabHook(), and ilNonEditableValueGUI\setValue().
Referenced by editStylePropertiesObject().
ilContainerGUI::isActiveAdministrationPanel | ( | ) |
Reimplemented in ilObjiLincCourseGUI.
Definition at line 2855 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by addStandardContainerSubTabs(), addStandardRow(), renderObject(), setColumnSettings(), ilObjCourseGUI\setContentSubTabs(), setPageEditorTabs(), showAdministrationPanel(), and ilObjCourseGUI\showPossibleSubObjects().
ilContainerGUI::isActiveItemOrdering | ( | ) |
Check if item ordering is enabled.
Definition at line 1309 of file class.ilContainerGUI.php.
References ilContainerSortingSettings\_lookupSortMode(), isActiveOrdering(), and ilContainer\SORT_MANUAL.
ilContainerGUI::isActiveOrdering | ( | ) |
Check if ordering is enabled.
Definition at line 1300 of file class.ilContainerGUI.php.
Referenced by isActiveItemOrdering(), and showAdministrationPanel().
ilContainerGUI::isMultiDownloadEnabled | ( | ) |
Definition at line 1360 of file class.ilContainerGUI.php.
References $multi_download_enabled.
Referenced by showAdministrationPanel().
ilContainerGUI::keepObjectsInClipboardObject | ( | ) |
Keep objects in the clipboard.
Definition at line 2201 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
public
Definition at line 1702 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, initAndDisplayLinkIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::lockObject | ( | ) |
Definition at line 1366 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 3204 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng.
Referenced by getAsynchItemListObject().
& ilContainerGUI::newBlockTemplate | ( | ) |
determin admin commands
returns a new list block template
private
Definition at line 1004 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
public
Definition at line 2353 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 1794 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 349 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 1660 of file class.ilContainerGUI.php.
References ilObjectGUI\$tree, ilObject\_isInTrash(), copyFile(), ilUtil\getASCIIFilename(), and ilUtil\makeDir().
Referenced by downloadMultipleObjects().
ilContainerGUI::redrawListItemObject | ( | ) |
Redraw a list item (ajax)
@return |
Definition at line 3526 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$tpl, ilEventItems\_getItemsOfContainer(), exit, getContentGUI(), and ilObjectActivation\getItemsByEvent().
ilContainerGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1339 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
public
Reimplemented in ilObjRecoveryFolderGUI.
Definition at line 3904 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and $log.
ilContainerGUI::renderObject | ( | ) |
render the object
Reimplemented in ilObjCategoryGUI, ilObjGroupGUI, ilObjRootFolderGUI, ilObjCourseGUI, and ilObjFolderGUI.
Definition at line 481 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(), removeFromDeskObject(), ilObjOrgUnitGUI\view(), and ilObjiLincCourseGUI\viewObject().
ilContainerGUI::resetRowType | ( | ) |
Definition at line 1130 of file class.ilContainerGUI.php.
ilContainerGUI::savePageContentObject | ( | ) |
Definition at line 872 of file class.ilContainerGUI.php.
References $_POST, ilRTE\_cleanupMediaObjectUsage(), ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilContainer\_lookupContainerSetting(), ilContainer\_writeContainerSetting(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
protected |
Save password.
Definition at line 3504 of file class.ilContainerGUI.php.
References $ilUser, initFormPasswordInstruction(), ilUtil\sendSuccess(), and showPasswordInstructionObject().
ilContainerGUI::saveSortingObject | ( | ) |
Save Sorting.
public
Reimplemented in ilObjCourseGUI.
Definition at line 3130 of file class.ilContainerGUI.php.
References $_POST, ilContainerSorting\_getInstance(), and ilUtil\sendSuccess().
|
protected |
Save sorting settings.
ilPropertyFormGUI | $form |
Definition at line 3858 of file class.ilContainerGUI.php.
References ilPropertyFormGUI\getInput(), ilContainerSortingSettings\setSortMode(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilObjFolderGUI\updateCustom(), ilObjRootFolderGUI\updateObject(), ilObjGroupGUI\updateObject(), ilObjCategoryGUI\updateObject(), and ilObjCourseGUI\updateObject().
ilContainerGUI::saveStyleSettingsObject | ( | ) |
Save style settings.
Definition at line 3389 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 2873 of file class.ilContainerGUI.php.
References allowBlocksMoving(), and isActiveAdministrationPanel().
ilContainerGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Reimplemented in ilObjCourseGUI.
Definition at line 528 of file class.ilContainerGUI.php.
References addStandardContainerSubTabs().
Referenced by renderObject().
ilContainerGUI::setPageEditorTabs | ( | ) |
Add page editor tabs.
Definition at line 1139 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 392 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 536 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 2728 of file class.ilContainerGUI.php.
Referenced by ilObjCourseGUI\initCourseIconsForm(), ilObjRootFolderGUI\initEditForm(), ilObjGroupGUI\initGroupIconsForm(), ilObjFolderGUI\initIconsForm(), and ilObjCategoryGUI\initIconsForm().
ilContainerGUI::showLinkListObject | ( | ) |
Definition at line 920 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 3453 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 2094 of file class.ilContainerGUI.php.
References $_SESSION, $cmd, $t, ilUtil\getImagePath(), and getTreeSelectorGUI().
Referenced by initAndDisplayCopyIntoMultipleObjectsObject(), initAndDisplayLinkIntoMultipleObjectsObject(), initAndDisplayMoveIntoObjectObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::showPermanentLink | ( | & | $tpl | ) |
show permanent link
Definition at line 725 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 424 of file class.ilContainerGUI.php.
References ilObjectAddNewItemGUI\render().
Referenced by renderObject().
ilContainerGUI::showRepTree | ( | $a_initial_call = false | ) |
Show tree.
boolean | $a_initial_call | should be true if not called through standard $ilCtrl->getCmd() procedure |
Definition at line 3638 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilSetting, $ilUser, and ilObjectGUI\$tpl.
Referenced by ilObjGroupGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilContainerGUI::showTreeFlatIcon | ( | ) |
Definition at line 366 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.
public
Definition at line 3890 of file class.ilContainerGUI.php.
References $_GET, and ilObjectGUI\$tpl.
ilContainerGUI::undeleteObject | ( | ) |
Get objects back from trash.
Definition at line 3917 of file class.ilContainerGUI.php.
ilContainerGUI::useNewEditorObject | ( | ) |
Use new editor (-> delete xhtml content page)
Definition at line 756 of file class.ilContainerGUI.php.
References $ilCtrl, ilObjectGUI\$lng, ilContainer\_writeContainerSetting(), and ilUtil\sendSuccess().
ilContainerGUI::$bl_cnt = 1 |
Definition at line 21 of file class.ilContainerGUI.php.
ilContainerGUI::$multi_download_enabled = false |
Definition at line 22 of file class.ilContainerGUI.php.
Referenced by isMultiDownloadEnabled().