ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilObjectGUI Class Reference

Class ilObjectGUI Basic methods of all Output classes. More...

+ Inheritance diagram for ilObjectGUI:
+ Collaboration diagram for ilObjectGUI:

Public Member Functions

 executeCommand ()
 execute command More...
 
 withReferences ()
 determines wether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode ($a_mode=true)
 if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More...
 
 getCreationMode ()
 get creation mode More...
 
 prepareOutput ($a_show_subobjects=true)
 prepare output More...
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page @access public More...
 
 createObject ()
 create new object form More...
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 save object More...
 
 editObject ()
 edit object More...
 
 addExternalEditFormCustom (ilPropertyFormGUI $a_form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction ($a_cmd, $a_formaction="")
 get form action for command (command is method name without "Object", e.g. More...
 
 isVisible ($a_ref_id, $a_type)
 
 viewObject ()
 list childs of current object More...
 
 deleteObject ($a_error=false)
 Display deletion confirmation screen. More...
 
 cloneAllObject ()
 Clone single (not container object) Method is overwritten in ilContainerGUI. More...
 

Static Public Member Functions

static _gotoRepositoryRoot ($a_raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset")
 Goto repository root. More...
 

Data Fields

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

 assignObject ()
 
 setTitleAndDescription ()
 called by prepare output More...
 
 initHeaderAction ($a_sub_type=null, $a_sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction ($a_list_gui)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 showMountWebfolderIcon ()
 
 setTabs ()
 set admin tabs @access public More...
 
 setAdminTabs ()
 set admin tabs @access public More...
 
 setLocator ()
 set Locator More...
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator ($a_omit=true)
 
 addAdminLocatorItems ($a_do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 initCreationForms ($a_new_type)
 Init creation froms. More...
 
 getCreationFormsHTML (array $a_forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm ($a_new_type)
 Init object creation form. More...
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 Show didactic template types. More...
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 getDidacticTemplateVar ($a_type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $a_obj, $a_parent_node_id=null)
 Add object to tree at given position. More...
 
 afterSave (ilObject $a_new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 Init object edit form. More...
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 Get values for edit form. More...
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $a_form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $a_form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 initImportForm ($a_new_type)
 Init object import form. More...
 
 importFileObject ($parent_id=null, $a_catch_errors=true)
 Import. More...
 
 afterImport (ilObject $a_new_object)
 Post (successful) object import hook. More...
 
 setFormAction ($a_cmd, $a_formaction)
 set specific form action for command More...
 
 getReturnLocation ($a_cmd, $a_location="")
 get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation ($a_cmd, $a_location)
 set specific return location for command More...
 
 getTargetFrame ($a_cmd, $a_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame ($a_cmd, $a_target_frame)
 set specific target frame for command More...
 
 showPossibleSubObjects ()
 show possible subobjects (pulldown menu) More...
 
 getTemplateFile ($a_cmd, $a_type="")
 get a template blockfile format: tpl. More...
 
 getTabs ()
 get tabs abstract method. More...
 
 __showButton ($a_cmd, $a_text, $a_target='')
 
 hitsperpageObject ()
 
__initTableGUI ()
 
 __setTableGUIBasicData (&$tbl, &$result_set, $a_from="")
 standard implementation for tables use 'from' variable use different initial setting of table More...
 
 redirectToRefId ($a_ref_id, $a_cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More...
 
 fillCloneTemplate ($a_tpl_varname, $a_type)
 Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 May be overwritten in subclasses. More...
 
 checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 Check permission and redirect on error. More...
 
 checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
 Check permission. More...
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 handleAutoRating (ilObject $a_new_obj)
 Activate rating automatically if parent container setting. More...
 

Protected Attributes

 $tmp_import_dir
 
 $tabs_gui = null
 
 $ctrl
 

Private Member Functions

 setActions ($a_actions="")
 set possible actions for objects in list. More...
 
 setSubObjects ($a_sub_objects="")
 set possible subobjects for this object. More...
 

Detailed Description

Class ilObjectGUI Basic methods of all Output classes.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 13 of file class.ilObjectGUI.php.

Member Function Documentation

◆ __initTableGUI()

& ilObjectGUI::__initTableGUI ( )
protected

Reimplemented in ilObjOrgUnitGUI, and ilObject2GUI.

Definition at line 1742 of file class.ilObjectGUI.php.

1743 {
1744 include_once "./Services/Table/classes/class.ilTableGUI.php";
1745
1746 return new ilTableGUI(0,false);
1747 }
Class ilTableGUI.

◆ __setTableGUIBasicData()

ilObjectGUI::__setTableGUIBasicData ( $tbl,
$result_set,
  $a_from = "" 
)
protected

standard implementation for tables use 'from' variable use different initial setting of table

Reimplemented in ilObjOrgUnitGUI, and ilObject2GUI.

Definition at line 1754 of file class.ilObjectGUI.php.

1755 {
1756 switch ($a_from)
1757 {
1758 case "clipboardObject":
1759 $offset = $_GET["offset"];
1760 $order = $_GET["sort_by"];
1761 $direction = $_GET["sort_order"];
1762 $tbl->disable("footer");
1763 break;
1764
1765 default:
1766 $offset = $_GET["offset"];
1767 $order = $_GET["sort_by"];
1768 $direction = $_GET["sort_order"];
1769 break;
1770 }
1771
1772 $tbl->setOrderColumn($order);
1773 $tbl->setOrderDirection($direction);
1774 $tbl->setOffset($offset);
1775 $tbl->setLimit($_GET["limit"]);
1776 $tbl->setFooter("tblfooter",$this->lng->txt("previous"),$this->lng->txt("next"));
1777 $tbl->setData($result_set);
1778 }
$_GET["client_id"]
$tbl
Definition: example_048.php:81

References $_GET, and $tbl.

◆ __showButton()

ilObjectGUI::__showButton (   $a_cmd,
  $a_text,
  $a_target = '' 
)
protected

Reimplemented in ilObject2GUI.

Definition at line 1728 of file class.ilObjectGUI.php.

1729 {
1730 global $ilToolbar;
1731
1732 $ilToolbar->addButton($a_text, $this->ctrl->getLinkTarget($this, $a_cmd), $a_target);
1733 }

Referenced by ilObjSessionGUI\eventsListObject(), ilObjRoleGUI\listDesktopItemsObject(), ilObjRoleGUI\listUsersRoleObject(), and ilObjRoleGUI\selectDesktopItemObject().

+ Here is the caller graph for this function:

◆ _gotoRepositoryNode()

static ilObjectGUI::_gotoRepositoryNode (   $a_ref_id,
  $a_cmd = "frameset" 
)
static

Goto repository root.

Parameters

return

Definition at line 2100 of file class.ilObjectGUI.php.

2101 {
2102 global $ilAccess, $ilErr;
2103
2104 $_GET["cmd"] = $a_cmd;
2105 $_GET["target"] = "";
2106 $_GET["ref_id"] = $a_ref_id;
2107 $_GET["baseClass"] = "ilRepositoryGUI";
2108 include("ilias.php");
2109 exit;
2110 }
global $ilErr
Definition: raiseError.php:16

References $_GET, $ilErr, and exit.

Referenced by ilObjBookingPoolGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjFolderGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjSessionGUI\_goto(), ilObjWikiGUI\_goto(), ilObjCourseGUI\_goto(), ilObjGroupGUI\_goto(), ilObjIndividualAssessmentGUI\_goto(), ilObjFileGUI\_goto(), and ilObjChatroomAdminGUI\_goto().

+ Here is the caller graph for this function:

◆ _gotoRepositoryRoot()

static ilObjectGUI::_gotoRepositoryRoot (   $a_raise_error = false)
static

Goto repository root.

Parameters

return

Definition at line 2074 of file class.ilObjectGUI.php.

2075 {
2076 global $ilAccess, $ilErr, $lng;
2077
2078 if ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID))
2079 {
2080 $_GET["cmd"] = "frameset";
2081 $_GET["target"] = "";
2082 $_GET["ref_id"] = ROOT_FOLDER_ID;
2083 $_GET["baseClass"] = "ilRepositoryGUI";
2084 include("ilias.php");
2085 exit;
2086 }
2087
2088 if ($a_raise_error)
2089 {
2090 $ilErr->raiseError($lng->txt("msg_no_perm_read"), $ilErr->FATAL);
2091 }
2092 }

References $_GET, $ilErr, $lng, and exit.

Referenced by ilObjBookingPoolGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjItemGroupGUI\_goto(), ilLMPageObjectGUI\_goto(), ilObjContentObjectGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjMediaPoolGUI\_goto(), ilObjRootFolderGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjTestGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjWikiGUI\_goto(), ilObjectPluginGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjCourseGUI\_goto(), ilObjGroupGUI\_goto(), ilObjFileGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjExerciseGUI\_goto(), ilGlossaryTermGUI\_goto(), ilStructureObjectGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjSystemFolderGUI\_goto(), and ilObjBibliographicGUI\handleNonAccess().

+ Here is the caller graph for this function:

◆ addAdminLocatorItems()

ilObjectGUI::addAdminLocatorItems (   $a_do_not_add_object = false)
protected

should be overwritten to add object specific items (repository items are preloaded)

Parameters
bool$a_do_not_add_object

Reimplemented in ilObjOrgUnitGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilObjLanguageExtGUI, ilObject2GUI, ilObjStyleSheetGUI, and ilObjUserGUI.

Definition at line 648 of file class.ilObjectGUI.php.

649 {
650 global $ilLocator;
651
652 if ($_GET["admin_mode"] == "settings") // system settings
653 {
654 $this->ctrl->setParameterByClass("ilobjsystemfoldergui",
655 "ref_id", SYSTEM_FOLDER_ID);
656 $ilLocator->addItem($this->lng->txt("administration"),
657 $this->ctrl->getLinkTargetByClass(array("iladministrationgui", "ilobjsystemfoldergui"), "")
658 );
659 if ($this->object && ($this->object->getRefId() != SYSTEM_FOLDER_ID && !$a_do_not_add_object))
660 {
661 $ilLocator->addItem($this->object->getTitle(),
662 $this->ctrl->getLinkTarget($this, "view"));
663 }
664 }
665 else // repository administration
666 {
667 $this->ctrl->setParameterByClass("iladministrationgui",
668 "ref_id", "");
669 $this->ctrl->setParameterByClass("iladministrationgui",
670 "admin_mode", "settings");
671 //$ilLocator->addItem($this->lng->txt("administration"),
672 // $this->ctrl->getLinkTargetByClass("iladministrationgui", "frameset"),
673 // ilFrameTargetInfo::_getFrame("MainContent"));
674 $this->ctrl->clearParametersByClass("iladministrationgui");
675 $ilLocator->addAdministrationItems();
676 }
677
678 }

References $_GET.

Referenced by prepareOutput().

+ Here is the caller graph for this function:

◆ addDidacticTemplateOptions()

ilObjectGUI::addDidacticTemplateOptions ( array &  $a_options)
protected

Add custom templates.

Parameters
array$a_options

Reimplemented in ilObjSurveyGUI, and ilObjTestGUI.

Definition at line 987 of file class.ilObjectGUI.php.

988 {
989
990 }

Referenced by initDidacticTemplate().

+ Here is the caller graph for this function:

◆ addExternalEditFormCustom()

ilObjectGUI::addExternalEditFormCustom ( ilPropertyFormGUI  $a_form)

Reimplemented in ilObjBookingPoolGUI.

Definition at line 1181 of file class.ilObjectGUI.php.

1182 {
1183 // has to be done AFTER setValuesByArray() ...
1184 }

Referenced by editObject().

+ Here is the caller graph for this function:

◆ addHeaderAction()

ilObjectGUI::addHeaderAction ( )
protected

Add header action menu.

Reimplemented in ilObjCloudGUI.

Definition at line 440 of file class.ilObjectGUI.php.

441 {
442 $this->insertHeaderAction($this->initHeaderAction());
443 }
insertHeaderAction($a_list_gui)
Insert header action into main template.
initHeaderAction($a_sub_type=null, $a_sub_id=null)
Add header action menu.

References initHeaderAction(), and insertHeaderAction().

Referenced by ilObjBibliographicGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjTestGUI\forwardToEvalObjectiveOrientedGUI(), and ilObjTestGUI\forwardToEvaluationGUI().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addLocatorItems()

◆ afterImport()

ilObjectGUI::afterImport ( ilObject  $a_new_object)
protected

Post (successful) object import hook.

Parameters
ilObject$a_new_object

Reimplemented in ilObjStyleSheetGUI, and ilObjCourseGUI.

Definition at line 1439 of file class.ilObjectGUI.php.

1440 {
1441 ilUtil::sendSuccess($this->lng->txt("object_added"), true);
1442 $this->ctrl->returnToParent($this);
1443 }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.

References ilUtil\sendSuccess().

Referenced by importFileObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ afterSave()

◆ afterUpdate()

ilObjectGUI::afterUpdate ( )
protected

Post (successful) object update hook.

Reimplemented in ilObjExternalFeedGUI, and ilContainerGUI.

Definition at line 1311 of file class.ilObjectGUI.php.

1312 {
1313 ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"),true);
1314 $this->ctrl->redirect($this, "edit");
1315 }

References ilUtil\sendSuccess().

Referenced by updateObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assignObject()

ilObjectGUI::assignObject ( )
protected

Reimplemented in ilObjGlossaryGUI, ilObjLearningModuleGUI, ilObjSCORM2004LearningModuleGUI, ilObjAICCLearningModuleGUI, ilObjHACPLearningModuleGUI, ilObjSCORMLearningModuleGUI, ilObjLanguageExtGUI, ilObjMediaObjectGUI, and ilObject2GUI.

Definition at line 234 of file class.ilObjectGUI.php.

235 {
236 // TODO: it seems that we always have to pass only the ref_id
237//echo "<br>ilObjectGUIassign:".get_class($this).":".$this->id.":<br>";
238 if ($this->id != 0)
239 {
240 if ($this->call_by_reference)
241 {
242 $this->object = ilObjectFactory::getInstanceByRefId($this->id);
243 }
244 else
245 {
246 $this->object = ilObjectFactory::getInstanceByObjId($this->id);
247 }
248 }
249 }
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id

References ilObjectFactory\getInstanceByObjId(), and ilObjectFactory\getInstanceByRefId().

+ Here is the call graph for this function:

◆ cancelCreation()

ilObjectGUI::cancelCreation ( )

cancel create action and go back to repository parent

Definition at line 995 of file class.ilObjectGUI.php.

996 {
997 global $ilCtrl;
998
999 $ilCtrl->redirectByClass("ilrepositorygui", "frameset");
1000 }
global $ilCtrl
Definition: ilias.php:18

References $ilCtrl.

◆ cancelDeleteObject()

ilObjectGUI::cancelDeleteObject ( )

cancel deletion of object

@access public

Reimplemented in ilObjStyleSheetGUI.

Definition at line 705 of file class.ilObjectGUI.php.

706 {
707 ilSession::clear("saved_post");
708 $this->ctrl->returnToParent($this);
709 }
static clear($a_var)
Unset a value.

References ilSession\clear().

+ Here is the call graph for this function:

◆ cancelObject()

ilObjectGUI::cancelObject ( )

cancel action and go back to previous page @access public

Reimplemented in ilObjForumGUI, ilObjSystemFolderGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilObjAuthSettingsGUI, ilObjLanguageExtGUI, ilObjMediaObjectGUI, ilObjSearchSettingsGUI, ilObjStyleSheetGUI, and ilObjUserGUI.

Definition at line 717 of file class.ilObjectGUI.php.

718 {
719 ilSession::clear("saved_post");
720 $this->ctrl->returnToParent($this);
721 }

References ilSession\clear().

Referenced by ilObjFileBasedLMGUI\cancel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkPermission()

ilObjectGUI::checkPermission (   $a_perm,
  $a_cmd = "",
  $a_type = "",
  $a_ref_id = null 
)
protected

Check permission and redirect on error.

Parameters
string$a_perm
string$a_cmd
string$a_type
int$a_ref_id
Exceptions
ilObjectException
Returns
bool

Reimplemented in ilObject2GUI.

Definition at line 1985 of file class.ilObjectGUI.php.

1986 {
1987 if (!$this->checkPermissionBool($a_perm, $a_cmd, $a_type, $a_ref_id))
1988 {
1989 if (!is_int(strpos($_SERVER["PHP_SELF"], "goto.php")))
1990 {
1991 // create: redirect to parent
1992 if($a_perm == "create")
1993 {
1994 if(!$a_ref_id)
1995 {
1996 $a_ref_id = $_GET["ref_id"];
1997 }
1998 $type = ilObject::_lookupType($a_ref_id, true);
1999 }
2000 else
2001 {
2002 // does this make sense?
2003 if (!is_object($this->object))
2004 {
2005 return;
2006 }
2007 if (!$a_ref_id)
2008 {
2009 $a_ref_id = $this->object->getRefId();
2010 }
2011 $type = $this->object->getType();
2012 }
2013
2014 ilSession::clear("il_rep_ref_id");
2015
2016 include_once "Services/Object/exceptions/class.ilObjectException.php";
2017 throw new ilObjectException($this->lng->txt("permission_denied"));
2018
2019 /*
2020 ilUtil::sendFailure($this->lng->txt("permission_denied"), true);
2021 ilUtil::redirect("goto.php?target=".$type."_".$a_ref_id);
2022 */
2023 }
2024 // we should never be here
2025 else
2026 {
2027 die("Permission Denied.");
2028 }
2029 }
2030 }
Base exception class for object service.
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
static _lookupType($a_id, $a_reference=false)
lookup object type
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
$a_type
Definition: workflow.php:93

References $_GET, $_SERVER, $a_type, ilObject\_lookupType(), checkPermissionBool(), and ilSession\clear().

Referenced by ilObjCategoryGUI\__checkGlobalRoles(), ilObjBibliographicAdminGUI\__construct(), ilObjStudyProgrammeAdminGUI\__construct(), ilObjMediaCastGUI\addCastItemObject(), ilObjBadgeAdministrationGUI\addImageTemplate(), ilObjWikiGUI\addImportantPageObject(), ilObjWikiGUI\allPagesObject(), ilObjSessionGUI\assignFromWaitingListObject(), ilObjCategoryGUI\assignRolesObject(), ilObjCategoryGUI\assignSaveObject(), ilObjSessionGUI\assignSubscribersObject(), ilObjSessionGUI\attendanceListObject(), ilObjCourseGUI\autoFillObject(), ilObjSessionGUI\confirmAssignFromWaitingListObject(), ilObjSessionGUI\confirmAssignSubscribersObject(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjSessionGUI\confirmRefuseFromListObject(), ilObjSessionGUI\confirmRefuseSubscribersObject(), ilObjMediaCastGUI\convertFileObject(), ilObjSurveyQuestionPoolGUI\createExportFileObject(), ilObjBadgeAdministrationGUI\deleteImageTemplates(), ilObjMediaCastGUI\deleteItemsObject(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjCategoryGUI\deleteUsersObject(), ilObjMediaCastGUI\downloadItemObject(), ilObjWikiGUI\downloadUserHTMLExportObject(), ilObjMediaCastGUI\editCastItemObject(), ilObjCourseGUI\editCourseIconsObject(), ilObjGroupGUI\editGroupIconsObject(), ilObjCategoryGUI\editIconsObject(), ilObjFolderGUI\editIconsObject(), ilObjBadgeAdministrationGUI\editImageTemplate(), ilObjWikiGUI\editImportantPagesObject(), ilObjCategoryGUI\editInfoObject(), ilObjGroupGUI\editInfoObject(), ilObjCourseGUI\editInfoObject(), ilObjUserTrackingGUI\editLPDefaultsObject(), ilObjGroupGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilObjMediaCastGUI\editSettingsObject(), ilObjWikiGUI\editSettingsObject(), ilObjGlossaryGUI\editStyleProperties(), ilObjWikiGUI\editStylePropertiesObject(), ilContainerGUI\editStylePropertiesObject(), ilObjBookingPoolGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjGlossaryGUI\export(), ilObjMediaCastGUI\extractPreviewImageObject(), ilContainerGUI\forwardToPageObject(), ilObjWikiGUI\getUserHTMLExportProgressObject(), ilObjSurveyGUI\importSurveyObject(), ilObjBookingPoolGUI\infoScreen(), ilObjCourseGUI\infoScreen(), ilObjExerciseGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilObjSurveyGUI\infoScreen(), ilObjSurveyQuestionPoolGUI\infoScreenForward(), ilObjMediaCastGUI\infoScreenObject(), ilObjWikiGUI\infoScreenObject(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjWikiGUI\initUserHTMLExportObject(), ilObjSessionGUI\joinObject(), ilObjCourseGUI\leaveObject(), ilObjGroupGUI\leaveObject(), ilObjWikiGUI\listContributorsObject(), ilObjMediaCastGUI\listItemsObject(), ilObjSessionGUI\membersObject(), ilObjWikiGUI\newPagesObject(), ilObjWikiGUI\orphanedPagesObject(), ilObjCategoryGUI\performDeleteUsersObject(), ilObjWikiGUI\performSearchObject(), ilObjCourseGUI\performUnsubscribeObject(), ilObjWikiGUI\popularPagesObject(), ilObjSessionGUI\printAttendanceListObject(), ilObjBookingPoolGUI\processBooking(), ilObjGlossaryGUI\properties(), ilObjSurveyGUI\propertiesObject(), ilObjWikiGUI\randomPageObject(), ilObjWikiGUI\recentChangesObject(), ilObjSessionGUI\refuseFromListObject(), ilObjSessionGUI\refuseSubscribersObject(), ilObjSessionGUI\registerObject(), ilObjWikiGUI\removeImportantPagesObject(), ilObjFolderGUI\renderObject(), ilObjBookingPoolGUI\rsvInUseObject(), ilObjBookingPoolGUI\rsvNotInUseObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjWikiGUI\saveGradingObject(), ilObjBadgeAdministrationGUI\saveImageTemplate(), ilObjUserTrackingGUI\saveLPDefaultsObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjBlogAdministrationGUI\saveSettings(), ilObjExerciseAdministrationGUI\saveSettings(), ilObjPortfolioAdministrationGUI\saveSettings(), ilObjStudyProgrammeAdminGUI\saveSettings(), ilObjWebResourceAdministrationGUI\saveSettings(), ilObjAwarenessAdministrationGUI\saveSettings(), ilObjBadgeAdministrationGUI\saveSettings(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilMembershipAdministrationGUI\saveSettings(), ilObjTaggingSettingsGUI\saveSettings(), ilObjMediaCastGUI\saveSettingsObject(), ilObjWikiGUI\saveSettingsObject(), ilObjUserTrackingGUI\saveSettingsObject(), ilObjWikiGUI\setAsStartPageObject(), ilObjUserTrackingGUI\settingsObject(), ilObjExerciseGUI\showOverviewObject(), ilObjTaggingSettingsGUI\showUsers(), ilObjWikiGUI\startUserHTMLExportObject(), ilObjGroupGUI\unsubscribeObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjCourseGUI\updateCourseIconsObject(), ilObjGroupGUI\updateGroupIconsObject(), ilObjCategoryGUI\updateIconsObject(), ilObjFolderGUI\updateIconsObject(), ilObjBadgeAdministrationGUI\updateImageTemplate(), ilObjCategoryGUI\updateInfoObject(), ilObjCourseGUI\updateInfoObject(), ilObjGroupGUI\updateInfoObject(), ilObjSessionGUI\updateMembersObject(), ilObjGroupGUI\updateObject(), ilContainerReferenceGUI\updateObject(), ilObjCourseGUI\viewObject(), ilObjFolderGUI\viewObject(), ilObjRootFolderGUI\viewObject(), ilObjWikiGUI\viewObject(), and ilObjWikiGUI\viewPageObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkPermissionBool()

ilObjectGUI::checkPermissionBool (   $a_perm,
  $a_cmd = "",
  $a_type = "",
  $a_ref_id = null 
)
protected

Check permission.

Parameters
string$a_perm
string$a_cmd
string$a_type
int$a_ref_id
Returns
bool

Reimplemented in ilObjPortfolioGUI, ilObject2GUI, ilObjTaxonomyGUI, and ilObjWikiGUI.

Definition at line 2041 of file class.ilObjectGUI.php.

2042 {
2043 global $ilAccess;
2044
2045 if($a_perm == "create")
2046 {
2047 if(!$a_ref_id)
2048 {
2049 $a_ref_id = $_GET["ref_id"];
2050 }
2051 return $ilAccess->checkAccess($a_perm."_".$a_type, $a_cmd, $a_ref_id);
2052 }
2053 else
2054 {
2055 // does this make sense?
2056 if (!is_object($this->object))
2057 {
2058 return false;
2059 }
2060 if (!$a_ref_id)
2061 {
2062 $a_ref_id = $this->object->getRefId();
2063 }
2064 return $ilAccess->checkAccess($a_perm, $a_cmd, $a_ref_id);
2065 }
2066 }

References $_GET, and $a_type.

Referenced by ilObjBadgeAdministrationGUI\activateTypes(), ilObjExerciseGUI\addContentSubTabs(), ilObjBookingPoolGUI\applyLogFilterObject(), ilObjBookingPoolGUI\changeStatusObject(), checkPermission(), cloneAllObject(), ilObjFileBasedLMGUI\createFromDirectory(), createObject(), ilObjBadgeAdministrationGUI\deactivateTypes(), ilObjFolderGUI\editObject(), editObject(), ilObjSkillManagementGUI\editSettings(), ilObjBookingPoolGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjBlogAdministrationGUI\getAdminTabs(), ilObjExerciseAdministrationGUI\getAdminTabs(), ilObjPortfolioAdministrationGUI\getAdminTabs(), ilObjRoleFolderGUI\getAdminTabs(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), getAdminTabs(), ilObjExerciseGUI\getTabs(), ilObjSurveyAdministrationGUI\getTabs(), ilObjSurveyGUI\getTabs(), ilObjSurveyQuestionPoolGUI\getTabs(), ilObjUserTrackingGUI\getTabs(), ilObjCourseGUI\hasAdminPermission(), ilObjSurveyQuestionPoolGUI\importFileObject(), importFileObject(), ilObjBookingPoolGUI\infoScreen(), ilObjExerciseGUI\infoScreen(), ilObjSurveyGUI\infoScreen(), ilObjSurveyQuestionPoolGUI\infoScreenForward(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjExerciseAdministrationGUI\initFormSettings(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilObjUserTrackingGUI\initSettingsForm(), isVisible(), ilObjExerciseGUI\listAssignmentsObject(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjBookingPoolGUI\logDetailsObject(), ilObjBookingPoolGUI\logObject(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjBookingPoolGUI\resetLogFilterObject(), ilObjBookingPoolGUI\rsvCancelObject(), ilObjBookingPoolGUI\rsvConfirmCancelObject(), ilObjGlossaryGUI\saveObject(), saveObject(), ilObjSkillManagementGUI\saveSettings(), ilObjRoleFolderGUI\saveSettingsObject(), ilObjCategoryGUI\saveTranslationsObject(), ilObjRootFolderGUI\saveTranslationsObject(), setColumnSettings(), ilObjBookingPoolGUI\setTabs(), ilObjCategoryGUI\updateObject(), ilObjRootFolderGUI\updateObject(), updateObject(), and viewObject().

+ Here is the caller graph for this function:

◆ cloneAllObject()

ilObjectGUI::cloneAllObject ( )

Clone single (not container object) Method is overwritten in ilContainerGUI.

@access public

Reimplemented in ilContainerGUI.

Definition at line 1830 of file class.ilObjectGUI.php.

1831 {
1832 include_once('./Services/Link/classes/class.ilLink.php');
1833 include_once('Services/CopyWizard/classes/class.ilCopyWizardOptions.php');
1834
1835 global $ilErr,$ilUser;
1836
1837 $new_type = $_REQUEST['new_type'];
1838 if(!$this->checkPermissionBool("create", "", $new_type))
1839 {
1840 $ilErr->raiseError($this->lng->txt('permission_denied'));
1841 }
1842 if(!(int) $_REQUEST['clone_source'])
1843 {
1844 ilUtil::sendFailure($this->lng->txt('select_one'));
1845 $this->createObject();
1846 return false;
1847 }
1848 if(!$this->checkPermissionBool("write", "", $new_type, (int)$_REQUEST['clone_source']))
1849 {
1850 $ilErr->raiseError($this->lng->txt('permission_denied'));
1851 }
1852
1853 // Save wizard options
1855 $wizard_options = ilCopyWizardOptions::_getInstance($copy_id);
1856 $wizard_options->saveOwner($ilUser->getId());
1857 $wizard_options->saveRoot((int) $_REQUEST['clone_source']);
1858
1859 $options = $_POST['cp_options'] ? $_POST['cp_options'] : array();
1860 foreach($options as $source_id => $option)
1861 {
1862 $wizard_options->addEntry($source_id,$option);
1863 }
1864 $wizard_options->read();
1865
1866 $orig = ilObjectFactory::getInstanceByRefId((int) $_REQUEST['clone_source']);
1867 $new_obj = $orig->cloneObject((int) $_GET['ref_id'],$copy_id);
1868
1869 // Delete wizard options
1870 $wizard_options->deleteAll();
1871
1872 ilUtil::sendSuccess($this->lng->txt("object_duplicated"),true);
1873 ilUtil::redirect(ilLink::_getLink($new_obj->getRefId()));
1874 }
$_POST["username"]
static _allocateCopyId()
Allocate a copy for further entries.
static _getInstance($a_copy_id)
Get instance of copy wizard options.
createObject()
create new object form
static redirect($a_script)
http redirect to other script
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
if(!is_array($argv)) $options
$ilUser
Definition: imgupload.php:18

References $_GET, $_POST, $ilErr, $ilUser, $options, $orig, ilCopyWizardOptions\_allocateCopyId(), ilCopyWizardOptions\_getInstance(), ilLink\_getLink(), checkPermissionBool(), createObject(), ilObjectFactory\getInstanceByRefId(), ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

◆ confirmedDeleteObject()

ilObjectGUI::confirmedDeleteObject ( )

confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled

Reimplemented in ilObjStyleSheetGUI.

Definition at line 684 of file class.ilObjectGUI.php.

685 {
686 global $ilSetting, $lng;
687
688 if(isset($_POST["mref_id"]))
689 {
690 $_SESSION["saved_post"] = array_unique(array_merge($_SESSION["saved_post"], $_POST["mref_id"]));
691 }
692
693 include_once("./Services/Repository/classes/class.ilRepUtilGUI.php");
694 $ru = new ilRepUtilGUI($this);
695 $ru->deleteObjects($_GET["ref_id"], ilSession::get("saved_post"));
696 ilSession::clear("saved_post");
697 $this->ctrl->returnToParent($this);
698 }
$_SESSION["AccountId"]
Repository GUI Utilities.
static get($a_var)
Get a value.
global $ilSetting
Definition: privfeed.php:17

References $_GET, $_POST, $_SESSION, $ilSetting, $lng, ilSession\clear(), and ilSession\get().

+ Here is the call graph for this function:

◆ createObject()

ilObjectGUI::createObject ( )

create new object form

@access public

Reimplemented in ilObjExternalFeedGUI, ilObjRoleFolderGUI, ilObjRoleGUI, ilContainerReferenceGUI, ilObjMediaObjectGUI, ilObjStyleSheetGUI, and ilObjUserGUI.

Definition at line 728 of file class.ilObjectGUI.php.

729 {
730 global $tpl, $ilErr;
731
732 $new_type = $_REQUEST["new_type"];
733
734
735 // add new object to custom parent container
736 $this->ctrl->saveParameter($this, "crtptrefid");
737 // use forced callback after object creation
738 $this->ctrl->saveParameter($this, "crtcb");
739
740 if (!$this->checkPermissionBool("create", "", $new_type))
741 {
742 $ilErr->raiseError($this->lng->txt("permission_denied"),$ilErr->MESSAGE);
743 }
744 else
745 {
746 $this->lng->loadLanguageModule($new_type);
747 $this->ctrl->setParameter($this, "new_type", $new_type);
748
749 $forms = $this->initCreationForms($new_type);
750
751 // copy form validation error: do not show other creation forms
752 if($_GET["cpfl"] && isset($forms[self::CFORM_CLONE]))
753 {
754 $forms = array(self::CFORM_CLONE => $forms[self::CFORM_CLONE]);
755 }
756 $tpl->setContent($this->getCreationFormsHTML($forms));
757 }
758 }
getCreationFormsHTML(array $a_forms)
Get HTML for creation forms (accordion)
initCreationForms($a_new_type)
Init creation froms.

References $_GET, $ilErr, $tpl, checkPermissionBool(), getCreationFormsHTML(), and initCreationForms().

Referenced by ilContainerGUI\cloneAllObject(), cloneAllObject(), ilContainerGUI\cloneWizardPageObject(), ilObjForumGUI\cloneWizardPageObject(), ilObjGlossaryGUI\importObject(), ilObjContentObjectGUI\importObject(), ilObjSessionGUI\saveObject(), ilObjRoleTemplateGUI\saveObject(), and ilObjTestGUI\uploadTstObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteObject()

ilObjectGUI::deleteObject (   $a_error = false)

Display deletion confirmation screen.

Only for referenced objects. For user,role & rolt overwrite this function in the appropriate Object folders classes (ilObjUserFolderGUI,ilObjRoleFolderGUI)

@access public

Reimplemented in ilObjRoleFolderGUI, and ilObjStyleSheetGUI.

Definition at line 1617 of file class.ilObjectGUI.php.

1618 {
1619 global $ilCtrl;
1620
1621 if ($_GET["item_ref_id"] != "")
1622 {
1623 $_POST["id"] = array($_GET["item_ref_id"]);
1624 }
1625
1626 if(is_array($_POST["id"]))
1627 {
1628 foreach($_POST["id"] as $idx => $id)
1629 {
1630 $_POST["id"][$idx] = (int)$id;
1631 }
1632 }
1633
1634 // SAVE POST VALUES (get rid of this
1635 ilSession::set("saved_post", $_POST["id"]);
1636
1637 include_once("./Services/Repository/classes/class.ilRepUtilGUI.php");
1638 $ru = new ilRepUtilGUI($this);
1639 if (!$ru->showDeleteConfirmation($_POST["id"], $a_error))
1640 {
1641 $ilCtrl->returnToParent($this);
1642 }
1643 }
static set($a_var, $a_val)
Set a value.

References $_GET, $_POST, $ilCtrl, and ilSession\set().

+ Here is the call graph for this function:

◆ editObject()

ilObjectGUI::editObject ( )

edit object

@access public

Reimplemented in ilObjBookingPoolGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjFileBasedLMGUI, ilObjSessionGUI, ilObjRoleGUI, ilObjMediaObjectGUI, ilObjTypeDefinitionGUI, ilObjStyleSheetGUI, and ilObjUserGUI.

Definition at line 1158 of file class.ilObjectGUI.php.

1159 {
1160 global $tpl, $ilTabs;
1161
1162 if (!$this->checkPermissionBool("write"))
1163 {
1164 $this->ilias->raiseError($this->lng->txt("msg_no_perm_write"),$this->ilias->error_obj->MESSAGE);
1165 }
1166
1167 $ilTabs->activateTab("settings");
1168
1169 $form = $this->initEditForm();
1170 $values = $this->getEditFormValues();
1171 if($values)
1172 {
1173 $form->setValuesByArray($values);
1174 }
1175
1176 $this->addExternalEditFormCustom($form);
1177
1178 $tpl->setContent($form->getHTML());
1179 }
getEditFormValues()
Get values for edit form.
initEditForm()
Init object edit form.
addExternalEditFormCustom(ilPropertyFormGUI $a_form)
redirection script todo: (a better solution should control the processing via a xml file)

References $tpl, addExternalEditFormCustom(), checkPermissionBool(), getEditFormValues(), and initEditForm().

Referenced by ilContainerReferenceGUI\editReferenceObject(), ilContainerReferenceGUI\firstEditObject(), ilObjCourseGUI\updateObject(), ilObjGroupGUI\updateObject(), ilObjRoleTemplateGUI\updateObject(), ilContainerReferenceGUI\updateObject(), and ilRemoteObjectBaseGUI\updateObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enableDragDropFileUpload()

ilObjectGUI::enableDragDropFileUpload ( )
protected

Enables the file upload into this object by dropping files.

Definition at line 2115 of file class.ilObjectGUI.php.

2116 {
2117 include_once("./Services/FileUpload/classes/class.ilFileUploadGUI.php");
2119
2120 $this->tpl->enableDragDropFileUpload($this->ref_id);
2121 }
static initFileUpload()
Initializes the file upload and loads the needed javascripts and styles.

References ilFileUploadGUI\initFileUpload().

Referenced by prepareOutput().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjectGUI::executeCommand ( )

execute command

Reimplemented in ilObjBibliographicAdminGUI, ilObjBibliographicGUI, ilObjBlogAdministrationGUI, ilObjBlogGUI, ilObjBookingPoolGUI, ilObjCategoryGUI, ilObjCategoryReferenceGUI, ilObjCloudGUI, ilCourseArchivesGUI, ilCourseContentGUI, ilObjCourseGUI, ilObjCourseReferenceGUI, ilObjExerciseAdministrationGUI, ilObjExerciseGUI, ilObjExternalFeedGUI, ilObjFileGUI, ilObjFolderGUI, ilObjForumAdministrationGUI, ilObjGlossaryGUI, ilObjGroupGUI, ilObjGroupReferenceGUI, ilObjFileBasedLMGUI, ilObjIndividualAssessmentGUI, ilObjItemGroupGUI, ilObjContentObjectGUI, ilObjLearningResourcesSettingsGUI, ilObjMediaCastGUI, ilObjMediaCastSettingsGUI, ilObjMediaPoolGUI, ilObjOrgUnitGUI, ilObjPollGUI, ilObjPortfolioAdministrationGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjRootFolderGUI, ilObjSCORM2004LearningModuleGUI, ilObjSAHSLearningModuleGUI, ilObjSessionGUI, ilObjStudyProgrammeAdminGUI, ilObjStudyProgrammeGUI, ilObjSurveyAdministrationGUI, ilObjSurveyGUI, ilObjSurveyQuestionPoolGUI, ilObjSystemFolderGUI, ilObjTestGUI, ilObjQuestionPoolGUI, ilObjLinkResourceGUI, ilObjWebResourceAdministrationGUI, ilObjWikiGUI, ilObjWikiSettingsGUI, ilObjWorkspaceFolderGUI, ilObjRoleFolderGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilObjAccessibilitySettingsGUI, ilObjExternalToolsSettingsGUI, ilObjRecoveryFolderGUI, ilObjAdvancedEditingGUI, ilObjAuthSettingsGUI, ilObjAwarenessAdministrationGUI, ilObjBadgeAdministrationGUI, ilObjCalendarSettingsGUI, ilObjCertificateSettingsGUI, ilObjComponentSettingsGUI, ilObjContactAdministrationGUI, ilContainerGUI, ilContainerReferenceGUI, ilObjObjectTemplateAdministrationGUI, ilObjHelpSettingsGUI, ilObjLanguageExtGUI, ilObjLanguageFolderGUI, ilObjLoggingSettingsGUI, ilObjMediaObjectGUI, ilObjMediaObjectsSettingsGUI, ilMembershipAdministrationGUI, ilObjMDSettingsGUI, ilObjNewsSettingsGUI, ilObjNotificationAdminGUI, ilObject2GUI, ilObjObjectFolderGUI, ilObjTypeDefinitionGUI, ilObjPersonalDesktopSettingsGUI, ilObjPrivacySecurityGUI, ilObjectPluginGUI, ilObjRepositorySettingsGUI, ilObjSearchSettingsGUI, ilObjSkillManagementGUI, ilObjStyleSettingsGUI, ilObjStyleSheetGUI, ilObjSystemCheckGUI, ilObjTaggingSettingsGUI, ilObjTaxonomyAdministrationGUI, ilObjTaxonomyGUI, ilObjTermsOfServiceGUI, ilObjUserTrackingGUI, ilObjUserFolderGUI, ilObjUserGUI, ilObjFileAccessSettingsGUI, ilObjECSSettingsGUI, ilRemoteObjectBaseGUI, and ilObjWorkflowEngineGUI.

Definition at line 184 of file class.ilObjectGUI.php.

185 {
186 $next_class = $this->ctrl->getNextClass($this);
187 $cmd = $this->ctrl->getCmd();
188
189 switch($next_class)
190 {
191 default:
192 $this->prepareOutput();
193 if(!$cmd)
194 {
195 $cmd = "view";
196 }
197 $cmd .= "Object";
198 $this->$cmd();
199
200 break;
201 }
202
203 return true;
204 }
prepareOutput($a_show_subobjects=true)
prepare output
$cmd
Definition: sahs_server.php:35

References $cmd, and prepareOutput().

+ Here is the call graph for this function:

◆ fillCloneTemplate()

ilObjectGUI::fillCloneTemplate (   $a_tpl_varname,
  $a_type 
)
protected

Fill object clone template This method can be called from any object GUI class that wants to offer object cloning.

@access public

Parameters
stringtemplate variable name that will be filled
stringtype of new object

Reimplemented in ilObject2GUI.

Definition at line 1808 of file class.ilObjectGUI.php.

1809 {
1810 include_once './Services/Object/classes/class.ilObjectCopyGUI.php';
1811 $cp = new ilObjectCopyGUI($this);
1812 $cp->setType($a_type);
1813 $cp->setTarget($_GET['ref_id']);
1814 if($a_tpl_varname)
1815 {
1816 $cp->showSourceSearch($a_tpl_varname);
1817 }
1818 else
1819 {
1820 return $cp->showSourceSearch(null);
1821 }
1822 }
GUI class for the workflow of copying objects.

References $_GET, and $a_type.

Referenced by ilObjMediaCastGUI\initCreationForms(), ilObjWikiGUI\initCreationForms(), and initCreationForms().

+ Here is the caller graph for this function:

◆ getAdminTabs()

ilObjectGUI::getAdminTabs ( )

administration tabs show only permissions and trash folder

Reimplemented in ilObjBlogAdministrationGUI, ilObjExerciseAdministrationGUI, ilObjLearningResourcesSettingsGUI, ilObjMediaCastSettingsGUI, ilObjOrgUnitGUI, ilObjPortfolioAdministrationGUI, ilObjSurveyAdministrationGUI, ilObjSystemFolderGUI, ilObjAssessmentFolderGUI, ilObjWebResourceAdministrationGUI, ilObjWikiSettingsGUI, ilObjRoleFolderGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilObjAccessibilitySettingsGUI, ilObjExternalToolsSettingsGUI, ilObjAdvancedEditingGUI, ilObjAuthSettingsGUI, ilObjAwarenessAdministrationGUI, ilObjBadgeAdministrationGUI, ilObjCalendarSettingsGUI, ilObjCertificateSettingsGUI, ilObjComponentSettingsGUI, ilObjContactAdministrationGUI, ilObjObjectTemplateAdministrationGUI, ilObjHelpSettingsGUI, ilObjLanguageExtGUI, ilObjLanguageFolderGUI, ilObjLoggingSettingsGUI, ilObjMailGUI, ilObjMediaObjectsSettingsGUI, ilMembershipAdministrationGUI, ilObjMDSettingsGUI, ilObjNewsSettingsGUI, ilObjPersonalDesktopSettingsGUI, ilObjPrivacySecurityGUI, ilObjRepositorySettingsGUI, ilObjSearchSettingsGUI, ilObjSkillManagementGUI, ilObjStyleSettingsGUI, ilObjStyleSheetGUI, ilObjTaggingSettingsGUI, ilObjTaxonomyAdministrationGUI, ilObjTermsOfServiceGUI, ilObjUserTrackingGUI, ilObjUserFolderGUI, ilObjUserGUI, ilObjFileAccessSettingsGUI, and ilObjECSSettingsGUI.

Definition at line 497 of file class.ilObjectGUI.php.

498 {
499 global $tree;
500
501/* if ($_GET["admin_mode"] == "repository")
502 {
503 $this->ctrl->setParameterByClass("iladministrationgui", "admin_mode", "settings");
504 $this->tabs_gui->setBackTarget($this->lng->txt("administration"),
505 $this->ctrl->getLinkTargetByClass("iladministrationgui", "frameset"),
506 ilFrameTargetInfo::_getFrame("MainContent"));
507 $this->ctrl->setParameterByClass("iladministrationgui", "admin_mode", "repository");
508 }*/
509
510 if ($this->checkPermissionBool("visible,read"))
511 {
512 $this->tabs_gui->addTarget("view",
513 $this->ctrl->getLinkTarget($this, "view"), array("", "view"), get_class($this));
514
515 }
516
517 if ($this->checkPermissionBool("edit_permission"))
518 {
519 $this->tabs_gui->addTarget("perm_settings",
520 $this->ctrl->getLinkTargetByClass(array(get_class($this),'ilpermissiongui'), "perm"), "", "ilpermissiongui");
521 }
522
523 if ($tree->getSavedNodeData($this->object->getRefId()))
524 {
525 $this->tabs_gui->addTarget("trash",
526 $this->ctrl->getLinkTarget($this, "trash"), "trash", get_class($this));
527 }
528 }

References $tree, and checkPermissionBool().

Referenced by setAdminTabs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCenterColumnHTML()

ilObjectGUI::getCenterColumnHTML ( )
protected

Get center column.

Reimplemented in ilObject2GUI.

Definition at line 1880 of file class.ilObjectGUI.php.

1881 {
1882 global $ilCtrl;
1883
1884 include_once("Services/Block/classes/class.ilColumnGUI.php");
1885
1886 $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1887 $obj_type = ilObject::_lookupType($obj_id);
1888
1889 if ($ilCtrl->getNextClass() != "ilcolumngui")
1890 {
1891 // normal command processing
1892 return $this->getContent();
1893 }
1894 else
1895 {
1896 if (!$ilCtrl->isAsynch())
1897 {
1898 //if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
1900 {
1901 // right column wants center
1903 {
1904 $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1905 $this->setColumnSettings($column_gui);
1906 $this->html = $ilCtrl->forwardCommand($column_gui);
1907 }
1908 // left column wants center
1910 {
1911 $column_gui = new ilColumnGUI($obj_type, IL_COL_LEFT);
1912 $this->setColumnSettings($column_gui);
1913 $this->html = $ilCtrl->forwardCommand($column_gui);
1914 }
1915 }
1916 else
1917 {
1918 // normal command processing
1919 return $this->getContent();
1920 }
1921 }
1922 }
1923 }
const IL_SCREEN_SIDE
const IL_COL_RIGHT
const IL_COL_LEFT
Column user interface class.
static getScreenMode()
Get Screen Mode for current command.
static getCmdSide()
Get Column Side of Current Command.
setColumnSettings(ilColumnGUI $column_gui)
May be overwritten in subclasses.
static _lookupObjId($a_id)

References $ilCtrl, $obj_id, ilObject\_lookupObjId(), ilObject\_lookupType(), ilColumnGUI\getCmdSide(), ilColumnGUI\getScreenMode(), IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, and setColumnSettings().

Referenced by ilObjForumGUI\showThreadsObject(), ilObjForumGUI\sortThreadsObject(), and ilCourseContentGUI\view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCreationFormsHTML()

ilObjectGUI::getCreationFormsHTML ( array  $a_forms)
finalprotected

Get HTML for creation forms (accordion)

Parameters
array$a_forms

Definition at line 784 of file class.ilObjectGUI.php.

785 {
786 global $tpl;
787
788 // #13168- sanity check
789 foreach($a_forms as $id => $form)
790 {
791 if(!$form instanceof ilPropertyFormGUI)
792 {
793 unset($a_forms[$id]);
794 }
795 }
796
797 // no accordion if there is just one form
798 if(sizeof($a_forms) == 1)
799 {
800 $form_type = key($a_forms);
801 $a_forms = array_shift($a_forms);
802
803 // see bug #0016217
804 if(method_exists($this, "getCreationFormTitle"))
805 {
806 $form_title = $this->getCreationFormTitle($form_type);
807 if ($form_title != "")
808 {
809 $a_forms->setTitle($form_title);
810 }
811 }
812 return $a_forms->getHTML();
813 }
814 else
815 {
816 include_once("./Services/Accordion/classes/class.ilAccordionGUI.php");
817
818 $acc = new ilAccordionGUI();
819 $acc->setBehaviour(ilAccordionGUI::FIRST_OPEN);
820 $cnt = 1;
821 foreach ($a_forms as $form_type => $cf)
822 {
823 $htpl = new ilTemplate("tpl.creation_acc_head.html", true, true, "Services/Object");
824
825 // using custom form titles (used for repository plugins)
826 $form_title = "";
827 if(method_exists($this, "getCreationFormTitle"))
828 {
829 $form_title = $this->getCreationFormTitle($form_type);
830 }
831 if(!$form_title)
832 {
833 $form_title = $cf->getTitle();
834 }
835
836 // move title from form to accordion
837 $htpl->setVariable("TITLE", $this->lng->txt("option")." ".$cnt.": ".
838 $form_title);
839 $cf->setTitle(null);
840 $cf->setTitleIcon(null);
841 $cf->setTableWidth("100%");
842
843 $acc->addItem($htpl->get(), $cf->getHTML());
844
845 $cnt++;
846 }
847
848 return "<div class='ilCreationFormSection'>".$acc->getHTML()."</div>";
849 }
850 }
Accordion user interface class.
This class represents a property form user interface.
special template class to simplify handling of ITX/PEAR

References $tpl, and ilAccordionGUI\FIRST_OPEN.

Referenced by createObject(), and ilObjStyleSheetGUI\createObject().

+ Here is the caller graph for this function:

◆ getCreationMode()

◆ getDidacticTemplateVar()

ilObjectGUI::getDidacticTemplateVar (   $a_type)
protected

Get didactic template setting from creation screen.

Parameters
string$a_type
Returns
string

Definition at line 1073 of file class.ilObjectGUI.php.

1074 {
1075 $tpl = $_POST["didactic_type"];
1076 if($tpl && substr($tpl, 0, strlen($a_type)+1) == $a_type."_")
1077 {
1078 return (int)substr($tpl, strlen($a_type)+1);
1079 }
1080 return 0;
1081 }

References $_POST, $a_type, and $tpl.

Referenced by ilObjSurveyGUI\afterSave(), ilObjTestGUI\afterSave(), ilContainerGUI\afterUpdate(), and saveObject().

+ Here is the caller graph for this function:

◆ getEditFormCustomValues()

ilObjectGUI::getEditFormCustomValues ( array &  $a_values)
protected

Add values to custom edit fields.

Parameters
array$a_values

Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjBookingPoolGUI, ilObjDataCollectionGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjPortfolioGUI, and ilObjPortfolioTemplateGUI.

Definition at line 1251 of file class.ilObjectGUI.php.

1252 {
1253
1254 }

Referenced by getEditFormValues().

+ Here is the caller graph for this function:

◆ getEditFormValues()

ilObjectGUI::getEditFormValues ( )
protected

Get values for edit form.

Returns
array

Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, ilObjRootFolderGUI, and ilContainerGUI.

Definition at line 1238 of file class.ilObjectGUI.php.

1239 {
1240 $values["title"] = $this->object->getTitle();
1241 $values["desc"] = $this->object->getLongDescription();
1242 $this->getEditFormCustomValues($values);
1243 return $values;
1244 }
getEditFormCustomValues(array &$a_values)
Add values to custom edit fields.

References getEditFormCustomValues().

Referenced by editObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getFormAction()

ilObjectGUI::getFormAction (   $a_cmd,
  $a_formaction = "" 
)

get form action for command (command is method name without "Object", e.g.

"perm")

Parameters
string$a_cmdcommand
string$a_formactiondefault formaction (is returned, if no special formaction was set) @access public
Returns
string

Definition at line 1453 of file class.ilObjectGUI.php.

1454 {
1455 if ($this->formaction[$a_cmd] != "")
1456 {
1457 return $this->formaction[$a_cmd];
1458 }
1459 else
1460 {
1461 return $a_formaction;
1462 }
1463 }

Referenced by ilObjCourseGUI\redirectLocToTestConfirmation().

+ Here is the caller graph for this function:

◆ getHTML()

ilObjectGUI::getHTML ( )

Reimplemented in ilObjBlogGUI, ilObjPollGUI, and ilObject2GUI.

Definition at line 531 of file class.ilObjectGUI.php.

532 {
533 return $this->html;
534 }
$html
Definition: example_001.php:87

References $html.

◆ getReturnLocation()

ilObjectGUI::getReturnLocation (   $a_cmd,
  $a_location = "" 
)
protected

get return location for command (command is method name without "Object", e.g.

"perm")

Parameters
string$a_cmdcommand
string$a_locationdefault return location (is returned, if no special return location was set) @access public

Reimplemented in ilObject2GUI.

Definition at line 1485 of file class.ilObjectGUI.php.

1486 {
1487 if ($this->return_location[$a_cmd] != "")
1488 {
1489 return $this->return_location[$a_cmd];
1490 }
1491 else
1492 {
1493 return $a_location;
1494 }
1495 }

Referenced by ilObjCourseGUI\afterSave(), ilObjStudyProgrammeGUI\afterSave(), ilObjTestGUI\backToRepositoryObject(), and ilObjAuthSettingsGUI\setAuthModeObject().

+ Here is the caller graph for this function:

◆ getRightColumnHTML()

ilObjectGUI::getRightColumnHTML ( )
protected

Display right column.

Reimplemented in ilCourseContentGUI, and ilObject2GUI.

Definition at line 1928 of file class.ilObjectGUI.php.

1929 {
1930 global $ilUser, $lng, $ilCtrl;
1931
1932 $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1933 $obj_type = ilObject::_lookupType($obj_id);
1934
1935 include_once("Services/Block/classes/class.ilColumnGUI.php");
1936 $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1937
1938 if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
1939 {
1940 return "";
1941 }
1942
1943 $this->setColumnSettings($column_gui);
1944
1945 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
1946 $column_gui->getCmdSide() == IL_COL_RIGHT &&
1947 $column_gui->getScreenMode() == IL_SCREEN_SIDE)
1948 {
1949 $html = $ilCtrl->forwardCommand($column_gui);
1950 }
1951 else
1952 {
1953 if (!$ilCtrl->isAsynch())
1954 {
1955 $html = $ilCtrl->getHTML($column_gui);
1956 }
1957 }
1958
1959 return $html;
1960 }
const IL_SCREEN_FULL

References $html, $ilCtrl, $ilUser, $lng, $obj_id, ilObject\_lookupObjId(), ilObject\_lookupType(), IL_COL_RIGHT, IL_SCREEN_FULL, IL_SCREEN_SIDE, and setColumnSettings().

Referenced by ilObjForumGUI\setSideBlocks().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTabs()

◆ getTargetFrame()

ilObjectGUI::getTargetFrame (   $a_cmd,
  $a_target_frame = "" 
)
protected

get target frame for command (command is method name without "Object", e.g.

"perm")

Parameters
string$a_cmdcommand
string$a_target_framedefault target frame (is returned, if no special target frame was set) @access public

Reimplemented in ilObject2GUI.

Definition at line 1517 of file class.ilObjectGUI.php.

1518 {
1519 if ($this->target_frame[$a_cmd] != "")
1520 {
1521 return $this->target_frame[$a_cmd];
1522 }
1523 elseif (!empty($a_target_frame))
1524 {
1525 return "target=\"".$a_target_frame."\"";
1526 }
1527 else
1528 {
1529 return;
1530 }
1531 }

◆ getTemplateFile()

ilObjectGUI::getTemplateFile (   $a_cmd,
  $a_type = "" 
)
finalprotected

get a template blockfile format: tpl.

<objtype>_<command>.html

Parameters
stringcommand
stringobject type definition @access public

Definition at line 1709 of file class.ilObjectGUI.php.

1710 {
1711 mk(); die("ilObjectGUI::getTemplateFile() is deprecated.");
1712 }

◆ handleAutoRating()

ilObjectGUI::handleAutoRating ( ilObject  $a_new_obj)
protected

Activate rating automatically if parent container setting.

Parameters
ilObject$a_new_obj

Reimplemented in ilObject2GUI.

Definition at line 2128 of file class.ilObjectGUI.php.

2129 {
2130 if(ilObject::hasAutoRating($a_new_obj->getType(), $a_new_obj->getRefId()) &&
2131 method_exists($a_new_obj, "setRating"))
2132 {
2133 $a_new_obj->setRating(true);
2134 $a_new_obj->update();
2135 }
2136 }
getType()
get object type @access public
static hasAutoRating($a_type, $a_ref_id)
Check if auto rating is active for parent group/course.
update()
update object in db
getRefId()
get reference id @access public

References ilObject\getRefId(), ilObject\getType(), ilObject\hasAutoRating(), and ilObject\update().

Referenced by saveObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hitsperpageObject()

ilObjectGUI::hitsperpageObject ( )
protected

Reimplemented in ilObject2GUI, ilObjUserFolderGUI, and ilObjUserGUI.

Definition at line 1735 of file class.ilObjectGUI.php.

1736 {
1737 ilSession::set("tbl_limit", $_POST["hitsperpage"]);
1738 $_GET["limit"] = $_POST["hitsperpage"];
1739 }

References $_GET, $_POST, and ilSession\set().

+ Here is the call graph for this function:

◆ importFileObject()

ilObjectGUI::importFileObject (   $parent_id = null,
  $a_catch_errors = true 
)
protected

Import.

Reimplemented in ilObjFolderGUI, ilObjFileBasedLMGUI, ilObjContentObjectGUI, ilObjSurveyQuestionPoolGUI, ilObjTestGUI, and ilObjQuestionPoolGUI.

Definition at line 1346 of file class.ilObjectGUI.php.

1347 {
1348 global $objDefinition, $tpl, $ilErr;
1349
1350 if(!$parent_id)
1351 {
1352 $parent_id = $_GET["ref_id"];
1353 }
1354 $new_type = $_REQUEST["new_type"];
1355
1356 // create permission is already checked in createObject. This check here is done to prevent hacking attempts
1357 if (!$this->checkPermissionBool("create", "", $new_type))
1358 {
1359 $ilErr->raiseError($this->lng->txt("no_create_permission"));
1360 }
1361
1362 $this->lng->loadLanguageModule($new_type);
1363 $this->ctrl->setParameter($this, "new_type", $new_type);
1364
1365 $form = $this->initImportForm($new_type);
1366 if ($form->checkInput())
1367 {
1368 // :todo: make some check on manifest file
1369
1370 if($objDefinition->isContainer($new_type))
1371 {
1372 include_once './Services/Export/classes/class.ilImportContainer.php';
1373 $imp = new ilImportContainer((int)$parent_id);
1374 }
1375 else
1376 {
1377 include_once("./Services/Export/classes/class.ilImport.php");
1378 $imp = new ilImport((int)$parent_id);
1379 }
1380
1381 try
1382 {
1383 $new_id = $imp->importObject(null, $_FILES["importfile"]["tmp_name"],
1384 $_FILES["importfile"]["name"], $new_type);
1385 }
1386 catch (ilException $e)
1387 {
1388 $this->tmp_import_dir = $imp->getTemporaryImportDir();
1389 if (!$a_catch_errors)
1390 {
1391 throw $e;
1392 }
1393 // display message and form again
1394 ilUtil::sendFailure($this->lng->txt("obj_import_file_error")." <br />".$e->getMessage());
1395 $form->setValuesByPost();
1396 $tpl->setContent($form->getHtml());
1397 return;
1398 }
1399
1400 if ($new_id > 0)
1401 {
1402 $this->ctrl->setParameter($this, "new_type", "");
1403
1404 $newObj = ilObjectFactory::getInstanceByObjId($new_id);
1405
1406 // put new object id into tree - already done in import for containers
1407 if(!$objDefinition->isContainer($new_type))
1408 {
1409 $this->putObjectInTree($newObj);
1410 }
1411
1412 $this->afterImport($newObj);
1413 }
1414 // import failed
1415 else
1416 {
1417 if($objDefinition->isContainer($new_type))
1418 {
1419 ilUtil::sendFailure($this->lng->txt("container_import_zip_file_invalid"));
1420 }
1421 else
1422 {
1423 // not enough information here...
1424 return;
1425 }
1426 }
1427 }
1428
1429 // display form to correct errors
1430 $form->setValuesByPost();
1431 $tpl->setContent($form->getHtml());
1432 }
Base class for ILIAS Exception handling.
Import class.
initImportForm($a_new_type)
Init object import form.
afterImport(ilObject $a_new_object)
Post (successful) object import hook.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.

References $_GET, $ilErr, $objDefinition, $tpl, afterImport(), checkPermissionBool(), ilObjectFactory\getInstanceByObjId(), initImportForm(), putObjectInTree(), and ilUtil\sendFailure().

Referenced by ilObjOrgUnitGUI\executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initCreateForm()

ilObjectGUI::initCreateForm (   $a_new_type)
protected

Init object creation form.

Parameters
string$a_new_type
Returns
ilPropertyFormGUI

Reimplemented in ilObjCloudGUI, ilObjGlossaryGUI, ilObjItemGroupGUI, ilObjPortfolioGUI, ilObjSessionGUI, ilObjLinkResourceGUI, ilContainerReferenceGUI, and ilObjectPluginGUI.

Definition at line 858 of file class.ilObjectGUI.php.

859 {
860 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
861 $form = new ilPropertyFormGUI();
862 $form->setTarget("_top");
863 $form->setFormAction($this->ctrl->getFormAction($this, "save"));
864 $form->setTitle($this->lng->txt($a_new_type."_new"));
865
866 // title
867 $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
868 $ti->setSize(min(40, ilObject::TITLE_LENGTH));
869 $ti->setMaxLength(ilObject::TITLE_LENGTH);
870 $ti->setRequired(true);
871 $form->addItem($ti);
872
873 // description
874 $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
875 $ta->setCols(40);
876 $ta->setRows(2);
877 $form->addItem($ta);
878
879 $form = $this->initDidacticTemplate($form);
880
881 $form->addCommandButton("save", $this->lng->txt($a_new_type."_add"));
882 $form->addCommandButton("cancel", $this->lng->txt("cancel"));
883
884 return $form;
885 }
initDidacticTemplate(ilPropertyFormGUI $form)
Show didactic template types.
const TITLE_LENGTH
max length of object title
This class represents a text area property in a property form.
This class represents a text property in a property form.

References initDidacticTemplate(), and ilObject\TITLE_LENGTH.

Referenced by ilObjFileBasedLMGUI\initCreationForms(), ilObjMediaCastGUI\initCreationForms(), ilObjMediaPoolGUI\initCreationForms(), ilObjOrgUnitGUI\initCreationForms(), ilObjStudyProgrammeGUI\initCreationForms(), ilObjSurveyQuestionPoolGUI\initCreationForms(), ilObjWorkspaceFolderGUI\initCreationForms(), initCreationForms(), ilObjTaxonomyGUI\initCreationForms(), and saveObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initCreationForms()

ilObjectGUI::initCreationForms (   $a_new_type)
protected

Init creation froms.

this will create the default creation forms: new, import, clone

Parameters
string$a_new_type
Returns
array

Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjBookingPoolGUI, ilObjCategoryGUI, ilObjChatroomGUI, ilObjCloudGUI, ilObjDataCollectionGUI, ilObjFileGUI, ilObjFileBasedLMGUI, ilObjItemGroupGUI, ilObjMediaCastGUI, ilObjMediaPoolGUI, ilObjOrgUnitGUI, ilObjPortfolioGUI, ilObjSAHSLearningModuleGUI, ilObjStudyProgrammeGUI, ilObjSurveyQuestionPoolGUI, ilObjWikiGUI, ilObjWorkspaceFolderGUI, ilObject2GUI, ilObjectPluginGUI, and ilObjTaxonomyGUI.

Definition at line 768 of file class.ilObjectGUI.php.

769 {
770 $forms = array(
771 self::CFORM_NEW => $this->initCreateForm($a_new_type),
772 self::CFORM_IMPORT => $this->initImportForm($a_new_type),
773 self::CFORM_CLONE => $this->fillCloneTemplate(null, $a_new_type)
774 );
775
776 return $forms;
777 }
initCreateForm($a_new_type)
Init object creation form.
fillCloneTemplate($a_tpl_varname, $a_type)
Fill object clone template This method can be called from any object GUI class that wants to offer ob...

References fillCloneTemplate(), initCreateForm(), and initImportForm().

Referenced by createObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initDidacticTemplate()

ilObjectGUI::initDidacticTemplate ( ilPropertyFormGUI  $form)
protected

Show didactic template types.

Parameters
ilPropertyFormGUI$form
Returns
ilPropertyFormGUI $form

Reimplemented in ilObjPortfolioTemplateGUI.

Definition at line 892 of file class.ilObjectGUI.php.

893 {
894 global $lng;
895
896 $lng->loadLanguageModule('didactic');
897 $existing_exclusive = false;
898 $options = array();
899 $options['dtpl_0'] = array($this->lng->txt('didactic_default_type'),
900 sprintf(
901 $this->lng->txt('didactic_default_type_info'),
902 $this->lng->txt('objs_'.$this->type)
903 ));
904
905 include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateSettings.php';
906 $templates = ilDidacticTemplateSettings::getInstanceByObjectType($this->type)->getTemplates();
907 if($templates)
908 {
909 foreach($templates as $template)
910 {
911 if($template->isEffective($_GET["ref_id"]))
912 {
913 $options["dtpl_".$template->getId()] = array(
914 $template->getPresentationTitle(),
915 $template->getPresentationDescription()
916 );
917
918 if($template->isExclusive())
919 {
920 $existing_exclusive = true;
921 }
922 }
923
924 }
925 }
926
928
929 if(sizeof($options) > 1)
930 {
931 $type = new ilRadioGroupInputGUI(
932 $this->lng->txt('type'),
933 'didactic_type'
934 );
935 // workaround for containers in edit mode
936 if(!$this->getCreationMode())
937 {
938 include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
939 $value = 'dtpl_'.ilDidacticTemplateObjSettings::lookupTemplateId($this->object->getRefId());
940
941 $type->setValue($value);
942
943 if(!in_array($value, array_keys($options)) || ($existing_exclusive && $value == "dtpl_0"))
944 {
945 //add or rename actual value to not avaiable
946 $options[$value] = array($this->lng->txt('not_available'));
947 }
948 }
949 else
950 {
951 if($existing_exclusive)
952 {
953 //if an exclusive template exists use the second template as default value
954 $keys = array_keys($options);
955 $type->setValue($keys[1]);
956 }
957 else
958 {
959 $type->setValue('dtpl_0');
960 }
961
962 }
963 $form->addItem($type);
964
965 foreach($options as $id => $data)
966 {
967 $option = new ilRadioOption($data[0], $id, $data[1]);
968
969 if($existing_exclusive && $id == "dtpl_0" && $this->getCreationMode())
970 {
971 //set default disabled if an exclusive template exists but just in creation screen
972 $option->setDisabled(true);
973 }
974
975 $type->addOption($option);
976 }
977 }
978
979 return $form;
980 }
sprintf('%.4f', $callTime)
static getInstanceByObjectType($a_obj_type)
Get instance by obj type.
addDidacticTemplateOptions(array &$a_options)
Add custom templates.
getCreationMode()
get creation mode
addItem($a_item)
Add Item (Property, SectionHeader).
This class represents a property in a property form.
This class represents an option in a radio group.

References $_GET, $data, $lng, $options, addDidacticTemplateOptions(), ilPropertyFormGUI\addItem(), getCreationMode(), ilDidacticTemplateSettings\getInstanceByObjectType(), and sprintf.

Referenced by ilObjCloudGUI\initCreateForm(), initCreateForm(), ilObjFolderGUI\initEditCustomForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), and ilObjGroupGUI\initForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initEditCustomForm()

ilObjectGUI::initEditCustomForm ( ilPropertyFormGUI  $a_form)
protected

Add custom fields to update form.

Parameters
ilPropertyFormGUI$a_form

Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjBookingPoolGUI, ilObjDataCollectionGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, and ilObjPortfolioTemplateGUI.

Definition at line 1228 of file class.ilObjectGUI.php.

1229 {
1230
1231 }

Referenced by initEditForm().

+ Here is the caller graph for this function:

◆ initEditForm()

ilObjectGUI::initEditForm ( )
protected

Init object edit form.

Returns
ilPropertyFormGUI

Reimplemented in ilObjBibliographicGUI, ilObjCategoryGUI, ilObjCourseGUI, ilObjPortfolioGUI, ilObjRootFolderGUI, ilObjSurveyQuestionPoolGUI, ilObjectPluginGUI, and ilRemoteObjectBaseGUI.

Definition at line 1191 of file class.ilObjectGUI.php.

1192 {
1193 global $lng, $ilCtrl;
1194
1195 $lng->loadLanguageModule($this->object->getType());
1196
1197 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
1198 $form = new ilPropertyFormGUI();
1199 $form->setFormAction($this->ctrl->getFormAction($this, "update"));
1200 $form->setTitle($this->lng->txt($this->object->getType()."_edit"));
1201
1202 // title
1203 $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
1204 $ti->setSize(min(40, ilObject::TITLE_LENGTH));
1205 $ti->setMaxLength(ilObject::TITLE_LENGTH);
1206 $ti->setRequired(true);
1207 $form->addItem($ti);
1208
1209 // description
1210 $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
1211 $ta->setCols(40);
1212 $ta->setRows(2);
1213 $form->addItem($ta);
1214
1215 $this->initEditCustomForm($form);
1216
1217 $form->addCommandButton("update", $this->lng->txt("save"));
1218 //$this->form->addCommandButton("cancelUpdate", $lng->txt("cancel"));
1219
1220 return $form;
1221 }
initEditCustomForm(ilPropertyFormGUI $a_form)
Add custom fields to update form.

References $ilCtrl, $lng, initEditCustomForm(), and ilObject\TITLE_LENGTH.

Referenced by ilObjFolderGUI\editObject(), editObject(), ilObjIndividualAssessmentGUI\getBaseEditForm(), and updateObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initHeaderAction()

ilObjectGUI::initHeaderAction (   $a_sub_type = null,
  $a_sub_id = null 
)
protected

Add header action menu.

Parameters
string$a_sub_type
int$a_sub_id
Returns
ilObjectListGUI

Reimplemented in ilObjCourseGUI, ilObjFileGUI, ilObjGroupGUI, ilContainerGUI, and ilObject2GUI.

Definition at line 376 of file class.ilObjectGUI.php.

377 {
378 global $ilAccess;
379
380 if(!$this->creation_mode && $this->object)
381 {
382 include_once "Services/Object/classes/class.ilCommonActionDispatcherGUI.php";
384 $ilAccess, $this->object->getType(), $this->ref_id, $this->object->getId());
385
386 $dispatcher->setSubObject($a_sub_type, $a_sub_id);
387
388 include_once "Services/Object/classes/class.ilObjectListGUI.php";
389 ilObjectListGUI::prepareJSLinks($this->ctrl->getLinkTarget($this, "redrawHeaderAction", "", true),
390 $this->ctrl->getLinkTargetByClass(array("ilcommonactiondispatchergui", "ilnotegui"), "", "", true, false),
391 $this->ctrl->getLinkTargetByClass(array("ilcommonactiondispatchergui", "iltagginggui"), "", "", true, false));
392
393 $lg = $dispatcher->initHeaderAction();
394
395 if (is_object($lg))
396 {
397 // to enable add to desktop / remove from desktop
398 if($this instanceof ilDesktopItemHandling)
399 {
400 $lg->setContainerObject($this);
401 }
402
403 // enable multi download
404 $lg->enableMultiDownload(true);
405
406 // comments settings are always on (for the repository)
407 // should only be shown if active or permission to toggle
408 include_once "Services/Notes/classes/class.ilNote.php";
409 if($ilAccess->checkAccess("write", "", $this->ref_id) ||
410 $ilAccess->checkAccess("edit_permissions", "", $this->ref_id) ||
411 ilNote::commentsActivated($this->object->getId(), 0, $this->object->getType()))
412 {
413 $lg->enableComments(true);
414 }
415
416 $lg->enableNotes(true);
417 $lg->enableTags(true);
418 }
419
420 return $lg;
421 }
422 }
Class ilCommonActionDispatcherGUI.
static commentsActivated($a_rep_obj_id, $a_obj_id, $a_obj_type)
Are comments activated for object?
$lg
Definition: example_018.php:62
Interface for gui classes (e.g ilLuceneSearchGUI) that offer add/remove to/from desktop.

References $lg, ilNote\commentsActivated(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.

Referenced by addHeaderAction(), and redrawHeaderActionObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initImportForm()

ilObjectGUI::initImportForm (   $a_new_type)
protected

Init object import form.

Parameters
stringnew type
Returns
ilPropertyFormGUI

Reimplemented in ilObjContentObjectGUI, ilObjSCORMLearningModuleGUI, ilObjSurveyGUI, ilObjSurveyQuestionPoolGUI, ilObjTestGUI, ilObjQuestionPoolGUI, and ilObjectPluginGUI.

Definition at line 1323 of file class.ilObjectGUI.php.

1324 {
1325 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
1326 $form = new ilPropertyFormGUI();
1327 $form->setTarget("_top");
1328 $form->setFormAction($this->ctrl->getFormAction($this, "importFile"));
1329 $form->setTitle($this->lng->txt($a_new_type."_import"));
1330
1331 include_once("./Services/Form/classes/class.ilFileInputGUI.php");
1332 $fi = new ilFileInputGUI($this->lng->txt("import_file"), "importfile");
1333 $fi->setSuffixes(array("zip"));
1334 $fi->setRequired(true);
1335 $form->addItem($fi);
1336
1337 $form->addCommandButton("importFile", $this->lng->txt("import"));
1338 $form->addCommandButton("cancel", $this->lng->txt("cancel"));
1339
1340 return $form;
1341 }
This class represents a file property in a property form.

Referenced by importFileObject(), ilObjFileGUI\initCreationForms(), ilObjFileBasedLMGUI\initCreationForms(), ilObjMediaCastGUI\initCreationForms(), ilObjMediaPoolGUI\initCreationForms(), ilObjOrgUnitGUI\initCreationForms(), ilObjWikiGUI\initCreationForms(), and initCreationForms().

+ Here is the caller graph for this function:

◆ insertHeaderAction()

ilObjectGUI::insertHeaderAction (   $a_list_gui)
protected

Insert header action into main template.

Parameters
ilObjectListGUI$a_list_gui

Definition at line 429 of file class.ilObjectGUI.php.

430 {
431 if(is_object($a_list_gui))
432 {
433 $this->tpl->setHeaderActionMenu($a_list_gui->getHeaderAction());
434 }
435 }

Referenced by ilObjCloudGUI\addHeaderAction(), addHeaderAction(), and ilObjBlogGUI\addHeaderActionForCommand().

+ Here is the caller graph for this function:

◆ isVisible()

ilObjectGUI::isVisible (   $a_ref_id,
  $a_type 
)

Reimplemented in ilObject2GUI.

Definition at line 1546 of file class.ilObjectGUI.php.

1547 {
1548 global $ilBench;
1549
1550 $ilBench->start("Explorer", "setOutput_isVisible");
1551 $visible = $this->checkPermissionBool("visible,read", "", "", $a_ref_id);
1552
1553 if ($visible && $a_type == 'crs') {
1554 global $tree;
1555 if($crs_id = $tree->checkForParentType($a_ref_id,'crs'))
1556 {
1557 if(!$this->checkPermissionBool("write", "", "", $crs_id))
1558 {
1559 // Show only activated courses
1560 $tmp_obj =& ilObjectFactory::getInstanceByRefId($crs_id,false);
1561
1562 if(!$tmp_obj->isActivated())
1563 {
1564 unset($tmp_obj);
1565 $visible = false;
1566 }
1567 }
1568 }
1569 }
1570
1571 $ilBench->stop("Explorer", "setOutput_isVisible");
1572
1573 return $visible;
1574 }
global $ilBench
Definition: ilias.php:18

References $a_type, $ilBench, $tree, checkPermissionBool(), and ilObjectFactory\getInstanceByRefId().

+ Here is the call graph for this function:

◆ omitLocator()

ilObjectGUI::omitLocator (   $a_omit = true)
protected

Reimplemented in ilObject2GUI.

Definition at line 637 of file class.ilObjectGUI.php.

638 {
639 $this->omit_locator = $a_omit;
640 }

◆ prepareOutput()

ilObjectGUI::prepareOutput (   $a_show_subobjects = true)

prepare output

Reimplemented in ilObjCourseGUI, ilObjGroupGUI, ilObjSessionGUI, ilContainerGUI, and ilObject2GUI.

Definition at line 254 of file class.ilObjectGUI.php.

255 {
256 global $ilLocator, $tpl, $ilUser;
257
258 $this->tpl->getStandardTemplate();
259 // administration prepare output
260 if (strtolower($_GET["baseClass"]) == "iladministrationgui")
261 {
262 $this->addAdminLocatorItems();
263 $tpl->setLocator();
264
265// ilUtil::sendInfo();
267
268 $this->setTitleAndDescription();
269
270 if ($this->getCreationMode() != true)
271 {
272 $this->setAdminTabs();
273 }
274
275 return false;
276 }
277 // set locator
278 $this->setLocator();
279 // catch feedback message
280// ilUtil::sendInfo();
282
283 // in creation mode (parent) object and gui object
284 // do not fit
285 if ($this->getCreationMode() == true)
286 {
287 // repository vs. workspace
288 if($this->call_by_reference)
289 {
290 // get gui class of parent and call their title and description method
291 $obj_type = ilObject::_lookupType($_GET["ref_id"],true);
292 $class_name = $this->objDefinition->getClassName($obj_type);
293 $class = strtolower("ilObj".$class_name."GUI");
294 $class_path = $this->ctrl->lookupClassPath($class);
295 include_once($class_path);
296 $class_name = $this->ctrl->getClassForClasspath($class_path);
297//echo "<br>instantiating parent for title and description";
298 $this->parent_gui_obj = new $class_name("", $_GET["ref_id"], true, false);
299 // the next line prevents the header action menu being shown
300 $this->parent_gui_obj->setCreationMode(true);
301 $this->parent_gui_obj->setTitleAndDescription();
302 }
303 }
304 else
305 {
306 // set title and description and title icon
307 $this->setTitleAndDescription();
308
309 // set tabs
310 $this->setTabs();
311
312 // BEGIN WebDAV: Display Mount Webfolder icon.
313 if ($ilUser->getId() != ANONYMOUS_USER_ID)
314 {
315 require_once ('Services/WebDAV/classes/class.ilDAVActivationChecker.php');
317 {
318 $this->showMountWebfolderIcon();
319 }
320 }
321 // END WebDAV: Display Mount Webfolder icon.
322
323 // fileupload support
324 require_once './Services/FileUpload/classes/class.ilFileUploadUtil.php';
325 if (ilFileUploadUtil::isUploadAllowed($this->ref_id, $this->object->getType()))
326 {
327 $this->enableDragDropFileUpload();
328 }
329 }
330
331 return true;
332 }
static isUploadAllowed($a_ref_id, $a_type="")
Determines whether files can be uploaded to the object with the specified reference id.
enableDragDropFileUpload()
Enables the file upload into this object by dropping files.
setAdminTabs()
set admin tabs @access public
setTabs()
set admin tabs @access public
setLocator()
set Locator
addAdminLocatorItems($a_do_not_add_object=false)
should be overwritten to add object specific items (repository items are preloaded)
setTitleAndDescription()
called by prepare output
static infoPanel($a_keep=true)

References $_GET, $ilUser, $tpl, ilDAVActivationChecker\_isActive(), ilObject\_lookupType(), addAdminLocatorItems(), enableDragDropFileUpload(), getCreationMode(), ilUtil\infoPanel(), ilFileUploadUtil\isUploadAllowed(), setAdminTabs(), setLocator(), setTabs(), setTitleAndDescription(), and showMountWebfolderIcon().

Referenced by ilObjFileBasedLMGUI\edit(), ilObjBibliographicAdminGUI\executeCommand(), ilObjBlogAdministrationGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjExerciseAdministrationGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjExternalFeedGUI\executeCommand(), ilObjForumAdministrationGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjLearningResourcesSettingsGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjMediaCastSettingsGUI\executeCommand(), ilObjPortfolioAdministrationGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjStudyProgrammeAdminGUI\executeCommand(), ilObjSurveyAdministrationGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjWebResourceAdministrationGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjRoleFolderGUI\executeCommand(), ilObjRoleGUI\executeCommand(), ilObjRoleTemplateGUI\executeCommand(), ilObjAccessibilitySettingsGUI\executeCommand(), ilObjExternalToolsSettingsGUI\executeCommand(), ilObjAdvancedEditingGUI\executeCommand(), ilObjAuthSettingsGUI\executeCommand(), ilObjAwarenessAdministrationGUI\executeCommand(), ilObjBadgeAdministrationGUI\executeCommand(), ilObjCalendarSettingsGUI\executeCommand(), ilObjCertificateSettingsGUI\executeCommand(), ilObjComponentSettingsGUI\executeCommand(), ilContainerReferenceGUI\executeCommand(), ilObjObjectTemplateAdministrationGUI\executeCommand(), ilObjLanguageFolderGUI\executeCommand(), ilObjLoggingSettingsGUI\executeCommand(), ilObjMediaObjectsSettingsGUI\executeCommand(), ilMembershipAdministrationGUI\executeCommand(), ilObjMDSettingsGUI\executeCommand(), ilObjNewsSettingsGUI\executeCommand(), ilObjNotificationAdminGUI\executeCommand(), executeCommand(), ilObjObjectFolderGUI\executeCommand(), ilObjPersonalDesktopSettingsGUI\executeCommand(), ilObjPrivacySecurityGUI\executeCommand(), ilObjRepositorySettingsGUI\executeCommand(), ilObjSearchSettingsGUI\executeCommand(), ilObjSkillManagementGUI\executeCommand(), ilObjStyleSettingsGUI\executeCommand(), ilObjStyleSheetGUI\executeCommand(), ilObjSystemCheckGUI\executeCommand(), ilObjTaggingSettingsGUI\executeCommand(), ilObjTaxonomyAdministrationGUI\executeCommand(), ilObjUserTrackingGUI\executeCommand(), ilObjUserFolderGUI\executeCommand(), ilObjUserGUI\executeCommand(), ilObjFileAccessSettingsGUI\executeCommand(), ilObjECSSettingsGUI\executeCommand(), ilObjTestGUI\forwardToEvalObjectiveOrientedGUI(), ilObjTestGUI\forwardToEvaluationGUI(), ilChatroomObjectGUI\switchToVisibleMode(), ilObjContentObjectGUI\view(), and ilObjLearningModuleGUI\view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ putObjectInTree()

ilObjectGUI::putObjectInTree ( ilObject  $a_obj,
  $a_parent_node_id = null 
)
protected

Add object to tree at given position.

Parameters
ilObject$a_obj
int$a_parent_node_id

Reimplemented in ilObject2GUI.

Definition at line 1089 of file class.ilObjectGUI.php.

1090 {
1091 global $rbacreview, $ilUser, $objDefinition;
1092
1093 if(!$a_parent_node_id)
1094 {
1095 $a_parent_node_id = $_GET["ref_id"];
1096 }
1097
1098 // add new object to custom parent container
1099 if((int)$_REQUEST["crtptrefid"])
1100 {
1101 $a_parent_node_id = (int)$_REQUEST["crtptrefid"];
1102 }
1103
1104 $a_obj->createReference();
1105 $a_obj->putInTree($a_parent_node_id);
1106 $a_obj->setPermissions($a_parent_node_id);
1107
1108 $this->obj_id = $a_obj->getId();
1109 $this->ref_id = $a_obj->getRefId();
1110
1111 // BEGIN ChangeEvent: Record save object.
1112 require_once('Services/Tracking/classes/class.ilChangeEvent.php');
1113 ilChangeEvent::_recordWriteEvent($this->obj_id, $ilUser->getId(), 'create');
1114 // END ChangeEvent: Record save object.
1115
1116 // rbac log
1117 include_once "Services/AccessControl/classes/class.ilRbacLog.php";
1118 $rbac_log_roles = $rbacreview->getParentRoleIds($this->ref_id, false);
1119 $rbac_log = ilRbacLog::gatherFaPa($this->ref_id, array_keys($rbac_log_roles), true);
1120 ilRbacLog::add(ilRbacLog::CREATE_OBJECT, $this->ref_id, $rbac_log);
1121
1122 // use forced callback after object creation
1123 if($_REQUEST["crtcb"])
1124 {
1125 $callback_type = ilObject::_lookupType((int)$_REQUEST["crtcb"], true);
1126 $class_name = "ilObj".$objDefinition->getClassName($callback_type)."GUI";
1127 $location = $objDefinition->getLocation($callback_type);
1128 include_once($location."/class.".$class_name.".php");
1129 if (in_array(strtolower($class_name), array("ilobjitemgroupgui")))
1130 {
1131 $callback_obj = new $class_name((int)$_REQUEST["crtcb"]);
1132 }
1133 else
1134 {
1135 // #10368
1136 $callback_obj = new $class_name(null, (int)$_REQUEST["crtcb"], true, false);
1137 }
1138 $callback_obj->afterSaveCallback($a_obj);
1139 }
1140 }
$location
Definition: buildRTE.php:44
static _recordWriteEvent($obj_id, $usr_id, $action, $parent_obj_id=null)
Records a write event.
createReference()
creates reference for object
setPermissions($a_parent_ref)
set permissions of object
getId()
get object id @access public
putInTree($a_parent_ref)
maybe this method should be in tree object!?
static add($a_action, $a_ref_id, array $a_diff, $a_source_ref_id=false)
static gatherFaPa($a_ref_id, array $a_role_ids, $a_add_action=false)
const CREATE_OBJECT

References $_GET, $ilUser, $location, $objDefinition, ilObject\_lookupType(), ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), ilRbacLog\CREATE_OBJECT, ilObject\createReference(), ilRbacLog\gatherFaPa(), ilObject\getId(), ilObject\getRefId(), ilObject\putInTree(), and ilObject\setPermissions().

Referenced by ilObjFileBasedLMGUI\createFromDirectory(), ilObjSurveyQuestionPoolGUI\importFileObject(), importFileObject(), ilObjSurveyGUI\importSurveyObject(), ilObjGlossaryGUI\saveObject(), and saveObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ redirectToRefId()

ilObjectGUI::redirectToRefId (   $a_ref_id,
  $a_cmd = "" 
)
protected

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

Parameters
int$a_ref_idreference id

Reimplemented in ilObjOrgUnitGUI, and ilObject2GUI.

Definition at line 1789 of file class.ilObjectGUI.php.

1790 {
1791 $obj_type = ilObject::_lookupType($a_ref_id,true);
1792 $class_name = $this->objDefinition->getClassName($obj_type);
1793 $class = strtolower("ilObj".$class_name."GUI");
1794 $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $a_ref_id);
1795 $this->ctrl->redirectByClass(array("ilrepositorygui", $class), $a_cmd);
1796 }

References ilObject\_lookupType().

Referenced by ilObjCategoryGUI\afterSave(), ilObjFolderGUI\afterSave(), ilObjCloudGUI\afterServiceAuth(), ilObjExternalFeedGUI\afterUpdate(), ilObjExternalFeedGUI\cancelUpdate(), ilObjCloudGUI\executeCommand(), and ilObjCloudGUI\serviceAuth().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ redrawHeaderActionObject()

ilObjectGUI::redrawHeaderActionObject ( )
protected

Ajax call: redraw action header only.

Definition at line 448 of file class.ilObjectGUI.php.

449 {
450 global $tpl;
451
452 $lg = $this->initHeaderAction();
453 echo $lg->getHeaderAction();
454
455 // we need to add onload code manually (rating, comments, etc.)
456 echo $tpl->getOnLoadCodeForAsynch();
457
458 exit;
459 }

References $lg, $tpl, exit, and initHeaderAction().

+ Here is the call graph for this function:

◆ saveObject()

ilObjectGUI::saveObject ( )

save object

@access public

Reimplemented in ilObjGlossaryGUI, ilObjSAHSLearningModuleGUI, ilObjAssessmentFolderGUI, ilObjWikiGUI, ilObjRoleFolderGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilObjRecoveryFolderGUI, ilObjAdvancedEditingGUI, ilContainerReferenceGUI, ilObjLanguageExtGUI, ilObjMailGUI, ilObjMediaObjectGUI, ilObjTypeDefinitionGUI, ilObjStyleSheetGUI, and ilObjUserGUI.

Definition at line 1007 of file class.ilObjectGUI.php.

1008 {
1009 global $objDefinition, $tpl;
1010
1011 $new_type = $_REQUEST["new_type"];
1012
1013 // create permission is already checked in createObject. This check here is done to prevent hacking attempts
1014 if (!$this->checkPermissionBool("create", "", $new_type))
1015 {
1016 $this->ilias->raiseError($this->lng->txt("no_create_permission"), $this->ilias->error_obj->MESSAGE);
1017 }
1018
1019 $this->lng->loadLanguageModule($new_type);
1020 $this->ctrl->setParameter($this, "new_type", $new_type);
1021
1022 $form = $this->initCreateForm($new_type);
1023 if ($form->checkInput())
1024 {
1025 $this->ctrl->setParameter($this, "new_type", "");
1026
1027 // create instance
1028 $class_name = "ilObj".$objDefinition->getClassName($new_type);
1029 $location = $objDefinition->getLocation($new_type);
1030 include_once($location."/class.".$class_name.".php");
1031 $newObj = new $class_name();
1032 $newObj->setType($new_type);
1033 $newObj->setTitle($form->getInput("title"));
1034 $newObj->setDescription($form->getInput("desc"));
1035 $newObj->create();
1036
1037 $this->putObjectInTree($newObj);
1038
1039 // apply didactic template?
1040 $dtpl = $this->getDidacticTemplateVar("dtpl");
1041 if($dtpl)
1042 {
1043 $newObj->applyDidacticTemplate($dtpl);
1044 }
1045
1046 // auto rating
1047 $this->handleAutoRating($newObj);
1048
1049 // additional paramters are added to afterSave()
1050 $args = func_get_args();
1051 if($args)
1052 {
1053 $this->afterSave($newObj, $args);
1054 }
1055 else
1056 {
1057 $this->afterSave($newObj);
1058 }
1059 return;
1060 }
1061
1062 // display only this form to correct input
1063 $form->setValuesByPost();
1064 $tpl->setContent($form->getHtml());
1065 }
getDidacticTemplateVar($a_type)
Get didactic template setting from creation screen.
handleAutoRating(ilObject $a_new_obj)
Activate rating automatically if parent container setting.
afterSave(ilObject $a_new_object)
Post (successful) object creation hook.

References $location, $objDefinition, $tpl, afterSave(), checkPermissionBool(), getDidacticTemplateVar(), handleAutoRating(), initCreateForm(), and putObjectInTree().

Referenced by ilObjSessionGUI\saveAndAssignMaterialsObject().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setActions()

ilObjectGUI::setActions (   $a_actions = "")
finalprivate

set possible actions for objects in list.

if actions are set via this method, the values of objects.xml are ignored.

Parameters
array$a_actionsarray with $command => $lang_var pairs

Definition at line 543 of file class.ilObjectGUI.php.

544 {
545 if (is_array($a_actions))
546 {
547 foreach ($a_actions as $name => $lng)
548 {
549 $this->actions[$name] = array("name" => $name, "lng" => $lng);
550 }
551 }
552 else
553 {
554 $this->actions = "";
555 }
556 }

References $lng.

◆ setAdminTabs()

ilObjectGUI::setAdminTabs ( )
finalprotected

set admin tabs @access public

Definition at line 489 of file class.ilObjectGUI.php.

490 {
491 $this->getAdminTabs();
492 }
getAdminTabs()
administration tabs show only permissions and trash folder

References getAdminTabs().

Referenced by ilObjectPluginGUI\executeCommand(), and prepareOutput().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setColumnSettings()

ilObjectGUI::setColumnSettings ( ilColumnGUI  $column_gui)
protected

May be overwritten in subclasses.

Reimplemented in ilContainerGUI, and ilObject2GUI.

Definition at line 1965 of file class.ilObjectGUI.php.

1966 {
1967 $column_gui->setRepositoryMode(true);
1968 $column_gui->setEnableEdit(false);
1969 if ($this->checkPermissionBool("write"))
1970 {
1971 $column_gui->setEnableEdit(true);
1972 }
1973 }
setRepositoryMode($a_repositorymode)
Set RepositoryMode.
setEnableEdit($a_enableedit)
Set EnableEdit.

References checkPermissionBool(), ilColumnGUI\setEnableEdit(), and ilColumnGUI\setRepositoryMode().

Referenced by getCenterColumnHTML(), and getRightColumnHTML().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCreationMode()

ilObjectGUI::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

Reimplemented in ilObject2GUI.

Definition at line 221 of file class.ilObjectGUI.php.

222 {
223 $this->creation_mode = $a_mode;
224 }

Referenced by ilContainerReferenceGUI\executeCommand(), and ilObjStyleSheetGUI\executeCommand().

+ Here is the caller graph for this function:

◆ setFormAction()

ilObjectGUI::setFormAction (   $a_cmd,
  $a_formaction 
)
protected

set specific form action for command

Parameters
string$a_cmdcommand
string$a_formactiondefault formaction (is returned, if no special formaction was set) @access public

Definition at line 1473 of file class.ilObjectGUI.php.

1474 {
1475 $this->formaction[$a_cmd] = $a_formaction;
1476 }

Referenced by ilObjFileBasedLMGUI\perm(), and ilObjContentObjectGUI\perm().

+ Here is the caller graph for this function:

◆ setLocator()

ilObjectGUI::setLocator ( )
protected

set Locator

Parameters
objecttree object
integerreference id
scriptanmethat is used for linking; @access public

Reimplemented in ilOrgUnitExtensionGUI, and ilObject2GUI.

Definition at line 587 of file class.ilObjectGUI.php.

588 {
589 global $ilLocator, $tpl;
590
591 if ($this->omit_locator)
592 {
593 return;
594 }
595
596 // repository vs. workspace
597 if($this->call_by_reference)
598 {
599 // todo: admin workaround
600 // in the future, objectgui classes should not be called in
601 // admin section anymore (rbac/trash handling in own classes)
602 $ref_id = ($_GET["ref_id"] != "")
603 ? $_GET["ref_id"]
604 : $this->object->getRefId();
605 $ilLocator->addRepositoryItems($ref_id);
606 }
607
608 if(!$this->creation_mode)
609 {
610 $this->addLocatorItems();
611 }
612
613 // not so nice workaround: todo: handle $ilLocator as tabs in ilTemplate
614 if ($_GET["admin_mode"] == "" &&
615 strtolower($this->ctrl->getCmdClass()) == "ilobjrolegui")
616 {
617 $this->ctrl->setParameterByClass("ilobjrolegui",
618 "rolf_ref_id", $_GET["rolf_ref_id"]);
619 $this->ctrl->setParameterByClass("ilobjrolegui",
620 "obj_id", $_GET["obj_id"]);
621 $ilLocator->addItem($this->lng->txt("role"),
622 $this->ctrl->getLinkTargetByClass(array("ilpermissiongui",
623 "ilobjrolegui"), "perm"));
624 }
625
626 $tpl->setLocator();
627 }
addLocatorItems()
should be overwritten to add object specific items (repository items are preloaded)

References $_GET, $ref_id, $tpl, and addLocatorItems().

Referenced by ilObjGlossaryGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), prepareOutput(), ilObjTestGUI\prepareSubGuiOutput(), and ilObjGlossaryGUI\showInfoScreen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setReturnLocation()

ilObjectGUI::setReturnLocation (   $a_cmd,
  $a_location 
)
protected

set specific return location for command

Parameters
string$a_cmdcommand
string$a_locationdefault return location (is returned, if no special return location was set) @access public

Reimplemented in ilObject2GUI.

Definition at line 1504 of file class.ilObjectGUI.php.

1505 {
1506//echo "-".$a_cmd."-".$a_location."-";
1507 $this->return_location[$a_cmd] = $a_location;
1508 }

Referenced by ilObjContentObjectGUI\addRole(), and ilObjContentObjectGUI\permSave().

+ Here is the caller graph for this function:

◆ setSubObjects()

ilObjectGUI::setSubObjects (   $a_sub_objects = "")
finalprivate

set possible subobjects for this object.

if subobjects are set via this method, the values of objects.xml are ignored.

Parameters
array$a_actionsarray with $command => $lang_var pairs

Definition at line 564 of file class.ilObjectGUI.php.

565 {
566 if (is_array($a_sub_objects))
567 {
568 foreach ($a_sub_objects as $name => $options)
569 {
570 $this->sub_objects[$name] = array("name" => $name, "max" => $options["max"]);
571 }
572 }
573 else
574 {
575 $this->sub_objects = "";
576 }
577 }

References $options.

◆ setTabs()

ilObjectGUI::setTabs ( )
protected

set admin tabs @access public

Reimplemented in ilObjBlogGUI, ilObjBookingPoolGUI, ilObjCloudGUI, ilObjDataCollectionGUI, ilObjExternalFeedGUI, ilObjFileGUI, ilObjGlossaryGUI, ilObjFileBasedLMGUI, ilObjItemGroupGUI, ilObjMediaCastGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjSAHSLearningModuleGUI, ilObjLinkResourceGUI, ilObjMediaObjectGUI, ilObjNotificationAdminGUI, ilObject2GUI, ilObjStyleSheetGUI, and ilRemoteObjectBaseGUI.

Definition at line 480 of file class.ilObjectGUI.php.

481 {
482 $this->getTabs();
483 }
getTabs()
get tabs abstract method.

References getTabs().

Referenced by ilObjContentObjectGUI\addMenuEntry(), ilObjContentObjectGUI\chapters(), ilObjContentObjectGUI\delete(), ilObjContentObjectGUI\editGlossaries(), ilObjContentObjectGUI\editMenuEntry(), ilObjContentObjectGUI\editMenuProperties(), ilObjContentObjectGUI\editPublicSection(), ilObjContentObjectGUI\executeCommand(), ilObjContentObjectGUI\fixTreeConfirm(), ilObjContentObjectGUI\history(), ilObjContentObjectGUI\info(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjContentObjectGUI\linkChecker(), ilObjContentObjectGUI\listBlockedUsers(), ilObjContentObjectGUI\listLinks(), ilObjContentObjectGUI\listQuestions(), ilObjContentObjectGUI\owner(), ilObjContentObjectGUI\pages(), ilObjContentObjectGUI\perm(), prepareOutput(), ilObjContentObjectGUI\properties(), ilObjContentObjectGUI\saveProperties(), ilObjContentObjectGUI\showEntrySelector(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjContentObjectGUI\showMaintenance(), and ilObjContentObjectGUI\showTooltipList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setTargetFrame()

ilObjectGUI::setTargetFrame (   $a_cmd,
  $a_target_frame 
)
protected

set specific target frame for command

Parameters
string$a_cmdcommand
string$a_target_framedefault target frame (is returned, if no special target frame was set) @access public

Reimplemented in ilObject2GUI.

Definition at line 1540 of file class.ilObjectGUI.php.

1541 {
1542 $this->target_frame[$a_cmd] = "target=\"".$a_target_frame."\"";
1543 }

◆ setTitleAndDescription()

ilObjectGUI::setTitleAndDescription ( )
protected

called by prepare output

Reimplemented in ilObjOrgUnitGUI, ilObjPortfolioGUI, ilObjRootFolderGUI, ilObjQuestionPoolGUI, ilObjWorkspaceRootFolderGUI, ilContainerGUI, ilObjLanguageExtGUI, ilObject2GUI, ilObjUserGUI, and ilObjFileAccessSettingsGUI.

Definition at line 337 of file class.ilObjectGUI.php.

338 {
339 if (!is_object($this->object))
340 {
341 if ((int) $_REQUEST["crtptrefid"] > 0)
342 {
343 $cr_obj_id = ilObject::_lookupObjId((int) $_REQUEST["crtcb"]);
344 $this->tpl->setTitle(ilObject::_lookupTitle($cr_obj_id));
345 $this->tpl->setTitleIcon(ilObject::_getIcon($cr_obj_id));
346 }
347 return;
348 }
349 $this->tpl->setTitle($this->object->getPresentationTitle());
350 $this->tpl->setDescription($this->object->getLongDescription());
351
352 if (strtolower($_GET["baseClass"]) == "iladministrationgui")
353 {
354 // alt text would be same as heading -> empty alt text
355 $this->tpl->setTitleIcon(ilObject::_getIcon("", "big", $this->object->getType()));
356 }
357 else
358 {
359 $this->tpl->setTitleIcon(ilObject::_getIcon("", "big", $this->object->getType()),
360 $this->lng->txt("obj_" . $this->object->getType()));
361 }
362
363 include_once './Services/Object/classes/class.ilObjectListGUIFactory.php';
364 $lgui = ilObjectListGUIFactory::_getListGUIByType($this->object->getType());
365 $lgui->initItem($this->object->getRefId(), $this->object->getId());
366 $this->tpl->setAlertProperties($lgui->getAlertProperties());
367 }
static _getListGUIByType($a_type, $a_context=ilObjectListGUI::CONTEXT_REPOSITORY)
static _lookupTitle($a_id)
lookup object title
static _getIcon($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.

References $_GET, ilObject\_getIcon(), ilObjectListGUIFactory\_getListGUIByType(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().

Referenced by prepareOutput(), and ilObjTestGUI\prepareSubGuiOutput().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showMountWebfolderIcon()

ilObjectGUI::showMountWebfolderIcon ( )
protected

Definition at line 462 of file class.ilObjectGUI.php.

463 {
464 global $tree, $tpl, $objDefinition;
465
466 if ($this->object->getRefId() == "")
467 {
468 return;
469 }
470
471 $tpl->setMountWebfolderIcon($this->object->getRefId());
472 }

References $objDefinition, $tpl, and $tree.

Referenced by prepareOutput(), and ilObjTestGUI\prepareSubGuiOutput().

+ Here is the caller graph for this function:

◆ showPossibleSubObjects()

ilObjectGUI::showPossibleSubObjects ( )
protected

show possible subobjects (pulldown menu)

@access public

Reimplemented in ilObjCourseGUI, ilObjOrgUnitGUI, ilObjRoleFolderGUI, ilObjRecoveryFolderGUI, ilContainerGUI, ilObject2GUI, and ilObjUserFolderGUI.

Definition at line 1650 of file class.ilObjectGUI.php.

1651 {
1652 if ($this->sub_objects == "")
1653 {
1654 $d = $this->objDefinition->getCreatableSubObjects($this->object->getType(), ilObjectDefinition::MODE_REPOSITORY, $this->ref_id);
1655 }
1656 else
1657 {
1659 }
1660
1661 $import = false;
1662
1663 if (count($d) > 0)
1664 {
1665 foreach ($d as $row)
1666 {
1667 $count = 0;
1668
1669 if ($row["max"] > 0)
1670 {
1671 //how many elements are present?
1672 for ($i=0; $i<count($this->data["ctrl"]); $i++)
1673 {
1674 if ($this->data["ctrl"][$i]["type"] == $row["name"])
1675 {
1676 $count++;
1677 }
1678 }
1679 }
1680
1681 if ($row["max"] == "" || $count < $row["max"])
1682 {
1683 $subobj[] = $row["name"];
1684 }
1685 }
1686 }
1687
1688 if (is_array($subobj))
1689 {
1690
1691 //build form
1692 $opts = ilUtil::formSelect(12,"new_type",$subobj);
1693 $this->tpl->setCurrentBlock("add_object");
1694 $this->tpl->setVariable("SELECT_OBJTYPE", $opts);
1695 $this->tpl->setVariable("BTN_NAME", "create");
1696 $this->tpl->setVariable("TXT_ADD", $this->lng->txt("add"));
1697 $this->tpl->parseCurrentBlock();
1698 }
1699 }
for($col=0; $col< 50; $col++) $d
static formSelect($selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.

References $d, $row, $sub_objects, ilUtil\formSelect(), and ilObjectDefinition\MODE_REPOSITORY.

+ Here is the call graph for this function:

◆ updateCustom()

ilObjectGUI::updateCustom ( ilPropertyFormGUI  $a_form)
protected

Insert custom update form values into object.

Parameters
ilPropertyFormGUI$a_form

Reimplemented in ilObjBibliographicGUI, ilObjBlogGUI, ilObjBookingPoolGUI, ilObjDataCollectionGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjItemGroupGUI, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjPortfolioGUI, and ilObjPortfolioTemplateGUI.

Definition at line 1303 of file class.ilObjectGUI.php.

1304 {
1305
1306 }

Referenced by updateObject().

+ Here is the caller graph for this function:

◆ updateObject()

ilObjectGUI::updateObject ( )

updates object entry in object_data

Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, ilObjGroupGUI, ilObjRootFolderGUI, ilObjSessionGUI, ilObjSurveyQuestionPoolGUI, ilObjQuestionPoolGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilContainerReferenceGUI, ilObjStyleSheetGUI, ilObjUserGUI, and ilRemoteObjectBaseGUI.

Definition at line 1259 of file class.ilObjectGUI.php.

1260 {
1261 global $ilTabs, $tpl;
1262
1263 if (!$this->checkPermissionBool("write"))
1264 {
1265 $this->ilias->raiseError($this->lng->txt("permission_denied"),$this->ilias->error_obj->MESSAGE);
1266 }
1267
1268 $form = $this->initEditForm();
1269 if($form->checkInput() &&
1270 $this->validateCustom($form))
1271 {
1272 $this->object->setTitle($form->getInput("title"));
1273 $this->object->setDescription($form->getInput("desc"));
1274 $this->updateCustom($form);
1275 $this->object->update();
1276
1277 $this->afterUpdate();
1278 return;
1279 }
1280
1281 // display form again to correct errors
1282 $ilTabs->activateTab("settings");
1283 $form->setValuesByPost();
1284 $tpl->setContent($form->getHtml());
1285 }
afterUpdate()
Post (successful) object update hook.
updateCustom(ilPropertyFormGUI $a_form)
Insert custom update form values into object.

References $tpl, afterUpdate(), checkPermissionBool(), initEditForm(), and updateCustom().

Referenced by ilObjFileBasedLMGUI\update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validateCustom()

ilObjectGUI::validateCustom ( ilPropertyFormGUI  $a_form)
protected

Validate custom values (if not possible with checkInput())

Parameters
ilPropertyFormGUI$a_form
Returns
boolean

Reimplemented in ilObjPollGUI.

Definition at line 1293 of file class.ilObjectGUI.php.

1294 {
1295 return true;
1296 }

◆ viewObject()

ilObjectGUI::viewObject ( )

list childs of current object

@access public

Reimplemented in ilObjCategoryGUI, ilObjCourseGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjGlossaryGUI, ilObjGroupGUI, ilObjIndividualAssessmentGUI, ilObjRootFolderGUI, ilObjSAHSLearningModuleGUI, ilObjSystemFolderGUI, ilObjWikiGUI, ilObjRoleFolderGUI, ilObjAuthSettingsGUI, ilObjLanguageExtGUI, ilObjLanguageFolderGUI, ilObjMailGUI, ilObjObjectFolderGUI, ilObjTypeDefinitionGUI, and ilObjStyleSheetGUI.

Definition at line 1582 of file class.ilObjectGUI.php.

1583 {
1584 global$tpl;
1585
1586 if (!$this->checkPermissionBool("visible,read"))
1587 {
1588 $this->ilias->raiseError($this->lng->txt("permission_denied"),$this->ilias->error_obj->MESSAGE);
1589 }
1590
1591 // BEGIN ChangeEvent: record read event.
1592 require_once('Services/Tracking/classes/class.ilChangeEvent.php');
1593 global $ilUser;
1595 $this->object->getType(),
1596 $this->object->getRefId(),
1597 $this->object->getId(), $ilUser->getId());
1598 // END ChangeEvent: record read event.
1599
1600 include_once("./Services/Repository/classes/class.ilAdminSubItemsTableGUI.php");
1601 if (!$this->call_by_reference)
1602 {
1603 $this->ctrl->setParameter($this, "obj_id", $this->obj_id);
1604 }
1605 $itab = new ilAdminSubItemsTableGUI($this, "view", $_GET["ref_id"]);
1606
1607 $tpl->setContent($itab->getHTML());
1608 }
TableGUI class for sub items listed in repository administration.
static _recordReadEvent($a_type, $a_ref_id, $obj_id, $usr_id, $isCatchupWriteEvents=true, $a_ext_rc=false, $a_ext_time=false)
Records a read event and catches up with write events.

References $_GET, $ilUser, $tpl, ilChangeEvent\_recordReadEvent(), and checkPermissionBool().

Referenced by ilObjUserFolderGUI\applyFilterObject(), ilObjUserFolderGUI\hitsperpageObject(), ilObjUserFolderGUI\initAccessRestrictionForm(), ilObjUserFolderGUI\mailObject(), ilObjUserFolderGUI\resetFilterObject(), ilObjUserFolderGUI\usrExportCsvObject(), ilObjUserFolderGUI\usrExportX86Object(), ilObjUserFolderGUI\usrExportXmlObject(), and ilObjContentObjectGUI\view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ withReferences()

ilObjectGUI::withReferences ( )

determines wether objects are referenced or not (got ref ids or not)

Reimplemented in ilObject2GUI.

Definition at line 210 of file class.ilObjectGUI.php.

211 {
212 return $this->call_by_reference;
213 }

Field Documentation

◆ $actions

◆ $ctrl

◆ $data

ilObjectGUI::$data

Definition at line 59 of file class.ilObjectGUI.php.

Referenced by ilCourseContentGUI\__buildPath(), ilContainerGUI\_buildPath(), ilObjTestGUI\addQuestionObject(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilContainerGUI\clipboardObject(), ilObjSCORM2004LearningModuleGUI\confirmDeleteExportFile(), ilObjSurveyQuestionPoolGUI\confirmDeleteExportFileObject(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjObjectFolderGUI\displayList(), ilObjTypeDefinitionGUI\displayList(), ilObjTypeDefinitionGUI\editObject(), ilObjRootFolderGUI\editTranslationsObject(), ilObjCategoryGUI\editTranslationsObject(), ilObjSurveyQuestionPoolGUI\exportObject(), ilContainerGUI\getAsynchItemListObject(), ilObjSessionGUI\getAttendanceListUserData(), ilObjUserGUI\getValues(), initDidacticTemplate(), ilObjAssessmentFolderGUI\logAdminObject(), ilObjTestGUI\participantsObject(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjTestGUI\questionsObject(), ilObjRoleGUI\readRoleProperties(), ilObjTestGUI\removeQuestionsForm(), ilObjSystemFolderGUI\saveHeaderTitleObject(), ilObjSCORM2004LearningModuleGUI\showExportList(), ilObjSystemFolderGUI\showHeaderTitleObject(), ilObjForumGUI\showStatisticsObject(), ilObjLanguageExtGUI\statisticsObject(), ilObjFileGUI\update(), ilObjLinkResourceGUI\updateLinks(), ilCourseContentGUI\updateTimings(), ilCourseContentGUI\updateUserTimings(), ilObjFileAccessSettingsGUI\viewDiskQuotaReport(), and ilObjLanguageExtGUI\viewObject().

◆ $formaction

ilObjectGUI::$formaction

Definition at line 70 of file class.ilObjectGUI.php.

◆ $ilias

◆ $lng

ilObjectGUI::$lng

Definition at line 52 of file class.ilObjectGUI.php.

Referenced by ilObjSurveyAdministrationGUI\__construct(), ilObjRoleFolderGUI\__construct(), ilObjRoleTemplateGUI\__construct(), ilObjStyleSheetGUI\__construct(), ilObjExerciseGUI\__construct(), ilObjMediaCastGUI\__construct(), ilObjSCORM2004LearningModuleGUI\__construct(), ilObjAICCLearningModuleGUI\__construct(), ilObjHACPLearningModuleGUI\__construct(), ilObjSAHSLearningModuleGUI\__construct(), ilObjSCORMLearningModuleGUI\__construct(), ilObjWikiGUI\__construct(), ilObjExternalToolsSettingsGUI\__construct(), ilObjRoleGUI\__construct(), ilObjUserGUI\__construct(), ilObjRootFolderGUI\__construct(), ilObjCalendarSettingsGUI\__construct(), ilContainerGUI\__construct(), ilContainerReferenceGUI\__construct(), ilObjMDSettingsGUI\__construct(), ilObjPersonalDesktopSettingsGUI\__construct(), ilObjECSSettingsGUI\__construct(), ilObjLanguageExtGUI\__construct(), ilObjMediaObjectGUI\__construct(), ilObjContentObjectGUI\__construct(), ilObjFileBasedLMGUI\__construct(), ilObjTaxonomyGUI\__construct(), ilObjBlogGUI\__construct(), ilObjCloudGUI\__construct(), ilObjPollGUI\__construct(), ilObject2GUI\__construct(), ilObjOrgUnitGUI\__construct(), ilObjStudyProgrammeGUI\__construct(), ilObjSurveyGUI\__construct(), ilObjSurveyQuestionPoolGUI\__construct(), ilObjTestGUI\__construct(), ilObjQuestionPoolGUI\__construct(), ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjStyleSheetGUI\_getTemplatePreview(), ilObjBookingPoolGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjCategoryReferenceGUI\_goto(), ilObjCourseReferenceGUI\_goto(), ilObjFolderGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjItemGroupGUI\_goto(), ilObjContentObjectGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjMediaPoolGUI\_goto(), ilObjRootFolderGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjTestGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjWikiGUI\_goto(), ilObjMailGUI\_goto(), ilObjectPluginGUI\_goto(), ilRemoteObjectBaseGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjCourseGUI\_goto(), ilObjGroupGUI\_goto(), ilObjFileGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjExerciseGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjSystemFolderGUI\_goto(), _gotoRepositoryRoot(), ilObjCategoryGUI\_importCategories(), ilObjCategoryGUI\_importCategoriesForm(), ilObjCourseGUI\_modifyItemGUI(), ilObjSCORM2004LearningModuleGUI\activateExpertMode(), ilObjHelpSettingsGUI\activateModule(), ilObjComponentSettingsGUI\activatePlugin(), ilObjLinkResourceGUI\activateTabs(), ilObjBadgeAdministrationGUI\activateTypes(), ilObjExerciseGUI\addContentSubTabs(), ilObjMediaCastGUI\addContentSubTabs(), ilObjBlogGUI\addContributor(), ilObjDataCollectionGUI\addHeaderAction(), ilObjSystemFolderGUI\addHeaderTitleObject(), ilObjWikiGUI\addImportantPageObject(), ilObjContentObjectGUI\addLocations(), ilObjBibliographicGUI\addNews(), ilObjTestGUI\addQuestionObject(), ilContainerGUI\addStandardContainerSubTabs(), ilObjTaggingSettingsGUI\addSubTabs(), ilObjContentObjectGUI\addTabs(), ilObjRoleGUI\addToClipboardObject(), ilObjBlogGUI\addToDeskObject(), ilContainerGUI\addToDeskObject(), ilObjContentObjectGUI\addTooltip(), ilObjGlossaryGUI\addUsagesToInfo(), ilObjBlogGUI\addUserFromAutoComplete(), ilObjItemGroupGUI\afterConstructor(), ilObjMediaPoolGUI\afterConstructor(), ilObjTaxonomyGUI\afterSave(), ilObjCloudGUI\afterServiceAuth(), ilObjSystemFolderGUI\benchmarkObject(), ilObjSystemFolderGUI\benchmarkSubTabs(), ilObjBlogGUI\buildExportTemplate(), ilObjTestGUI\buildPageViewToolbar(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjStyleSheetGUI\cancelCharacteristicDeletionObject(), ilObjStyleSheetGUI\cancelObject(), ilObjContentObjectGUI\chapters(), ilObjForumGUI\checkDraftAccess(), ilObjCourseGUI\checkLicenses(), ilObjWorkspaceFolderGUI\checkPassword(), ilObjExternalToolsSettingsGUI\clearMathJaxCacheObject(), ilContainerGUI\clipboardObject(), ilObjTestGUI\confirmDeleteAllUserResultsObject(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ilObjTestGUI\confirmDeleteSelectedUserDataObject(), ilObjTaxonomyGUI\confirmDeleteTaxonomy(), ilObjMediaCastGUI\confirmDeletionItemsObject(), confirmedDeleteObject(), ilObjSCORM2004LearningModuleGUI\confirmExpertMode(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjMediaPoolGUI\confirmRemove(), ilContainerGUI\confirmRemoveFromSystemObject(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjBlogGUI\contributors(), ilObjTestGUI\copyAndLinkToQuestionpoolObject(), ilObjStyleSheetGUI\copyCharacteristicsObject(), ilObjSCORM2004LearningModuleGUI\copyItems(), ilObjContentObjectGUI\copyItems(), ilObjStyleSheetGUI\createObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjTestGUI\createQuestionObject(), ilObjContentObjectGUI\cutItems(), ilObjSCORM2004LearningModuleGUI\cutItems(), ilObjHelpSettingsGUI\deactivateModule(), ilObjComponentSettingsGUI\deactivatePlugin(), ilObjBadgeAdministrationGUI\deactivateTypes(), ilObjPollGUI\deleteAllVotes(), ilObjStyleSheetGUI\deleteCharacteristicConfirmationObject(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObject2GUI\deleteConfirmation(), ilObject2GUI\deleteConfirmedObjects(), ilObjStyleSheetGUI\deleteCoreCharMessage(), ilObjSystemFolderGUI\deleteHeaderTitlesObject(), ilObjBadgeAdministrationGUI\deleteImageTemplates(), ilObjTaxonomyGUI\deleteItems(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSCORM2004LearningModuleGUI\deleteNodes(), ilObjSkillManagementGUI\deleteNodes(), ilObjBadgeAdministrationGUI\deleteObjectBadges(), ilObjForumGUI\deleteSelectedDraft(), ilObjMediaObjectGUI\deleteSrtFilesObject(), ilObjTaxonomyGUI\deleteTaxonomy(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjContentObjectGUI\deleteTooltips(), ilObjMediaCastGUI\determinePlaytimeObject(), ilObjFolderGUI\downloadFolderObject(), ilContainerGUI\downloadMultipleObjects(), ilObjTaxonomyGUI\editAOTaxonomySettings(), ilObjFileAccessSettingsGUI\editDiskQuotaMailTemplate(), ilObjFileAccessSettingsGUI\editDiskQuotaSettings(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), ilObjContentObjectGUI\editGlossaries(), ilObjWikiGUI\editImportantPagesObject(), ilObjExternalToolsSettingsGUI\editMapsObject(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjContentObjectGUI\editMenuProperties(), ilObjStyleSheetGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilContainerGUI\editPageContentObject(), ilObjFileAccessSettingsGUI\editPreviewSettings(), ilObjBlogAdministrationGUI\editSettings(), ilObjExerciseAdministrationGUI\editSettings(), ilObjPortfolioAdministrationGUI\editSettings(), ilObjLearningResourcesSettingsGUI\editSettings(), ilObjHelpSettingsGUI\editSettings(), ilObjNewsSettingsGUI\editSettings(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilObjSkillManagementGUI\editSettings(), ilObjWikiSettingsGUI\editSettings(), ilObjSkillManagementGUI\editSkills(), ilObjSkillManagementGUI\editSkillTemplates(), ilObjAuthSettingsGUI\editSOAPObject(), ilObjStyleSheetGUI\editTagStyleObject(), ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjPersonalDesktopSettingsGUI\editWsp(), ilObjDataCollectionGUI\emptyInfo(), ilObjBlogGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPortfolioGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjFileAccessSettingsGUI\executeCommand(), ilObjSAHSLearningModuleGUI\export(), ilObjContentObjectGUI\filterTooltips(), ilContainerGUI\forwardToPageObject(), ilObjComponentSettingsGUI\getAdminTabs(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), ilObjSkillManagementGUI\getAdminTabs(), ilObjMediaCastGUI\getCastItemValues(), ilObjMediaCastGUI\getFeedIconsHTML(), ilObjBlogGUI\getHTML(), ilObjSystemCheckGUI\getLang(), ilObjContentObjectGUI\getLayoutOption(), ilObjContentObjectGUI\getMultiLangHeader(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjContentObjectGUI\getPublicAccessColValue(), ilObjTestGUI\getQuestionpoolCreationForm(), getRightColumnHTML(), ilObjWikiGUI\getSettingsFormValues(), ilObjSurveyAdministrationGUI\getSettingsTemplateConfig(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), ilObjStyleSheetGUI\getStyleExampleHTML(), ilObjCategoryGUI\getTabs(), ilObjCourseGUI\getTabs(), ilObjExerciseGUI\getTabs(), ilObjFolderGUI\getTabs(), ilObjGroupGUI\getTabs(), ilObjFileBasedLMGUI\getTabs(), ilObjRootFolderGUI\getTabs(), ilObjSurveyAdministrationGUI\getTabs(), ilObjAssessmentFolderGUI\getTabs(), ilObjWikiGUI\getTabs(), ilObjStyleSheetGUI\getTabs(), ilObjFileBasedLMGUI\getTemplate(), ilObjSAHSLearningModuleGUI\getTemplate(), ilObjItemGroupGUI\gotoParent(), ilObjFolderGUI\importFileObject(), ilObjMailGUI\importObject(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjUserFolderGUI\importUsersObject(), ilObjExerciseGUI\infoScreen(), ilObjWikiGUI\infoScreen(), ilObjectPluginGUI\infoScreen(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjStyleSheetGUI\initCharacteristicForm(), ilObjAdvancedEditingGUI\initCharSelectorSettingsForm(), ilObjStyleSheetGUI\initColorForm(), ilObjSystemFolderGUI\initContactInformationForm(), ilObjCloudGUI\initCreateForm(), ilObjSAHSLearningModuleGUI\initCreationForm(), initDidacticTemplate(), ilObjFileAccessSettingsGUI\initDiskQuotaMailTemplateForm(), ilObjFileAccessSettingsGUI\initDownloadingSettingsForm(), ilObjBlogGUI\initEditCustomForm(), ilObjPollGUI\initEditCustomForm(), ilObjBibliographicGUI\initEditForm(), initEditForm(), ilObjectPluginGUI\initEditForm(), ilObjPrivacySecurityGUI\initErrorMessages(), ilObjMediaPoolGUI\initFolderForm(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilObjMediaObjectGUI\initForm(), ilObjWikiSettingsGUI\initForm(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjExerciseAdministrationGUI\initFormSettings(), ilObjMediaCastSettingsGUI\initFormSettings(), ilObjPortfolioAdministrationGUI\initFormSettings(), ilObjAwarenessAdministrationGUI\initFormSettings(), ilObjSearchSettingsGUI\initFormSettings(), ilObjTaggingSettingsGUI\initFormSettings(), ilObjAdvancedEditingGUI\initGeneralPageSettingsForm(), ilObjMDSettingsGUI\initGeneralSettingsForm(), ilObjSCORM2004LearningModuleGUI\initGlossaryCreationForm(), ilObjSystemFolderGUI\initHTTPSForm(), ilObjStyleSheetGUI\initImageForm(), ilObjBadgeAdministrationGUI\initImageTemplateForm(), ilObjContentObjectGUI\initImportForm(), ilObjSystemFolderGUI\initJavaServerForm(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjMediaPoolGUI\initMediaPoolPageForm(), ilObjStyleSheetGUI\initMediaQueryForm(), ilObjContentObjectGUI\initMenuEntryForm(), ilObjContentObjectGUI\initMenuForm(), ilObjUserFolderGUI\initNewAccountMailForm(), ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjFileAccessSettingsGUI\initPreviewSettingsForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjStyleSheetGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjSystemFolderGUI\initProxyForm(), ilObjPollGUI\initQuestionForm(), ilObjSystemFolderGUI\initServerInfoForm(), ilObjContentObjectGUI\initSetPageLayoutForm(), ilObjWikiGUI\initSettingsForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilObjSurveyAdministrationGUI\initSettingsForm(), ilObjTaxonomyGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), ilObjStyleSheetGUI\initTagStyleForm(), ilObjTaxonomyGUI\initTaxNodeForm(), ilObjStyleSheetGUI\initTemplateForm(), ilObjStyleSheetGUI\initTemplateGenerationForm(), ilObjWikiGUI\initTemplateSelectionForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjFileAccessSettingsGUI\initUploadSettingsForm(), ilObjUserFolderGUI\initUserImportForm(), ilObjSystemFolderGUI\initWebServicesForm(), ilObjFileGUI\initZipUploadForm(), ilObjSCORM2004LearningModuleGUI\insertAsset(), ilObjSCORM2004LearningModuleGUI\insertChapter(), ilObjContentObjectGUI\insertChapter(), ilObjSCORM2004LearningModuleGUI\insertLMChapterClip(), ilObjSCORM2004LearningModuleGUI\insertPage(), ilObjSCORM2004LearningModuleGUI\insertScenarioGUI(), ilObjSCORM2004LearningModuleGUI\insertSco(), ilObjSCORM2004LearningModuleGUI\insertTemplate(), ilObjSCORM2004LearningModuleGUI\insertTemplateGUI(), ilObjTaxonomyGUI\listAssignedItems(), ilObjStyleSheetGUI\listImagesObject(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjMediaCastGUI\listItemsObject(), ilObjMediaPoolGUI\listMedia(), ilObjTaxonomyGUI\listNodes(), ilObjBadgeAdministrationGUI\listObjectBadgeUsers(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilObjTaxonomyGUI\listTaxonomies(), ilObjAuthSettingsGUI\loginInfoObject(), ilContainerGUI\modifyItemGUI(), ilObjTaxonomyGUI\moveItems(), ilObjTestGUI\movePageFormObject(), ilObjUserFolderGUI\newAccountMailObject(), ilObjSCORMLearningModuleGUI\offlineModeManager(), ilObjStyleSheetGUI\outputTagStyleEditScreen(), ilObjContentObjectGUI\pages(), ilObjTestGUI\participantsObject(), ilObjWorkspaceFolderGUI\passwordForm(), ilObjStyleSheetGUI\pasteCharacteristicsObject(), ilObjTaxonomyGUI\pasteItems(), ilContainerGUI\pasteObject(), ilObjMailGUI\performImportObject(), ilObjWikiGUI\performSearchObject(), ilObjBlogGUI\preview(), ilObjContentObjectGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSCORMLearningModuleGUI\properties(), ilObjStyleSheetGUI\propertiesObject(), ilObjForumGUI\publishDraftObject(), ilObjTestGUI\questionsObject(), ilObjQuestionPoolGUI\questionsObject(), ilObjBlogGUI\removeContributor(), ilObjBlogGUI\removeFromDeskObject(), ilObjForumGUI\removeFromDeskObject(), ilContainerGUI\removeFromDeskObject(), ilContainerGUI\removeFromSystemObject(), ilObjWikiGUI\removeImportantPagesObject(), ilObjContentObjectGUI\removeLMGlossary(), ilObjPollGUI\render(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjBlogGUI\render(), ilObjBlogGUI\renderList(), ilObjWikiGUI\renderSideBlock(), ilObjContentObjectGUI\resetNumberOfTries(), ilObjBookingPoolGUI\rsvCancelObject(), ilObjBookingPoolGUI\rsvConfirmCancelAggregationObject(), ilObjBookingPoolGUI\rsvConfirmCancelObject(), ilObjAccessibilitySettingsGUI\saveAccessKeys(), ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), ilObjTaxonomyGUI\saveAssignedItemsSorting(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjStyleSheetGUI\saveCharacteristicObject(), ilObjAdvancedEditingGUI\saveCharSelectorSettingsObject(), ilObjStyleSheetGUI\saveColorObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjFileAccessSettingsGUI\saveDiskQuotaMailTemplate(), ilObjFileAccessSettingsGUI\saveDiskQuotaSettings(), ilObjFileAccessSettingsGUI\saveDownloadingSettings(), ilObjContentObjectGUI\saveExportIds(), ilObjMediaPoolGUI\saveFolder(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjAdvancedEditingGUI\saveGeneralPageSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjSCORM2004LearningModuleGUI\saveGlossary(), ilObjWikiGUI\saveGradingObject(), ilObjSystemFolderGUI\saveHeaderTitlesObject(), ilObjContentObjectGUI\saveHelpMapping(), ilObjStyleSheetGUI\saveHideStatusObject(), ilObjSystemFolderGUI\saveHTTPSObject(), ilObjBadgeAdministrationGUI\saveImageTemplate(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjExternalToolsSettingsGUI\saveMathJaxObject(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjRepositorySettingsGUI\saveModules(), ilObjUserFolderGUI\saveNewAccountMailObject(), ilObjWikiGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjMediaCastGUI\saveOrderObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjContentObjectGUI\savePageLayout(), ilObjFileAccessSettingsGUI\savePreviewSettings(), ilObjContentObjectGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjSystemFolderGUI\saveProxyObject(), ilObjSCORM2004LearningModuleGUI\saveSequencing(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilObjTaxonomyGUI\saveSorting(), ilObjTaxonomyGUI\saveTaxNode(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjContentObjectGUI\saveTooltips(), ilObjFileAccessSettingsGUI\saveUploadSettings(), ilObjFileAccessSettingsGUI\saveWebDAVSettings(), ilObjSystemFolderGUI\saveWebServicesObject(), ilObjContentObjectGUI\selectLMGlossary(), ilObjMediaPoolGUI\selectUploadDirFiles(), setActions(), ilObjWikiGUI\setAsStartPageObject(), ilObjContentObjectGUI\setContentSubTabs(), ilObjCourseGUI\setContentSubTabs(), ilObjMediaPoolGUI\setMediaPoolPageTabs(), ilObjHelpSettingsGUI\setMode(), ilContainerGUI\setPageEditorTabs(), ilObjContentObjectGUI\setPageLayout(), ilObjPollGUI\setParticipantsSubTabs(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjContentObjectGUI\setQuestionsSubTabs(), ilObjMediaPoolGUI\setSettingsSubTabs(), ilObjWikiGUI\setSettingsSubTabs(), ilObjSAHSLearningModuleGUI\setSettingsSubTabs(), ilObjSCORM2004LearningModuleGUI\setSubTabs(), ilObjFolderGUI\setSubTabs(), ilObjSCORMLearningModuleGUI\setSubTabs(), ilObjStyleSheetGUI\setSubTabs(), ilObjContentObjectGUI\setTabs(), ilObjTaxonomyGUI\setTabs(), ilObjWorkspaceFolderGUI\setTabs(), ilObjBlogGUI\setTabs(), ilObjCloudGUI\setTabs(), ilObjDataCollectionGUI\setTabs(), ilObjExternalFeedGUI\setTabs(), ilObjFileGUI\setTabs(), ilObjItemGroupGUI\setTabs(), ilObjMediaCastGUI\setTabs(), ilObjPollGUI\setTabs(), ilObjLinkResourceGUI\setTabs(), ilObjNotificationAdminGUI\setTabs(), ilObject2GUI\setTabs(), ilObjStyleSheetGUI\setTabs(), ilObjStyleSheetGUI\setTemplatesSubTabs(), ilObjAdvancedEditingGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjRootFolderGUI\setTitleAndDescription(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjGlossaryGUI\showActions(), ilObjContentObjectGUI\showActions(), ilContainerGUI\showAdministrationPanel(), ilObjNotificationAdminGUI\showConfigMatrixObject(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjSCORM2004LearningModuleGUI\showLearningObjectivesAlignment(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), ilObjSCORM2004LearningModuleGUI\showOrganization(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilObjComponentSettingsGUI\showPlugin(), ilObjComponentSettingsGUI\showPluginSlotInfo(), ilObjSCORM2004LearningModuleGUI\showSequencing(), ilObjWikiGUI\showTemplateSelectionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjTaxonomyGUI\showTree(), ilObjSkillManagementGUI\showTree(), ilObjSCORM2004LearningModuleGUI\showTree(), ilObjMediaObjectGUI\showUsagesObject(), ilObjTaggingSettingsGUI\showUsers(), ilObjPollGUI\subscribe(), ilObjUserFolderGUI\table(), ilObjStyleSheetGUI\templateGenerationObject(), ilObjSkillManagementGUI\test(), ilObjSkillManagementGUI\testAllCert(), ilObjSkillManagementGUI\testCert(), ilObjSkillManagementGUI\testLevels(), ilObjBadgeAdministrationGUI\toggleObjectBadges(), ilObjContentObjectGUI\unlockQuestion(), ilObjPollGUI\unsubscribe(), ilObjMediaCastGUI\updateCastItemObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjBlogGUI\updateCustom(), ilObjMediaPoolGUI\updateFolder(), ilObjBadgeAdministrationGUI\updateImageTemplate(), ilObjMediaPoolGUI\updateMediaPoolPage(), ilObjStyleSheetGUI\updateMediaQueryObject(), ilObjStyleSheetGUI\updateObject(), ilObjTaxonomyGUI\updateSettings(), ilObjTaxonomyGUI\updateTaxNode(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjHelpSettingsGUI\uploadHelpFile(), ilObjMediaObjectGUI\uploadMultipleSubtitleFileFormObject(), ilObjMailGUI\uploadObject(), ilObjMediaObjectGUI\uploadSubtitleFileObject(), ilContainerGUI\useNewEditorObject(), ilObjRoleGUI\userassignmentObject(), ilObjFileAccessSettingsGUI\viewDiskQuotaReport(), ilObjUserFolderGUI\viewObject(), and ilObjWikiGUI\viewPageObject().

◆ $maxcount

ilObjectGUI::$maxcount

Definition at line 69 of file class.ilObjectGUI.php.

◆ $obj_id

◆ $objDefinition

◆ $object

◆ $omit_locator

ilObjectGUI::$omit_locator = false

Definition at line 78 of file class.ilObjectGUI.php.

◆ $ref_id

◆ $return_location

ilObjectGUI::$return_location

Definition at line 71 of file class.ilObjectGUI.php.

◆ $sub_objects

ilObjectGUI::$sub_objects

◆ $tab_target_script

ilObjectGUI::$tab_target_script

Definition at line 75 of file class.ilObjectGUI.php.

◆ $tabs_gui

◆ $target_frame

ilObjectGUI::$target_frame

Definition at line 72 of file class.ilObjectGUI.php.

◆ $tmp_import_dir

ilObjectGUI::$tmp_import_dir
protected

Definition at line 73 of file class.ilObjectGUI.php.

◆ $tpl

ilObjectGUI::$tpl

Definition at line 38 of file class.ilObjectGUI.php.

Referenced by ilObjStyleSheetGUI\__construct(), ilObject2GUI\__construct(), ilContainerGUI\__showTimingsButton(), ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjStyleSheetGUI\_getTemplatePreview(), ilObjStyleSheetGUI\accordiontestObject(), ilObjMediaCastGUI\addCastItemObject(), ilObjStyleSheetGUI\addCharacteristicFormObject(), ilObjStyleSheetGUI\addColorObject(), ilObjDataCollectionGUI\addHeaderAction(), ilObjStyleSheetGUI\addImageObject(), ilObjBadgeAdministrationGUI\addImageTemplate(), ilObjStyleSheetGUI\addMediaQueryObject(), ilObjContentObjectGUI\addMenuEntry(), ilObjLanguageExtGUI\addNewEntryObject(), ilObjTestGUI\addQuestionObject(), ilObjStyleSheetGUI\addTemplateObject(), ilObjSurveyGUI\afterSave(), ilObjMediaPoolGUI\allMedia(), ilObjWikiGUI\allPagesObject(), ilObjAuthSettingsGUI\apacheAuthSettingsObject(), ilObjSCORM2004LearningModuleGUI\assignGlossary(), ilObjCloudGUI\asyncGetBlock(), ilObjSystemFolderGUI\benchmarkObject(), ilObjBookingPoolGUI\bookObject(), ilObjBlogGUI\buildExportTemplate(), ilContainerGUI\clipboardObject(), ilObjBookingPoolGUI\confirmBookingNumbers(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ilObjTaxonomyGUI\confirmDeleteTaxonomy(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjSCORM2004LearningModuleGUI\confirmExpertMode(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjCourseGUI\confirmLPSync(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjComponentSettingsGUI\confirmUninstallPlugin(), ilObjBlogGUI\contributors(), ilObjMediaPoolGUI\createFolderForm(), ilObjSCORM2004LearningModuleGUI\createGlossary(), ilObjMediaPoolGUI\createMediaPoolPage(), ilObjMediaObjectGUI\createObject(), createObject(), ilObjStyleSheetGUI\createObject(), ilObjUserGUI\createObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjTestGUI\createQuestionObject(), ilObjTaxonomyGUI\createTaxNode(), ilObjStyleSheetGUI\deleteCharacteristicConfirmationObject(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObject2GUI\deleteConfirmation(), ilObjStyleSheetGUI\deleteCoreCharMessage(), ilObjTaxonomyGUI\deleteItems(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSCORM2004LearningModuleGUI\deleteNodes(), ilObjSkillManagementGUI\deleteNodes(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjStyleSheetGUI\displayTemplateEditForm(), ilObjAccessibilitySettingsGUI\editAccessKeys(), ilObjMediaCastGUI\editCastItemObject(), ilObjStyleSheetGUI\editColorObject(), ilObjCourseGUI\editCourseIconsObject(), ilObjFileAccessSettingsGUI\editDiskQuotaMailTemplate(), ilObjFileAccessSettingsGUI\editDiskQuotaSettings(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), ilObjMediaPoolGUI\editFolder(), ilObjTaggingSettingsGUI\editForbiddenTags(), ilObjContentObjectGUI\editGlossaries(), ilObjGroupGUI\editGroupIconsObject(), ilObjCategoryGUI\editIconsObject(), ilObjFolderGUI\editIconsObject(), ilObjBadgeAdministrationGUI\editImageTemplate(), ilObjWikiGUI\editImportantPagesObject(), ilObjExternalToolsSettingsGUI\editMapsObject(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjMediaPoolGUI\editMediaPoolPage(), ilObjStyleSheetGUI\editMediaQueryObject(), ilObjContentObjectGUI\editMenuProperties(), ilObjFileBasedLMGUI\editObject(), ilObjMediaObjectGUI\editObject(), editObject(), ilObjStyleSheetGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilContainerGUI\editPageContentObject(), ilObjFileAccessSettingsGUI\editPreviewSettings(), ilObjMediaObjectsSettingsGUI\editSettings(), ilObjTaxonomyGUI\editSettings(), ilObjWikiSettingsGUI\editSettings(), ilObjMediaCastGUI\editSettingsObject(), ilObjWikiGUI\editSettingsObject(), ilObjSkillManagementGUI\editSkills(), ilObjSkillManagementGUI\editSkillTemplates(), ilObjContentObjectGUI\editStyleProperties(), ilObjSCORM2004LearningModuleGUI\editStyleProperties(), ilObjWikiGUI\editStylePropertiesObject(), ilContainerGUI\editStylePropertiesObject(), ilObjStyleSheetGUI\editTagStyleObject(), ilObjStyleSheetGUI\editTemplateObject(), ilObjRootFolderGUI\editTranslationsObject(), ilObjCategoryGUI\editTranslationsObject(), ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjExternalFeedGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilContainerGUI\executeCommand(), ilObjMediaObjectGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjSAHSLearningModuleGUI\export(), ilObjLinkResourceGUI\exportHTML(), ilObjBlogGUI\exportHTMLPages(), ilContainerGUI\fileManagerLaunchObject(), ilObjStyleSheetGUI\generateTemplateObject(), getCreationFormsHTML(), getDidacticTemplateVar(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjContentObjectGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), importFileObject(), ilObjSurveyQuestionPoolGUI\importQuestionsObject(), ilObjSurveyGUI\importSurveyObject(), ilObjUserFolderGUI\importUserFormObject(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjMediaObjectGUI\includePresentationJS(), ilObjCourseGUI\infoScreen(), ilObjectPluginGUI\infoScreen(), ilObjFileGUI\infoScreenForward(), ilObjUserGUI\initCreate(), ilObjFileAccessSettingsGUI\initDownloadingSettingsForm(), ilObjGroupGUI\initForm(), ilObjMediaCastGUI\initSettingsForm(), ilContainerGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\insertLMChapterClip(), ilObjSCORM2004LearningModuleGUI\insertScenarioGUI(), ilObjSCORM2004LearningModuleGUI\insertTemplateGUI(), ilObjUserFolderGUI\learningProgressObject(), ilObjContentObjectGUI\linkChecker(), ilObjLinkResourceGUI\linkChecker(), ilObjTaxonomyGUI\listAssignedItems(), ilObjContentObjectGUI\listBlockedUsers(), ilObjStyleSheetGUI\listColorsObject(), ilObjWikiGUI\listContributorsObject(), ilObjLanguageFolderGUI\listDeprecatedObject(), ilObjStyleSheetGUI\listImagesObject(), ilObjMediaCastGUI\listItemsObject(), ilObjContentObjectGUI\listLinks(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjStyleSheetGUI\listMediaQueriesObject(), ilObjTaxonomyGUI\listNodes(), ilObjBadgeAdministrationGUI\listObjectBadges(), ilObjBadgeAdministrationGUI\listObjectBadgeUsers(), ilObjComponentSettingsGUI\listPlugins(), ilObjContentObjectGUI\listQuestions(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilObjTaxonomyGUI\listTaxonomies(), ilObjStyleSheetGUI\listTemplatesObject(), ilObjBookingPoolGUI\logDetailsObject(), ilObjBookingPoolGUI\logObject(), ilObjTaxonomyGUI\moveItems(), ilObjTestGUI\movePageFormObject(), ilContainerGUI\newBlockTemplate(), ilObjWikiGUI\newPagesObject(), ilObjSCORMLearningModuleGUI\offlineModeManager(), ilObjWikiGUI\orphanedPagesObject(), ilObjStyleSheetGUI\outputTagStyleEditScreen(), ilObjContentObjectGUI\pages(), ilObjWorkspaceFolderGUI\passwordForm(), ilObjStyleSheetGUI\pasteCharacteristicsOverviewObject(), ilObjWikiGUI\performSearchObject(), ilObjWikiGUI\popularPagesObject(), ilObjMediaCastGUI\populateFormFromPost(), prepareOutput(), ilObjWikiGUI\printViewObject(), ilObjFileBasedLMGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSCORMLearningModuleGUI\properties(), ilObjWikiGUI\recentChangesObject(), redrawHeaderActionObject(), ilContainerGUI\redrawListItemObject(), ilObjPollGUI\render(), ilObjBlogGUI\render(), ilObjWorkspaceFolderGUI\render(), ilObjBlogGUI\renderFullScreen(), ilContainerGUI\renderObject(), ilObjWikiGUI\renderSideBlock(), ilObjBookingPoolGUI\rsvCancelObject(), ilObjBookingPoolGUI\rsvConfirmCancelAggregationObject(), ilObjBookingPoolGUI\rsvConfirmCancelObject(), ilObjBibliographicGUI\save(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjStyleSheetGUI\saveCharacteristicObject(), ilObjAdvancedEditingGUI\saveCharSelectorSettingsObject(), ilObjStyleSheetGUI\saveColorObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjMediaPoolGUI\saveFolder(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjAdvancedEditingGUI\saveGeneralPageSettingsObject(), ilObjSCORM2004LearningModuleGUI\saveGlossary(), ilObjSystemFolderGUI\saveHTTPSObject(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjWikiGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), saveObject(), ilObjUserGUI\saveObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjFileAccessSettingsGUI\savePreviewSettings(), ilObjFileBasedLMGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjSystemFolderGUI\saveProxyObject(), ilObjSCORM2004LearningModuleGUI\saveSequencing(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjTaxonomyGUI\saveTaxNode(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjFileAccessSettingsGUI\saveUploadSettings(), ilObjSystemFolderGUI\saveWebServicesObject(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjBlogGUI\setContentStyleSheet(), ilObjGlossaryGUI\setContentStyleSheet(), ilObjPortfolioBaseGUI\setContentStyleSheet(), ilObjWikiGUI\setContentStyleSheet(), ilOrgUnitExtensionGUI\setLocator(), ilObject2GUI\setLocator(), setLocator(), ilObjContentObjectGUI\setPageLayout(), ilObjTaxonomyGUI\setTabs(), ilObjAdvancedEditingGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjSurveyAdministrationGUI\settingsObject(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjWorkspaceFolderGUI\share(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjAdvancedEditingGUI\showCharSelectorSettingsObject(), ilObjSystemFolderGUI\showContactInformationObject(), ilObjMediaCastGUI\showContentObject(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjSCORM2004LearningModuleGUI\showEditTree(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjSCORM2004LearningModuleGUI\showExportList(), ilObjMediaCastGUI\showGallery(), ilObjAdvancedEditingGUI\showGeneralPageEditorSettingsObject(), ilObjMDSettingsGUI\showGeneralSettings(), ilObjSystemFolderGUI\showHeaderTitleObject(), ilObjSystemFolderGUI\showHTTPSObject(), ilObjSystemFolderGUI\showJavaServerObject(), ilObjSCORM2004LearningModuleGUI\showLearningObjectivesAlignment(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjContentObjectGUI\showMaintenance(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), showMountWebfolderIcon(), ilObjMediaObjectGUI\showMultiSubtitleConfirmationTableObject(), ilObjSCORM2004LearningModuleGUI\showOrganization(), ilObjExerciseGUI\showOverviewObject(), ilObjMediaPoolGUI\showPage(), ilObjAdvancedEditingGUI\showPageEditorSettingsObject(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilContainerGUI\showPasswordInstructionObject(), ilObjComponentSettingsGUI\showPlugin(), ilObjComponentSettingsGUI\showPluginSlotInfo(), ilObjBookingPoolGUI\showProfileObject(), ilObjSystemFolderGUI\showProxyObject(), ilContainerGUI\showRepTree(), ilObjSCORM2004LearningModuleGUI\showSequencing(), ilObjWikiGUI\showTemplateSelectionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjTaxonomyGUI\showTree(), ilObjSkillManagementGUI\showTree(), ilContainerGUI\showTreeFlatIcon(), ilObjStyleSheetGUI\showUpperIcon(), ilObjMediaObjectGUI\showUsagesObject(), ilObjTaggingSettingsGUI\showUsers(), ilObjMediaObjectGUI\showVideoToolObject(), ilObjSystemFolderGUI\showWebServicesObject(), ilObjStyleSheetGUI\templateGenerationObject(), ilObjSkillManagementGUI\test(), ilObjSkillManagementGUI\testAllCert(), ilObjSkillManagementGUI\testCert(), ilObjSkillManagementGUI\testLevels(), ilContainerGUI\trashObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjMediaPoolGUI\updateFolder(), ilObjMediaPoolGUI\updateMediaPoolPage(), ilObjStyleSheetGUI\updateMediaQueryObject(), updateObject(), ilObjStyleSheetGUI\updateObject(), ilObjUserGUI\updateObject(), ilObjTaxonomyGUI\updateSettings(), ilObjTaxonomyGUI\updateTaxNode(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjStyleSheetGUI\uploadImageObject(), ilObjUserFolderGUI\viewObject(), ilObjLanguageExtGUI\viewObject(), ilObjLanguageFolderGUI\viewObject(), viewObject(), ilObjWikiGUI\viewPageObject(), and ilObjSurveyGUI\viewUserResultsObject().

◆ $tree

ilObjectGUI::$tree

Definition at line 45 of file class.ilObjectGUI.php.

Referenced by ilCourseContentGUI\__buildPath(), ilObjFileAccessSettingsGUI\__construct(), ilObjRoleGUI\__construct(), ilObjTestGUI\__construct(), ilCourseArchivesGUI\__initCourseObject(), ilCourseContentGUI\__initCourseObject(), ilObjRoleGUI\__setLocator(), ilContainerGUI\__showTimingsButton(), ilContainerGUI\_buildPath(), ilObjExternalFeedGUI\_goto(), ilObjContentObjectGUI\addLocations(), ilObjRoleGUI\adoptPermSaveObject(), ilObjCategoryGUI\afterSave(), ilObjExternalFeedGUI\afterUpdate(), ilObjSCORM2004LearningModuleGUI\assignGlossary(), ilObjSessionGUI\cancelEditObject(), ilObjExternalFeedGUI\cancelUpdate(), ilObjRoleGUI\changeExistingObjectsObject(), ilObjContentObjectGUI\chapters(), ilContainerGUI\cloneAllObject(), ilContainerGUI\cloneNodes(), ilContainerGUI\cloneWizardPageObject(), ilObjContentObjectGUI\confirmedDelete(), ilObjSCORM2004LearningModuleGUI\confirmedDelete(), ilObjTestGUI\createQuestionPool(), ilObjSessionGUI\createRecurringSessions(), ilObjRoleFolderGUI\doCopyRole(), ilObjFileBasedLMGUI\editObject(), ilObjContentObjectGUI\editPublicSection(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjSessionGUI\eventsListObject(), ilObjTestGUI\executeCommand(), ilObjFolderGUI\forwardToTimingsView(), getAdminTabs(), ilRoleDesktopItem\getAll(), ilObjSessionGUI\getTabs(), ilObjCategoryGUI\getTaxonomiesForRefId(), ilObjSessionGUI\handleFileUpload(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjUserFolderGUI\importUsersObject(), ilObjSessionGUI\infoScreen(), ilContainerGUI\initAndDisplayCopyIntoMultipleObjectsObject(), ilContainerGUI\initAndDisplayLinkIntoMultipleObjectsObject(), ilContainerGUI\initAndDisplayMoveIntoObjectObject(), ilObjSessionGUI\initContainer(), ilObjFileAccessSettingsGUI\initDownloadingSettingsForm(), ilObjGroupGUI\initForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjSurveyGUI\initPropertiesForm(), ilObjForumGUI\isParentObjectCrsOrGrp(), isVisible(), ilContainerGUI\lockObject(), ilObjSessionGUI\materialsObject(), ilObjSessionGUI\membersObject(), ilObjFolderGUI\modifyItemGUI(), ilObjGroupGUI\modifyItemGUI(), ilObjSessionGUI\modifyItemGUI(), ilObjSCORMLearningModuleGUI\offlineModeManager(), ilObjContentObjectGUI\pages(), ilContainerGUI\pasteObject(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), ilObjRoleGUI\permSaveObject(), ilObjFileBasedLMGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSCORMLearningModuleGUI\properties(), ilContainerGUI\recurseFolder(), ilObjSessionGUI\redirectToParentContentPageObject(), ilObjSCORM2004LearningModuleGUI\saveGlossary(), ilObjRoleGUI\selectDesktopItemObject(), ilObjCourseGUI\setSubTabs(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), showMountWebfolderIcon(), ilObjStyleSheetGUI\showUpperIcon(), ilObjGroupGUI\unsubscribeObject(), ilObjSessionGUI\updateMembersObject(), ilObjFolderGUI\viewObject(), and ilObjGroupGUI\viewObject().

◆ CFORM_CLONE

const ilObjectGUI::CFORM_CLONE = 3

◆ CFORM_IMPORT

◆ CFORM_NEW

◆ COPY_WIZARD_NEEDS_PAGE

const ilObjectGUI::COPY_WIZARD_NEEDS_PAGE = 1

Definition at line 15 of file class.ilObjectGUI.php.


The documentation for this class was generated from the following file: