ILIAS
release_4-3 Revision
|
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. | |
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) | |
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 | |
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. | |
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 | |
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 | |
__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 720 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, and ilObjectGUI\$tree.
|
static |
build path
Definition at line 2940 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 1236 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 1327 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::addPageTabs | ( | ) |
Add page tabs.
Definition at line 297 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 1384 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 1264 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 1527 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 2636 of file class.ilContainerGUI.php.
ilContainerGUI::allowBlocksMoving | ( | ) |
Standard is to allow blocks moving.
Definition at line 2628 of file class.ilContainerGUI.php.
Referenced by setColumnSettings().
ilContainerGUI::cancelMoveLinkObject | ( | ) |
ilContainerGUI::cancelPageContentObject | ( | ) |
Definition at line 927 of file class.ilContainerGUI.php.
ilContainerGUI::clearAdminCommandsDetermination | ( | ) |
cleaer administration commands determination
Definition at line 1189 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::clearObject | ( | ) |
clear clipboard and go back to last object
public
Definition at line 1741 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, disableAdministrationPanelObject(), and ilUtil\sendSuccess().
Referenced by pasteObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::clipboardObject | ( | ) |
show clipboard
Definition at line 2410 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 2796 of file class.ilContainerGUI.php.
References $_COOKIE, $_GET, $_POST, $_REQUEST, $ilCtrl, $ilErr, $ilLog, $ilUser, 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 2875 of file class.ilContainerGUI.php.
References ilObjectGUI\$ilias, and ilObjectGUI\$tree.
Referenced by pasteObject().
ilContainerGUI::cloneWizardPageListObject | ( | ) |
public
Definition at line 2660 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::cloneWizardPageObject | ( | $a_tree_view = true | ) |
Show clone wizard page for container objects.
public
Definition at line 2671 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 2648 of file class.ilContainerGUI.php.
References cloneWizardPageObject().
ilContainerGUI::confirmRemoveFromSystemObject | ( | ) |
confirmation screen remove from system
Definition at line 3358 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and ilUtil\sendFailure().
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 2340 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::createStyleObject | ( | ) |
ilContainerGUI::cutObject | ( | ) |
cut object(s) out from a container and write the information to clipboard
public
Definition at line 1599 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 1493 of file class.ilContainerGUI.php.
References $_SESSION.
Referenced by clearObject().
ilContainerGUI::editOrderObject | ( | ) |
Edit order.
Definition at line 1502 of file class.ilContainerGUI.php.
References $_SESSION, and renderObject().
ilContainerGUI::editPageContentObject | ( | ) |
edit page content (for repository root node and categories)
public
Definition at line 832 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 797 of file class.ilContainerGUI.php.
References $_SESSION, ilContainer\_lookupContainerSetting(), and exit.
ilContainerGUI::editStyleObject | ( | ) |
ilContainerGUI::editStylePropertiesObject | ( | ) |
Edit style properties.
Definition at line 2965 of file class.ilContainerGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initStylePropertiesForm().
ilContainerGUI::enableAdministrationPanelObject | ( | ) |
enable administration panel
Definition at line 1484 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().
|
protected |
Launch jnlp.
Definition at line 3292 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 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 3132 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 308 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 525 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, ilObjCategoryGUI, ilObjiLincCourseGUI, and ilObjRootFolderGUI.
Definition at line 1451 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 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 1966 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showLinkIntoMultipleObjectsTreeObject().
Referenced by linkObject().
ilContainerGUI::initAndDisplayMoveIntoObjectObject | ( | ) |
Definition at line 2046 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $path, ilObjectGUI\$tree, and showMoveIntoObjectTreeObject().
Referenced by cutObject().
|
protected |
Init password form.
Definition at line 3204 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 3272 of file class.ilContainerGUI.php.
References ilFMSettings\getInstance().
ilContainerGUI::initStylePropertiesForm | ( | ) |
Init style properties form.
Definition at line 2980 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 2576 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 1517 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 1666 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, $ilCtrl, ilObjectGUI\$object, ilObjectGUI\$ref_id, initAndDisplayLinkIntoMultipleObjectsObject(), and ilUtil\sendInfo().
ilContainerGUI::lockObject | ( | ) |
Definition at line 1561 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 2925 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 1221 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 2122 of file class.ilContainerGUI.php.
References $_GET, $_SESSION, $ilUser, 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 1759 of file class.ilContainerGUI.php.
References $_POST, $_SESSION, $GLOBALS, $ilUser, $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 378 of file class.ilContainerGUI.php.
References ilObjectGUI\getCreationMode(), ilMemberViewGUI\showMemberViewSwitch(), and showTreeFlatIcon().
ilContainerGUI::redrawListItemObject | ( | ) |
Redraw a list item (ajax)
@return |
Definition at line 3250 of file class.ilContainerGUI.php.
References $_GET, exit, and getContentGUI().
ilContainerGUI::removeFromDeskObject | ( | ) |
Implements ilDesktopItemHandling.
Definition at line 1545 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 3334 of file class.ilContainerGUI.php.
References $_POST, ilObjectGUI\$lng, and $log.
ilContainerGUI::renderItemList | ( | $a_type = "all" | ) |
Definition at line 932 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 569 of file class.ilContainerGUI.php.
References $_GET, $ilCtrl, $ilSetting, ilObjectGUI\$tpl, getContentGUI(), isActiveAdministrationPanel(), setContentSubTabs(), showAdministrationPanel(), showPermanentLink(), and showPossibleSubObjects().
Referenced by addToDeskObject(), editOrderObject(), lockObject(), removeFromDeskObject(), and ilObjiLincCourseGUI\viewObject().
ilContainerGUI::resetRowType | ( | ) |
Definition at line 1347 of file class.ilContainerGUI.php.
Referenced by renderItemList().
ilContainerGUI::savePageContentObject | ( | ) |
Definition at line 884 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 3228 of file class.ilContainerGUI.php.
References $ilUser, initFormPasswordInstruction(), ilUtil\sendSuccess(), and showPasswordInstructionObject().
ilContainerGUI::saveSortingObject | ( | ) |
Save Sorting.
public
Definition at line 2851 of file class.ilContainerGUI.php.
References $_POST, ilContainerSorting\_getInstance(), and ilUtil\sendSuccess().
ilContainerGUI::saveStyleSettingsObject | ( | ) |
Save style settings.
Definition at line 3113 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 2594 of file class.ilContainerGUI.php.
References allowBlocksMoving(), and isActiveAdministrationPanel().
ilContainerGUI::setContentSubTabs | ( | ) |
Set content sub tabs.
Reimplemented in ilObjCourseGUI.
Definition at line 616 of file class.ilContainerGUI.php.
References addStandardContainerSubTabs().
Referenced by renderObject().
ilContainerGUI::setPageEditorTabs | ( | ) |
Add page editor tabs.
Definition at line 1356 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 421 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 624 of file class.ilContainerGUI.php.
References $_SESSION, $GLOBALS, $ilSetting, $ilUser, 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 2456 of file class.ilContainerGUI.php.
References $title.
Referenced by ilObjCourseGUI\initCourseIconsForm(), ilObjRootFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), and ilObjGroupGUI\initGroupIconsForm().
ilContainerGUI::showLinkIntoMultipleObjectsTreeObject | ( | ) |
Definition at line 1987 of file class.ilContainerGUI.php.
References $_GET, $_POST, $_SESSION, and ilPasteIntoMultipleItemsExplorer\SEL_TYPE_CHECK.
Referenced by initAndDisplayLinkIntoMultipleObjectsObject(), and performPasteIntoMultipleObjectsObject().
ilContainerGUI::showLinkListObject | ( | ) |
Definition at line 1137 of file class.ilContainerGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, exit, and ilUtil\getStyleSheetLocation().
ilContainerGUI::showMoveIntoObjectTreeObject | ( | ) |
Definition at line 2067 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 3177 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 737 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 454 of file class.ilContainerGUI.php.
References $cmd, $d, ilObjectGUI\$formaction, $ilCtrl, ilObjectGUI\$lng, $row, $title, ilObject\_getIcon(), and ilPlugin\lookupTxt().
Referenced by renderObject().
ilContainerGUI::showTreeFlatIcon | ( | ) |
Definition at line 395 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 3320 of file class.ilContainerGUI.php.
References $_GET, and ilObjectGUI\$tpl.
ilContainerGUI::undeleteObject | ( | ) |
Get objects back from trash.
Definition at line 3347 of file class.ilContainerGUI.php.
ilContainerGUI::useNewEditorObject | ( | ) |
Use new editor (-> delete xhtml content page)
Definition at line 768 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.