ILIAS
Release_4_4_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 () | |
renderItemList ($a_type="all") | |
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. | |
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. | |
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. | |
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 706 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, and ilObjectGUI\$tree.
|
static |
build path
Definition at line 3393 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 1221 of file class.ilContainerGUI.php.
References ilUtil\getImagePath().
Referenced by renderItemList().
ilContainerGUI::addMessageRow | ( | & | $a_tpl, |
$a_message, | |||
$a_type | |||
) |
add message row
Definition at line 1312 of file class.ilContainerGUI.php.
Referenced by renderItemList().
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 1369 of file class.ilContainerGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, $ilUser, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), isActiveAdministrationPanel(), and ilContainer\SORT_MANUAL.
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 1249 of file class.ilContainerGUI.php.
References $path, ilContainer\_lookupIconPath(), ilContainerSortingSettings\_lookupSortMode(), ilUtil\getImagePath(), isActiveAdministrationPanel(), and ilContainer\SORT_MANUAL.
Referenced by renderItemList().
ilContainerGUI::addToDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1512 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 3089 of file class.ilContainerGUI.php.
ilContainerGUI::allowBlocksMoving | ( | ) |
Standard is to allow blocks moving.
Definition at line 3081 of file class.ilContainerGUI.php.
Referenced by setColumnSettings().
ilContainerGUI::cancelMoveLinkObject | ( | ) |
ilContainerGUI::cancelPageContentObject | ( | ) |
Definition at line 913 of file class.ilContainerGUI.php.
ilContainerGUI::clearAdminCommandsDetermination | ( | ) |
cleaer administration commands determination
Definition at line 1174 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::clearObject | ( | ) |
clear clipboard and go back to last object
public
Definition at line 1962 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 2853 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 3249 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 3328 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, and ilObjectGUI\$tree.
Referenced by performPasteIntoMultipleObjectsObject().
ilContainerGUI::cloneWizardPageListObject | ( | ) |
public
Definition at line 3113 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::cloneWizardPageObject | ( | $a_tree_view = true | ) |
Show clone wizard page for container objects.
public
Definition at line 3124 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 3101 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::confirmRemoveFromSystemObject | ( | ) |
confirmation screen remove from system
Definition at line 3902 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and ilUtil\sendFailure().
|
staticprivate |
Definition at line 1875 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 1657 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 1595 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 1478 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by clearObject(), and ilObjOrgUnitGUI\executeCommand().
|
private |
Definition at line 1790 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 1738 of file class.ilContainerGUI.php.
References $_GET, $_POST, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, and downloadMultipleObjects().
ilContainerGUI::editOrderObject | ( | ) |
Edit order.
Definition at line 1487 of file class.ilContainerGUI.php.
References $_SESSION, and renderObject().
ilContainerGUI::editPageContentObject | ( | ) |
edit page content (for repository root node and categories)
public
Definition at line 818 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 783 of file class.ilContainerGUI.php.
References $_SESSION, ilContainer\_lookupContainerSetting(), and exit.
ilContainerGUI::editStyleObject | ( | ) |
ilContainerGUI::editStylePropertiesObject | ( | ) |
Edit style properties.
Definition at line 3418 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initStylePropertiesForm().
ilContainerGUI::enableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1469 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by ilObjOrgUnitGUI\executeCommand().
ilContainerGUI::enableMultiDownloadObject | ( | ) |
Definition at line 1545 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, ilObjRootFolderGUI, ilObjOrgUnitGUI, 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 3785 of file class.ilContainerGUI.php.
References $_COOKIE, $ilUser, ilObjectGUI\$tpl, ilObjSystemFolder\_getHeaderTitle(), 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 3584 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().
Referenced by renderItemList().
ilContainerGUI::getContentGUI | ( | ) |
Get content gui object.
@return |
Definition at line 435 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.
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, ilObjOrgUnitGUI, ilObjFolderGUI, ilObjCategoryGUI, ilObjiLincCourseGUI, and ilObjRootFolderGUI.
Definition at line 1436 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, and $ilCtrl.
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 2389 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by copyObject().
ilContainerGUI::initAndDisplayLinkIntoMultipleObjectsObject | ( | ) |
Definition at line 2241 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by linkObject().
ilContainerGUI::initAndDisplayMoveIntoObjectObject | ( | ) |
Definition at line 2458 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showPasteTreeObject().
Referenced by cutObject().
|
protected |
Init password form.
Definition at line 3656 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 3765 of file class.ilContainerGUI.php.
References ilFMSettings\getInstance().
ilContainerGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 3433 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 3029 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by addStandardContainerSubTabs(), addStandardRow(), renderItemList(), renderObject(), setColumnSettings(), ilObjCourseGUI\setContentSubTabs(), setPageEditorTabs(), and showAdministrationPanel().
ilContainerGUI::isActiveOrdering | ( | ) |
Check if ordering is enabled.
Definition at line 1502 of file class.ilContainerGUI.php.
ilContainerGUI::isMultiDownloadEnabled | ( | ) |
Definition at line 1551 of file class.ilContainerGUI.php.
References $multi_download_enabled.
Referenced by showAdministrationPanel().
ilContainerGUI::keepObjectsInClipboardObject | ( | ) |
Keep objects in the clipboard.
Definition at line 2382 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 1893 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, initAndDisplayLinkIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::lockObject | ( | ) |
Definition at line 1557 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 3378 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 1206 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl.
Referenced by renderItemList().
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 2534 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 1980 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, $GLOBALS, $ilUser, $log, ilObjectGUI\$ref_id, ilObjectGUI\$tree, ilConditionHandler\_adjustMovedObjectConditions(), ilObjFileAccess\_appendNumberOfCopyToFilename(), ilChangeEvent\_catchupWriteEvents(), 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\performPaste().
ilContainerGUI::prepareOutput | ( | $a_show_subobjects = true | ) |
prepare output
Definition at line 347 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 1851 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 3702 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$tpl, ilEventItems\_getItemsOfContainer(), exit, getContentGUI(), and ilObjectActivation\getItemsByEvent().
ilContainerGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1530 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 3878 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and $log.
ilContainerGUI::renderItemList | ( | $a_type = "all" | ) |
Definition at line 918 of file class.ilContainerGUI.php.
References $ilBench, $ilSetting, ilObjectGUI\$objDefinition, ilObjectGUI\$tpl, ilObjectListGUIFactory\_getListGUIByType(), addHeaderRow(), addMessageRow(), addStandardRow(), clearAdminCommandsDetermination(), getContainerPageHTML(), isActiveAdministrationPanel(), newBlockTemplate(), and resetRowType().
ilContainerGUI::renderObject | ( | ) |
render the object
Reimplemented in ilObjCategoryGUI, ilObjGroupGUI, ilObjRootFolderGUI, ilObjCourseGUI, and ilObjFolderGUI.
Definition at line 479 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $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 1332 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::savePageContentObject | ( | ) |
Definition at line 870 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 3680 of file class.ilContainerGUI.php.
References $ilUser, initFormPasswordInstruction(), ilUtil\sendSuccess(), and showPasswordInstructionObject().
ilContainerGUI::saveSortingObject | ( | ) |
Save Sorting.
public
Definition at line 3304 of file class.ilContainerGUI.php.
References $_POST, ilContainerSorting\_getInstance(), and ilUtil\sendSuccess().
ilContainerGUI::saveStyleSettingsObject | ( | ) |
Save style settings.
Definition at line 3565 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 3047 of file class.ilContainerGUI.php.
References allowBlocksMoving(), and isActiveAdministrationPanel().
ilContainerGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Reimplemented in ilObjCourseGUI.
Definition at line 526 of file class.ilContainerGUI.php.
References addStandardContainerSubTabs().
Referenced by renderObject().
ilContainerGUI::setPageEditorTabs | ( | ) |
Add page editor tabs.
Definition at line 1341 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 390 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 534 of file class.ilContainerGUI.php.
References $_SESSION, $GLOBALS, ilObjectGUI\$lng, ilUtil\getImagePath(), isActiveAdministrationPanel(), isMultiDownloadEnabled(), and ilContainer\SORT_MANUAL.
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 2909 of file class.ilContainerGUI.php.
Referenced by ilObjCourseGUI\initCourseIconsForm(), ilObjRootFolderGUI\initEditForm(), ilObjGroupGUI\initGroupIconsForm(), ilObjFolderGUI\initIconsForm(), and ilObjCategoryGUI\initIconsForm().
ilContainerGUI::showLinkListObject | ( | ) |
Definition at line 1122 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 3629 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilDAVServer\getInstance(), initFormPasswordInstruction(), and ilUtil\sendInfo().
Referenced by savePasswordObject().
ilContainerGUI::showPasteTreeObject | ( | ) |
Show paste tree.
Reimplemented in ilObjOrgUnitGUI.
Definition at line 2265 of file class.ilContainerGUI.php.
References $_SESSION, $cmd, $t, and ilUtil\getImagePath().
Referenced by initAndDisplayCopyIntoMultipleObjectsObject(), initAndDisplayLinkIntoMultipleObjectsObject(), initAndDisplayMoveIntoObjectObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::showPermanentLink | ( | & | $tpl | ) |
show permanent link
Definition at line 723 of file class.ilContainerGUI.php.
References $GLOBALS.
Referenced by renderObject().
ilContainerGUI::showPossibleSubObjects | ( | ) |
show possible sub objects selection list
Reimplemented from ilObjectGUI.
Reimplemented in ilObjOrgUnitGUI, and ilObjRecoveryFolderGUI.
Definition at line 422 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 3814 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 364 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 3864 of file class.ilContainerGUI.php.
References $_GET, and ilObjectGUI\$tpl.
ilContainerGUI::undeleteObject | ( | ) |
Get objects back from trash.
Definition at line 3891 of file class.ilContainerGUI.php.
ilContainerGUI::useNewEditorObject | ( | ) |
Use new editor (-> delete xhtml content page)
Definition at line 754 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().