ILIAS
Release_4_2_x_branch Revision 61807
|
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 () | |
lockObject () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard | |
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 () | |
showLinkIntoMultipleObjectsTreeObject () | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. | |
initAndDisplayMoveIntoObjectObject () | |
showMoveIntoObjectTreeObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. | |
clipboardObject () | |
show clipboard | |
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. | |
copyWizardHasOptions ($a_mode) | |
public | |
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) | |
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 () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
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. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. |
Static Public Member Functions | |
static | _buildPath ($a_ref_id, $a_course_ref_id) |
build path |
Data Fields | |
$bl_cnt = 1 | |
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. | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showUpperIcon () | |
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 () | |
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 | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__showButton ($a_cmd, $a_text, $a_target= '') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table | |
__showClipboardTable ($a_result_set, $a_from="") | |
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. |
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 713 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, and ilObjectGUI\$tree.
|
static |
build path
Definition at line 2929 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 1228 of file class.ilContainerGUI.php.
References $title, and ilUtil\getImagePath().
Referenced by renderItemList().
ilContainerGUI::addMessageRow | ( | & | $a_tpl, |
$a_message, | |||
$a_type | |||
) |
add message row
Definition at line 1319 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 296 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 1376 of file class.ilContainerGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, 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 1256 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 1519 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 103 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 2610 of file class.ilContainerGUI.php.
ilContainerGUI::allowBlocksMoving | ( | ) |
Standard is to allow blocks moving.
Definition at line 2602 of file class.ilContainerGUI.php.
Referenced by setColumnSettings().
ilContainerGUI::cancelMoveLinkObject | ( | ) |
ilContainerGUI::cancelPageContentObject | ( | ) |
Definition at line 920 of file class.ilContainerGUI.php.
ilContainerGUI::clearAdminCommandsDetermination | ( | ) |
cleaer administration commands determination
Definition at line 1181 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::clearObject | ( | ) |
clear clipboard and go back to last object
public
Definition at line 1733 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, disableAdministrationPanelObject(), and ilUtil\sendSuccess().
Referenced by pasteObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::clipboardObject | ( | ) |
show clipboard
Definition at line 2395 of file class.ilContainerGUI.php.
References $_SESSION, $ilErr, $ilLog, ilObjectGUI\$ref_id, ilObjectGUI\__showClipboardTable(), and ilObjectFactory\getInstanceByRefId().
ilContainerGUI::cloneAllObject | ( | ) |
Clone all object Overwritten method for copying container objects.
public
Reimplemented from ilObjectGUI.
Definition at line 2769 of file class.ilContainerGUI.php.
References $_COOKIE, $_GET, $_POST, $_REQUEST, $ilErr, $ilLog, ilObjectGUI\$ref_id, $result, ilObjectGUI\$tree, ilObjectGUI\createObject(), ilObjectFactory\getInstanceByRefId(), ilUtil\redirect(), 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 2864 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, and ilObjectGUI\$tree.
Referenced by pasteObject().
ilContainerGUI::cloneWizardPageListObject | ( | ) |
public
Definition at line 2634 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::cloneWizardPageObject | ( | $a_tree_view = true | ) |
Show clone wizard page for container objects.
public
Definition at line 2645 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 2622 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
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 2325 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$ref_id, $title, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObjectGUI\getTitlesByRefId(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilContainerGUI::copyWizardHasOptions | ( | $a_mode | ) |
public
Reimplemented from ilObjectGUI.
Definition at line 2821 of file class.ilContainerGUI.php.
ilContainerGUI::createStyleObject | ( | ) |
ilContainerGUI::cutObject | ( | ) |
cut object(s) out from a container and write the information to clipboard
public
Definition at line 1591 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$ref_id, ilObjectGUI\getTitlesByRefId(), initAndDisplayMoveIntoObjectObject(), and ilUtil\sendInfo().
ilContainerGUI::deleteStyleObject | ( | ) |
ilContainerGUI::disableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1485 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by clearObject().
ilContainerGUI::editOrderObject | ( | ) |
Edit order.
Definition at line 1494 of file class.ilContainerGUI.php.
References $_SESSION, and renderObject().
ilContainerGUI::editPageContentObject | ( | ) |
edit page content (for repository root node and categories)
public
Definition at line 825 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 790 of file class.ilContainerGUI.php.
References $_SESSION, ilContainer\_lookupContainerSetting(), and exit.
ilContainerGUI::editStyleObject | ( | ) |
ilContainerGUI::editStylePropertiesObject | ( | ) |
Edit style properties.
Definition at line 2954 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initStylePropertiesForm().
ilContainerGUI::enableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1476 of file class.ilContainerGUI.php.
References $_SESSION.
& ilContainerGUI::executeCommand | ( | ) |
execute command note: this method is overwritten in all container objects
Reimplemented from ilObjectGUI.
Reimplemented in ilObjCourseGUI, ilObjiLincCourseGUI, ilObjRootFolderGUI, ilObjFolderGUI, ilObjRecoveryFolderGUI, ilObjCategoryGUI, and ilObjGroupGUI.
Definition at line 49 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ret, ilObjectGUI\$tpl, forwardToPageObject(), forwardToStyleSheet(), and ilObjectGUI\prepareOutput().
& ilContainerGUI::forwardToPageObject | ( | ) |
forward command to page object
Definition at line 168 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(), ilObjStyleSheet\getSyntaxStylePath(), and ilPageObject\setParentId().
Referenced by ilObjGroupGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), executeCommand(), ilObjFolderGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilContainerGUI::forwardToStyleSheet | ( | ) |
Forward to style object.
Definition at line 131 of file class.ilContainerGUI.php.
References $_GET, $cmd, $ilCtrl, $ret, and ilObjectGUI\omitLocator().
Referenced by ilObjGroupGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), executeCommand(), ilObjFolderGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), and ilObjCourseGUI\executeCommand().
ilContainerGUI::getAsynchItemListObject | ( | ) |
Get item list command drop down asynchronously.
Definition at line 3113 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().
ilContainerGUI::getContainerPageHTML | ( | ) |
Get container page HTML.
Definition at line 307 of file class.ilContainerGUI.php.
References $_GET, $ilSetting, $ret, ilPageUtil\_existsAndNotEmpty(), ilContainer\_lookupContainerSetting(), ilObjStyleSheet\getContentStylePath(), ilObjStyleSheet\getEffectiveContentStyleId(), and ilObjStyleSheet\getSyntaxStylePath().
Referenced by renderItemList().
ilContainerGUI::getContentGUI | ( | ) |
Get content gui object.
@return |
Definition at line 521 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 89 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, ilObjFolderGUI, ilObjiLincCourseGUI, ilObjCategoryGUI, and ilObjRootFolderGUI.
Definition at line 1443 of file class.ilContainerGUI.php.
References $_SESSION, and $ilCtrl.
ilContainerGUI::ilContainerGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference = true , |
|||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 27 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$tree, and ilObjectGUI\ilObjectGUI().
Referenced by ilObjGroupGUI\__construct(), ilObjCategoryGUI\ilObjCategoryGUI(), ilObjCourseGUI\ilObjCourseGUI(), ilObjiLincCourseGUI\ilObjiLincCourseGUI(), and ilObjRootFolderGUI\ilObjRootFolderGUI().
ilContainerGUI::initAndDisplayLinkIntoMultipleObjectsObject | ( | ) |
Definition at line 1957 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showLinkIntoMultipleObjectsTreeObject().
Referenced by linkObject().
ilContainerGUI::initAndDisplayMoveIntoObjectObject | ( | ) |
Definition at line 2034 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showMoveIntoObjectTreeObject().
Referenced by cutObject().
|
protected |
Init password form.
Definition at line 3185 of file class.ilContainerGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by savePasswordObject(), and showPasswordInstructionObject().
ilContainerGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 2969 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjStyleSheet\_getStandardStyles(), ilContainer\_lookupContainerSetting(), ilObjStyleSheet\_lookupStandard(), ilObject\_lookupTitle(), formSelect(), ilSelectInputGUI\setOptions(), ilPageObjectGUI\setStyleId(), and ilNonEditableValueGUI\setValue().
Referenced by editStylePropertiesObject().
ilContainerGUI::isActiveAdministrationPanel | ( | ) |
Reimplemented in ilObjiLincCourseGUI.
Definition at line 2560 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 1509 of file class.ilContainerGUI.php.
ilContainerGUI::linkObject | ( | ) |
create an new reference of an object in tree it's like a hard link of unix
public
Definition at line 1658 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, initAndDisplayLinkIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::lockObject | ( | ) |
Definition at line 1553 of file class.ilContainerGUI.php.
References $_GET, $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 2914 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 1213 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 2107 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$lng, $log, ilObjectGUI\$ref_id, ilObjectGUI\$tree, ilConditionHandler\_adjustMovedObjectConditions(), ilObjFileAccess\_appendNumberOfCopyToFilename(), ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_recordReadEvent(), ilChangeEvent\_recordWriteEvent(), clearObject(), cloneNodes(), and ilUtil\sendSuccess().
ilContainerGUI::performPasteIntoMultipleObjectsObject | ( | ) |
Definition at line 1751 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, $log, ilObjectGUI\$ref_id, ilObjectGUI\$tree, ilConditionHandler\_adjustMovedObjectConditions(), ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), clearObject(), ilRbacLog\gatherFaPa(), ilObjectFactory\getInstanceByRefId(), ilRbacLog\isActive(), ilRbacLog\LINK_OBJECT, ilUtil\sendFailure(), ilUtil\sendSuccess(), showLinkIntoMultipleObjectsTreeObject(), and showMoveIntoObjectTreeObject().
ilContainerGUI::prepareOutput | ( | $a_show_subobjects = true | ) |
prepare output
Definition at line 377 of file class.ilContainerGUI.php.
References ilObjectGUI\getCreationMode(), ilMemberViewGUI\showMemberViewSwitch(), and showTreeFlatIcon().
ilContainerGUI::redrawListItemObject | ( | ) |
Redraw a list item (ajax)
@return |
Definition at line 3231 of file class.ilContainerGUI.php.
References $_GET, exit, and getContentGUI().
ilContainerGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1537 of file class.ilContainerGUI.php.
References $ilSetting, ilObjectGUI\$lng, ilDesktopItemGUI\removeFromDesktop(), renderObject(), and ilUtil\sendSuccess().
ilContainerGUI::renderItemList | ( | $a_type = "all" | ) |
Definition at line 925 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 ilObjGroupGUI, ilObjCategoryGUI, ilObjRootFolderGUI, ilObjCourseGUI, and ilObjFolderGUI.
Definition at line 565 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $ilDB, $ilSetting, ilObjectGUI\$tpl, getContentGUI(), isActiveAdministrationPanel(), setContentSubTabs(), showAdministrationPanel(), showPermanentLink(), and showPossibleSubObjects().
Referenced by addToDeskObject(), editOrderObject(), lockObject(), removeFromDeskObject(), and ilObjiLincCourseGUI\viewObject().
ilContainerGUI::resetRowType | ( | ) |
Definition at line 1339 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::savePageContentObject | ( | ) |
Definition at line 877 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 3209 of file class.ilContainerGUI.php.
References initFormPasswordInstruction(), ilUtil\sendSuccess(), and showPasswordInstructionObject().
ilContainerGUI::saveSortingObject | ( | ) |
Save Sorting.
public
Definition at line 2840 of file class.ilContainerGUI.php.
References $_POST, ilContainerSorting\_getInstance(), and ilUtil\sendSuccess().
ilContainerGUI::saveStyleSettingsObject | ( | ) |
Save style settings.
Definition at line 3094 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 2568 of file class.ilContainerGUI.php.
References allowBlocksMoving(), and isActiveAdministrationPanel().
ilContainerGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Reimplemented in ilObjCourseGUI.
Definition at line 612 of file class.ilContainerGUI.php.
References addStandardContainerSubTabs().
Referenced by renderObject().
ilContainerGUI::setPageEditorTabs | ( | ) |
Add page editor tabs.
Definition at line 1348 of file class.ilContainerGUI.php.
References ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), and isActiveAdministrationPanel().
ilContainerGUI::setTitleAndDescription | ( | ) |
called by prepare output
Reimplemented from ilObjectGUI.
Reimplemented in ilObjRootFolderGUI.
Definition at line 420 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, $path, ilObjectListGUIFactory\_getListGUIByType(), ilContainer\_lookupContainerSetting(), ilContainer\_lookupIconPath(), and ilUtil\getImagePath().
ilContainerGUI::showAdministrationPanel | ( | & | $tpl | ) |
show administration panel
Definition at line 620 of file class.ilContainerGUI.php.
References $_SESSION, $GLOBALS, $ilSetting, ilObjectGUI\$lng, ilUtil\getImagePath(), isActiveAdministrationPanel(), 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 2440 of file class.ilContainerGUI.php.
References $title.
Referenced by ilObjCourseGUI\initCourseIconsForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), and ilObjGroupGUI\initGroupIconsForm().
ilContainerGUI::showLinkIntoMultipleObjectsTreeObject | ( | ) |
Definition at line 1978 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, and ilPasteIntoMultipleItemsExplorer\SEL_TYPE_CHECK.
Referenced by initAndDisplayLinkIntoMultipleObjectsObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::showLinkListObject | ( | ) |
Definition at line 1130 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, exit, and ilUtil\getStyleSheetLocation().
ilContainerGUI::showMoveIntoObjectTreeObject | ( | ) |
Definition at line 2055 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, and ilPasteIntoMultipleItemsExplorer\SEL_TYPE_RADIO.
Referenced by initAndDisplayMoveIntoObjectObject(), and performPasteIntoMultipleObjectsObject().
|
protected |
Show webdav password instruction.
Definition at line 3158 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilDAVServer\getInstance(), initFormPasswordInstruction(), and ilUtil\sendInfo().
Referenced by savePasswordObject().
ilContainerGUI::showPermanentLink | ( | & | $tpl | ) |
show permanent link
Definition at line 730 of file class.ilContainerGUI.php.
References $GLOBALS.
Referenced by renderObject().
ilContainerGUI::showPossibleSubObjects | ( | ) |
show possible sub objects selection list
Reimplemented from ilObjectGUI.
Reimplemented in ilObjRecoveryFolderGUI.
Definition at line 453 of file class.ilContainerGUI.php.
References $cmd, $d, ilObjectGUI\$formaction, $ilCtrl, ilObjectGUI\$lng, $row, ilObject\_getIcon(), ilRepositoryObjectPluginSlot\addCreatableSubObjects(), and ilPlugin\lookupTxt().
Referenced by renderObject().
ilContainerGUI::showTreeFlatIcon | ( | ) |
Definition at line 394 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$tpl, and ilMemberViewSettings\getInstance().
Referenced by prepareOutput().
ilContainerGUI::switchToOldEditorObject | ( | ) |
ilContainerGUI::switchToStdEditorObject | ( | ) |
ilContainerGUI::useNewEditorObject | ( | ) |
Use new editor (-> delete xhtml content page)
Definition at line 761 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.