ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilObjectGUI Class Reference

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

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

Public Member Functions

 ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true)
 Constructor @access public. More...
 
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...
 
 getAdminTabs (&$tabs_gui)
 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 ($in_rep=false)
 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 ()
 
 prepareOutput ()
 prepare output More...
 
 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...
 
 getTitlesByRefId ($a_ref_ids)
 get Titles of objects this method is used for error messages in methods cut/copy/paste More...
 
 getTabs (&$tabs_gui)
 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 ($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
 

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 ilObjCategoryGUI, ilObjCourseGUI, ilObjOrgUnitGUI, ilObject2GUI, and ilObjUserFolderGUI.

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

1719 {
1720 include_once "./Services/Table/classes/class.ilTableGUI.php";
1721
1722 return new ilTableGUI(0,false);
1723 }
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 ilObjCourseGUI, and ilObjUserFolderGUI.

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

1731 {
1732 switch ($a_from)
1733 {
1734 case "clipboardObject":
1735 $offset = $_GET["offset"];
1736 $order = $_GET["sort_by"];
1737 $direction = $_GET["sort_order"];
1738 $tbl->disable("footer");
1739 break;
1740
1741 default:
1742 $offset = $_GET["offset"];
1743 $order = $_GET["sort_by"];
1744 $direction = $_GET["sort_order"];
1745 break;
1746 }
1747
1748 $tbl->setOrderColumn($order);
1749 $tbl->setOrderDirection($direction);
1750 $tbl->setOffset($offset);
1751 $tbl->setLimit($_GET["limit"]);
1752 $tbl->setFooter("tblfooter",$this->lng->txt("previous"),$this->lng->txt("next"));
1753 $tbl->setData($result_set);
1754 }
$_GET["client_id"]
$tbl
Definition: example_048.php:81

References $_GET, and $tbl.

◆ __showButton()

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

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

1705 {
1706 global $ilToolbar;
1707
1708 $ilToolbar->addButton($a_text, $this->ctrl->getLinkTarget($this, $a_cmd), $a_target);
1709 }

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 2069 of file class.ilObjectGUI.php.

2070 {
2071 global $ilAccess, $ilErr;
2072
2073 $_GET["cmd"] = $a_cmd;
2074 $_GET["target"] = "";
2075 $_GET["ref_id"] = $a_ref_id;
2076 $_GET["baseClass"] = "ilRepositoryGUI";
2077 include("ilias.php");
2078 exit;
2079 }
exit
Definition: login.php:54

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(), 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 2043 of file class.ilObjectGUI.php.

2044 {
2045 global $ilAccess, $ilErr;
2046
2047 if ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID))
2048 {
2049 $_GET["cmd"] = "frameset";
2050 $_GET["target"] = "";
2051 $_GET["ref_id"] = ROOT_FOLDER_ID;
2052 $_GET["baseClass"] = "ilRepositoryGUI";
2053 include("ilias.php");
2054 exit;
2055 }
2056
2057 if ($a_raise_error)
2058 {
2059 $ilErr->raiseError($lng->txt("msg_no_perm_read"), $ilErr->FATAL);
2060 }
2061 }

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(), ilObjBibliographicGUI\sendFile(), ilObjBibliographicGUI\showContent(), ilObjBibliographicGUI\showDetails(), and ilObjBibliographicGUI\updateCustom().

+ 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

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

634 {
635 global $ilLocator;
636
637 if ($_GET["admin_mode"] == "settings") // system settings
638 {
639 $this->ctrl->setParameterByClass("ilobjsystemfoldergui",
640 "ref_id", SYSTEM_FOLDER_ID);
641 $ilLocator->addItem($this->lng->txt("administration"),
642 $this->ctrl->getLinkTargetByClass(array("iladministrationgui", "ilobjsystemfoldergui"), "")
643 );
644 if ($this->object->getRefId() != SYSTEM_FOLDER_ID && !$a_do_not_add_object)
645 {
646 $ilLocator->addItem($this->object->getTitle(),
647 $this->ctrl->getLinkTarget($this, "view"));
648 }
649 }
650 else // repository administration
651 {
652 $this->ctrl->setParameterByClass("iladministrationgui",
653 "ref_id", "");
654 $this->ctrl->setParameterByClass("iladministrationgui",
655 "admin_mode", "settings");
656 //$ilLocator->addItem($this->lng->txt("administration"),
657 // $this->ctrl->getLinkTargetByClass("iladministrationgui", "frameset"),
658 // ilFrameTargetInfo::_getFrame("MainContent"));
659 $this->ctrl->clearParametersByClass("iladministrationgui");
660 $ilLocator->addAdministrationItems();
661 }
662
663 }

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 939 of file class.ilObjectGUI.php.

940 {
941
942 }

Referenced by initDidacticTemplate().

+ Here is the caller graph for this function:

◆ addExternalEditFormCustom()

ilObjectGUI::addExternalEditFormCustom ( ilPropertyFormGUI  $a_form)

Reimplemented in ilObjBookingPoolGUI.

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

1133 {
1134 // has to be done AFTER setValuesByArray() ...
1135 }

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 425 of file class.ilObjectGUI.php.

426 {
427 $this->insertHeaderAction($this->initHeaderAction());
428 }
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(), ilObjBlogGUI\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 ilObjCourseGUI.

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

1391 {
1392 ilUtil::sendSuccess($this->lng->txt("object_added"), true);
1393 $this->ctrl->returnToParent($this);
1394 }
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()

ilObjectGUI::afterSave ( ilObject  $a_new_object)
protected

Post (successful) object creation hook.

Parameters
ilObject$a_new_object

Reimplemented in ilObjBlogGUI, ilObjBookingPoolGUI, ilObjCategoryGUI, ilObjCourseGUI, ilObjDataCollectionGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjItemGroupGUI, ilObjContentObjectGUI, ilObjPollGUI, ilObjPortfolioGUI, ilObjPortfolioTemplateGUI, ilObjStudyProgrammeGUI, ilObjSurveyGUI, ilObjSurveyQuestionPoolGUI, ilObjTestGUI, ilObjQuestionPoolGUI, ilObjLinkResourceGUI, ilContainerReferenceGUI, and ilObjTaxonomyGUI.

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

1099 {
1100 ilUtil::sendSuccess($this->lng->txt("object_added"), true);
1101 $this->ctrl->returnToParent($this);
1102 }

References ilUtil\sendSuccess().

Referenced by ilObjCourseVerificationGUI\save(), ilObjExerciseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjTestVerificationGUI\save(), and saveObject().

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

◆ afterUpdate()

ilObjectGUI::afterUpdate ( )
protected

Post (successful) object update hook.

Reimplemented in ilObjExternalFeedGUI, and ilContainerGUI.

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

1263 {
1264 ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"),true);
1265 $this->ctrl->redirect($this, "edit");
1266 }

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, ilObjDlBookGUI, ilObjLearningModuleGUI, ilObjSCORM2004LearningModuleGUI, ilObjAICCLearningModuleGUI, ilObjHACPLearningModuleGUI, ilObjSCORMLearningModuleGUI, ilObjLanguageExtGUI, ilObjMediaObjectGUI, and ilObject2GUI.

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

222 {
223 // TODO: it seems that we always have to pass only the ref_id
224//echo "<br>ilObjectGUIassign:".get_class($this).":".$this->id.":<br>";
225 if ($this->id != 0)
226 {
227 if ($this->call_by_reference)
228 {
229 $this->object = ilObjectFactory::getInstanceByRefId($this->id);
230 }
231 else
232 {
233 $this->object = ilObjectFactory::getInstanceByObjId($this->id);
234 }
235 }
236 }
getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id

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

Referenced by ilObjectGUI().

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

◆ cancelCreation()

ilObjectGUI::cancelCreation ( )

cancel create action and go back to repository parent

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

948 {
949 global $ilCtrl;
950
951 $ilCtrl->redirectByClass("ilrepositorygui", "frameset");
952 }
global $ilCtrl
Definition: ilias.php:18

References $ilCtrl.

◆ cancelDeleteObject()

ilObjectGUI::cancelDeleteObject ( )

cancel deletion of object

@access public

Reimplemented in ilObjStyleSettingsGUI, and ilObjStyleSheetGUI.

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

691 {
692 ilSession::clear("saved_post");
693 $this->ctrl->returnToParent($this);
694 }
static clear($a_var)
Unset a value.

References ilSession\clear().

+ Here is the call graph for this function:

◆ cancelObject()

ilObjectGUI::cancelObject (   $in_rep = false)

cancel action and go back to previous page @access public

Reimplemented in ilObjForumGUI.

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

703 {
704 ilSession::clear("saved_post");
705 $this->ctrl->returnToParent($this);
706 }

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
Returns
bool

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

1961 {
1962 if (!$this->checkPermissionBool($a_perm, $a_cmd, $a_type, $a_ref_id))
1963 {
1964 if (!is_int(strpos($_SERVER["PHP_SELF"], "goto.php")))
1965 {
1966 // create: redirect to parent
1967 if($a_perm == "create")
1968 {
1969 if(!$a_ref_id)
1970 {
1971 $a_ref_id = $_GET["ref_id"];
1972 }
1973 $type = ilObject::_lookupType($a_ref_id, true);
1974 }
1975 else
1976 {
1977 // does this make sense?
1978 if (!is_object($this->object))
1979 {
1980 return;
1981 }
1982 if (!$a_ref_id)
1983 {
1984 $a_ref_id = $this->object->getRefId();
1985 }
1986 $type = $this->object->getType();
1987 }
1988
1989 ilSession::clear("il_rep_ref_id");
1990 ilUtil::sendFailure($this->lng->txt("permission_denied"), true);
1991 ilUtil::redirect("goto.php?target=".$type."_".$a_ref_id);
1992 }
1993 // we should never be here
1994 else
1995 {
1996 die("Permission Denied.");
1997 }
1998 }
1999 }
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
static _lookupType($a_id, $a_reference=false)
lookup object type
static redirect($a_script)
http redirect to other script
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']

References $_GET, $_SERVER, ilObject\_lookupType(), checkPermissionBool(), ilSession\clear(), ilUtil\redirect(), and ilUtil\sendFailure().

Referenced by ilObjCategoryGUI\__checkGlobalRoles(), ilObjBibliographicAdminGUI\__construct(), ilObjStudyProgrammeAdminGUI\__construct(), ilObjCategoryGUI\__showRolesTable(), ilObjCategoryGUI\__showUsersTable(), ilObjMediaCastGUI\addCastItemObject(), ilObjWikiGUI\addImportantPageObject(), ilObjWikiGUI\allPagesObject(), ilObjCourseGUI\assignFromWaitingListObject(), ilObjGroupGUI\assignFromWaitingListObject(), ilObjSessionGUI\assignFromWaitingListObject(), ilObjCourseGUI\assignMembersObject(), ilObjCategoryGUI\assignRolesObject(), ilObjCategoryGUI\assignSaveObject(), ilObjCourseGUI\assignSubscribersObject(), ilObjGroupGUI\assignSubscribersObject(), ilObjSessionGUI\assignSubscribersObject(), ilObjSessionGUI\attendanceListObject(), ilObjCourseGUI\autoFillObject(), ilObjCourseGUI\confirmAssignFromWaitingListObject(), ilObjGroupGUI\confirmAssignFromWaitingListObject(), ilObjSessionGUI\confirmAssignFromWaitingListObject(), ilObjCourseGUI\confirmAssignSubscribersObject(), ilObjGroupGUI\confirmAssignSubscribersObject(), ilObjSessionGUI\confirmAssignSubscribersObject(), ilObjGroupGUI\confirmDeleteMembersObject(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjCourseGUI\confirmRefuseFromListObject(), ilObjGroupGUI\confirmRefuseFromListObject(), ilObjSessionGUI\confirmRefuseFromListObject(), ilObjCourseGUI\confirmRefuseSubscribersObject(), ilObjGroupGUI\confirmRefuseSubscribersObject(), ilObjSessionGUI\confirmRefuseSubscribersObject(), ilObjMediaCastGUI\convertFileObject(), ilObjMediaCastGUI\deleteItemsObject(), ilObjCourseGUI\deleteMembersObject(), ilObjGroupGUI\deleteMembersObject(), ilObjCourseGUI\deleteSubscribers(), ilObjCategoryGUI\deleteUsersObject(), ilObjCourseGUI\downloadArchivesObject(), ilObjMediaCastGUI\downloadItemObject(), ilObjWikiGUI\downloadUserHTMLExportObject(), ilObjMediaCastGUI\editCastItemObject(), ilObjCourseGUI\editCourseIconsObject(), ilObjGroupGUI\editGroupIconsObject(), ilObjCategoryGUI\editIconsObject(), ilObjFolderGUI\editIconsObject(), ilObjWikiGUI\editImportantPagesObject(), ilObjCategoryGUI\editInfoObject(), ilObjGroupGUI\editInfoObject(), ilObjCourseGUI\editInfoObject(), ilObjCourseGUI\editMembersObject(), ilObjGroupGUI\editMembersObject(), ilObjGroupGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilObjMediaCastGUI\editSettingsObject(), ilObjWikiGUI\editSettingsObject(), ilObjGlossaryGUI\editStyleProperties(), ilObjWikiGUI\editStylePropertiesObject(), ilContainerGUI\editStylePropertiesObject(), ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjGlossaryGUI\export(), ilObjMediaCastGUI\extractPreviewImageObject(), ilContainerGUI\forwardToPageObject(), ilObjWikiGUI\getUserHTMLExportProgressObject(), ilObjCourseGUI\infoScreen(), ilObjExerciseGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilObjMediaCastGUI\infoScreenObject(), ilObjWikiGUI\infoScreenObject(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjWikiGUI\initUserHTMLExportObject(), ilObjSessionGUI\joinObject(), ilObjCourseGUI\leaveObject(), ilObjGroupGUI\leaveObject(), ilObjWikiGUI\listContributorsObject(), ilObjMediaCastGUI\listItemsObject(), ilObjCourseGUI\mailMembersBtnObject(), ilObjCourseGUI\membersObject(), ilObjGroupGUI\membersObject(), ilObjSessionGUI\membersObject(), ilObjWikiGUI\newPagesObject(), ilObjWikiGUI\orphanedPagesObject(), ilObjCategoryGUI\performDeleteUsersObject(), ilObjCourseGUI\performRemoveFromWaitingListObject(), ilObjWikiGUI\performSearchObject(), ilObjCourseGUI\performUnsubscribeObject(), ilObjWikiGUI\popularPagesObject(), ilObjSessionGUI\printAttendanceListObject(), ilObjCourseGUI\printMembersObject(), ilObjGroupGUI\printMembersObject(), ilObjGlossaryGUI\properties(), ilObjWikiGUI\randomPageObject(), ilObjWikiGUI\recentChangesObject(), ilObjCourseGUI\refuseFromListObject(), ilObjGroupGUI\refuseFromListObject(), ilObjSessionGUI\refuseFromListObject(), ilObjCourseGUI\refuseSubscribersObject(), ilObjGroupGUI\refuseSubscribersObject(), ilObjSessionGUI\refuseSubscribersObject(), ilObjSessionGUI\registerObject(), ilObjCourseGUI\removeFromWaitingList(), ilObjWikiGUI\removeImportantPagesObject(), ilObjCourseGUI\removeMembersObject(), ilObjFolderGUI\renderObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjWikiGUI\saveGradingObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjBlogAdministrationGUI\saveSettings(), ilObjExerciseAdministrationGUI\saveSettings(), ilObjPortfolioAdministrationGUI\saveSettings(), ilObjStudyProgrammeAdminGUI\saveSettings(), ilObjWebResourceAdministrationGUI\saveSettings(), ilObjAwarenessAdministrationGUI\saveSettings(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilMembershipAdministrationGUI\saveSettings(), ilObjTaggingSettingsGUI\saveSettings(), ilObjMediaCastGUI\saveSettingsObject(), ilObjWikiGUI\saveSettingsObject(), ilObjWikiGUI\setAsStartPageObject(), ilObjExerciseGUI\showOverviewObject(), ilObjTaggingSettingsGUI\showUsers(), ilObjWikiGUI\startUserHTMLExportObject(), ilObjGroupGUI\unsubscribeObject(), ilObjCourseGUI\updateAdminStatusObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjCourseGUI\updateCourseIconsObject(), ilObjGroupGUI\updateGroupIconsObject(), ilObjCategoryGUI\updateIconsObject(), ilObjFolderGUI\updateIconsObject(), ilObjCategoryGUI\updateInfoObject(), ilObjCourseGUI\updateInfoObject(), ilObjGroupGUI\updateInfoObject(), ilObjCourseGUI\updateMemberObject(), ilObjCourseGUI\updateMembersObject(), ilObjGroupGUI\updateMembersObject(), ilObjSessionGUI\updateMembersObject(), ilObjCourseGUI\updateMemberStatusObject(), ilObjGroupGUI\updateObject(), ilContainerReferenceGUI\updateObject(), ilObjCourseGUI\updateRoleStatusObject(), ilObjGroupGUI\updateStatusObject(), ilObjCourseGUI\updateTutorStatusObject(), ilObjCourseGUI\viewObject(), ilObjFolderGUI\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 2010 of file class.ilObjectGUI.php.

2011 {
2012 global $ilAccess;
2013
2014 if($a_perm == "create")
2015 {
2016 if(!$a_ref_id)
2017 {
2018 $a_ref_id = $_GET["ref_id"];
2019 }
2020 return $ilAccess->checkAccess($a_perm."_".$a_type, $a_cmd, $a_ref_id);
2021 }
2022 else
2023 {
2024 // does this make sense?
2025 if (!is_object($this->object))
2026 {
2027 return false;
2028 }
2029 if (!$a_ref_id)
2030 {
2031 $a_ref_id = $this->object->getRefId();
2032 }
2033 return $ilAccess->checkAccess($a_perm, $a_cmd, $a_ref_id);
2034 }
2035 }

References $_GET.

Referenced by checkPermission(), cloneAllObject(), ilObjFileBasedLMGUI\createFromDirectory(), createObject(), ilObjFolderGUI\editObject(), editObject(), ilObjSkillManagementGUI\editSettings(), ilObjBookingPoolGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjRoleFolderGUI\getAdminTabs(), getAdminTabs(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), ilObjCourseGUI\hasAdminPermission(), importFileObject(), ilObjSurveyGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), isVisible(), ilObjExerciseGUI\listAssignmentsObject(), ilObjGlossaryGUI\saveObject(), saveObject(), ilObjSkillManagementGUI\saveSettings(), ilObjRoleFolderGUI\saveSettingsObject(), ilObjCategoryGUI\saveTranslationsObject(), ilObjRootFolderGUI\saveTranslationsObject(), setColumnSettings(), 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 1806 of file class.ilObjectGUI.php.

1807 {
1808 include_once('./Services/Link/classes/class.ilLink.php');
1809 include_once('Services/CopyWizard/classes/class.ilCopyWizardOptions.php');
1810
1811 global $ilErr,$ilUser;
1812
1813 $new_type = $_REQUEST['new_type'];
1814 if(!$this->checkPermissionBool("create", "", $new_type))
1815 {
1816 $ilErr->raiseError($this->lng->txt('permission_denied'));
1817 }
1818 if(!(int) $_REQUEST['clone_source'])
1819 {
1820 ilUtil::sendFailure($this->lng->txt('select_one'));
1821 $this->createObject();
1822 return false;
1823 }
1824 if(!$this->checkPermissionBool("write", "", $new_type, (int)$_REQUEST['clone_source']))
1825 {
1826 $ilErr->raiseError($this->lng->txt('permission_denied'));
1827 }
1828
1829 // Save wizard options
1831 $wizard_options = ilCopyWizardOptions::_getInstance($copy_id);
1832 $wizard_options->saveOwner($ilUser->getId());
1833 $wizard_options->saveRoot((int) $_REQUEST['clone_source']);
1834
1835 $options = $_POST['cp_options'] ? $_POST['cp_options'] : array();
1836 foreach($options as $source_id => $option)
1837 {
1838 $wizard_options->addEntry($source_id,$option);
1839 }
1840 $wizard_options->read();
1841
1842 $orig = ilObjectFactory::getInstanceByRefId((int) $_REQUEST['clone_source']);
1843 $new_obj = $orig->cloneObject((int) $_GET['ref_id'],$copy_id);
1844
1845 // Delete wizard options
1846 $wizard_options->deleteAll();
1847
1848 ilUtil::sendSuccess($this->lng->txt("object_duplicated"),true);
1849 ilUtil::redirect(ilLink::_getLink($new_obj->getRefId()));
1850 }
static _allocateCopyId()
Allocate a copy for further entries.
static _getInstance($a_copy_id)
Get instance of copy wizard options.
createObject()
create new object form
$_POST['username']
Definition: cron.php:12
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
if(!is_array($argv)) $options
global $ilUser
Definition: imgupload.php:15

References $_GET, $_POST, $_REQUEST, $ilErr, $ilUser, $options, 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 ilObjStyleSettingsGUI, and ilObjStyleSheetGUI.

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

670 {
671 global $ilSetting, $lng;
672
673 if(isset($_POST["mref_id"]))
674 {
675 $_SESSION["saved_post"] = array_unique(array_merge($_SESSION["saved_post"], $_POST["mref_id"]));
676 }
677
678 include_once("./Services/Repository/classes/class.ilRepUtilGUI.php");
679 $ru = new ilRepUtilGUI($this);
680 $ru->deleteObjects($_GET["ref_id"], ilSession::get("saved_post"));
681 ilSession::clear("saved_post");
682 $this->ctrl->returnToParent($this);
683 }
$_SESSION["AccountId"]
Repository GUI Utilities.
static get($a_var)
Get a value.
global $ilSetting
Definition: privfeed.php:40

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 713 of file class.ilObjectGUI.php.

714 {
715 global $tpl, $ilErr;
716
717 $new_type = $_REQUEST["new_type"];
718
719
720 // add new object to custom parent container
721 $this->ctrl->saveParameter($this, "crtptrefid");
722 // use forced callback after object creation
723 $this->ctrl->saveParameter($this, "crtcb");
724
725 if (!$this->checkPermissionBool("create", "", $new_type))
726 {
727 $ilErr->raiseError($this->lng->txt("permission_denied"),$ilErr->MESSAGE);
728 }
729 else
730 {
731 $this->lng->loadLanguageModule($new_type);
732 $this->ctrl->setParameter($this, "new_type", $new_type);
733
734 $forms = $this->initCreationForms($new_type);
735
736 // copy form validation error: do not show other creation forms
737 if($_GET["cpfl"] && isset($forms[self::CFORM_CLONE]))
738 {
739 $forms = array(self::CFORM_CLONE => $forms[self::CFORM_CLONE]);
740 }
741 $tpl->setContent($this->getCreationFormsHTML($forms));
742 }
743 }
getCreationFormsHTML(array $a_forms)
Get HTML for creation forms (accordion)
initCreationForms($a_new_type)
Init creation froms.

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

Referenced by ilContainerGUI\cloneAllObject(), cloneAllObject(), ilContainerGUI\cloneWizardPageObject(), ilObjForumGUI\cloneWizardPageObject(), ilObjGroupGUI\importFileObject2(), ilObjGlossaryGUI\importObject(), ilObjContentObjectGUI\importObject(), ilObjSessionGUI\saveObject(), ilObjGroupGUI\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 ilObjStyleSheetGUI.

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

1573 {
1574 global $ilCtrl;
1575
1576 if ($_GET["item_ref_id"] != "")
1577 {
1578 $_POST["id"] = array($_GET["item_ref_id"]);
1579 }
1580
1581 if(is_array($_POST["id"]))
1582 {
1583 foreach($_POST["id"] as $idx => $id)
1584 {
1585 $_POST["id"][$idx] = (int)$id;
1586 }
1587 }
1588
1589 // SAVE POST VALUES (get rid of this
1590 ilSession::set("saved_post", $_POST["id"]);
1591
1592 include_once("./Services/Repository/classes/class.ilRepUtilGUI.php");
1593 $ru = new ilRepUtilGUI($this);
1594 if (!$ru->showDeleteConfirmation($_POST["id"], $a_error))
1595 {
1596 $ilCtrl->returnToParent($this);
1597 }
1598 }
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, ilObjCourseGUI, ilObjExerciseGUI, ilObjFolderGUI, ilObjFileBasedLMGUI, ilObjSessionGUI, ilObjRoleGUI, ilObjMediaObjectGUI, ilObjTypeDefinitionGUI, ilObjStyleSheetGUI, and ilObjUserGUI.

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

1110 {
1111 global $tpl, $ilTabs;
1112
1113 if (!$this->checkPermissionBool("write"))
1114 {
1115 $this->ilias->raiseError($this->lng->txt("msg_no_perm_write"),$this->ilias->error_obj->MESSAGE);
1116 }
1117
1118 $ilTabs->activateTab("settings");
1119
1120 $form = $this->initEditForm();
1121 $values = $this->getEditFormValues();
1122 if($values)
1123 {
1124 $form->setValuesByArray($values);
1125 }
1126
1127 $this->addExternalEditFormCustom($form);
1128
1129 $tpl->setContent($form->getHTML());
1130 }
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(), 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 2084 of file class.ilObjectGUI.php.

2085 {
2086 include_once("./Services/FileUpload/classes/class.ilFileUploadGUI.php");
2088
2089 $this->tpl->enableDragDropFileUpload($this->ref_id);
2090 }
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, ilObjFileBasedLMGUI, 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, ilObjCalendarSettingsGUI, ilObjCertificateSettingsGUI, ilObjComponentSettingsGUI, ilObjContactAdministrationGUI, ilContainerGUI, ilObjObjectTemplateAdministrationGUI, ilObjHelpSettingsGUI, ilObjLanguageExtGUI, ilObjLanguageFolderGUI, ilObjLoggingSettingsGUI, ilObjMediaObjectGUI, ilObjMediaObjectsSettingsGUI, ilMembershipAdministrationGUI, ilObjMDSettingsGUI, ilObjNewsSettingsGUI, ilObjNotificationAdminGUI, ilObject2GUI, ilObjObjectFolderGUI, ilObjTypeDefinitionGUI, ilShopPurchaseGUI, ilObjPersonalDesktopSettingsGUI, ilObjPrivacySecurityGUI, ilObjectPluginGUI, ilObjRepositorySettingsGUI, ilObjSearchSettingsGUI, ilObjSkillManagementGUI, ilObjStyleSettingsGUI, ilObjStyleSheetGUI, ilObjSystemCheckGUI, ilObjTaggingSettingsGUI, ilObjTaxonomyAdministrationGUI, ilObjTaxonomyGUI, ilObjTermsOfServiceGUI, ilObjUserTrackingGUI, ilObjUserFolderGUI, ilObjUserGUI, ilObjFileAccessSettingsGUI, ilObjECSSettingsGUI, and ilRemoteObjectBaseGUI.

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

172 {
173 $next_class = $this->ctrl->getNextClass($this);
174 $cmd = $this->ctrl->getCmd();
175
176 switch($next_class)
177 {
178 default:
179 $this->prepareOutput();
180 if(!$cmd)
181 {
182 $cmd = "view";
183 }
184 $cmd .= "Object";
185 $this->$cmd();
186
187 break;
188 }
189
190 return true;
191 }
prepareOutput()
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 1784 of file class.ilObjectGUI.php.

1785 {
1786 include_once './Services/Object/classes/class.ilObjectCopyGUI.php';
1787 $cp = new ilObjectCopyGUI($this);
1788 $cp->setType($a_type);
1789 $cp->setTarget($_GET['ref_id']);
1790 if($a_tpl_varname)
1791 {
1792 $cp->showSourceSearch($a_tpl_varname);
1793 }
1794 else
1795 {
1796 return $cp->showSourceSearch(null);
1797 }
1798 }
GUI class for the workflow of copying objects.

References $_GET.

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

+ Here is the caller graph for this function:

◆ getAdminTabs()

ilObjectGUI::getAdminTabs ( $tabs_gui)

administration tabs show only permissions and trash folder

Reimplemented in ilObjSurveyAdministrationGUI, ilObjSystemFolderGUI, ilObjAssessmentFolderGUI, ilObjRoleFolderGUI, ilObjRoleGUI, ilObjRoleTemplateGUI, ilObjExternalToolsSettingsGUI, ilObjAdvancedEditingGUI, ilObjAuthSettingsGUI, ilObjHelpSettingsGUI, ilObjLanguageExtGUI, ilObjLanguageFolderGUI, ilObjMailGUI, ilObjSearchSettingsGUI, ilObjStyleSettingsGUI, ilObjStyleSheetGUI, ilObjUserTrackingGUI, ilObjUserFolderGUI, and ilObjUserGUI.

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

483 {
484 global $tree;
485
486/* if ($_GET["admin_mode"] == "repository")
487 {
488 $this->ctrl->setParameterByClass("iladministrationgui", "admin_mode", "settings");
489 $tabs_gui->setBackTarget($this->lng->txt("administration"),
490 $this->ctrl->getLinkTargetByClass("iladministrationgui", "frameset"),
491 ilFrameTargetInfo::_getFrame("MainContent"));
492 $this->ctrl->setParameterByClass("iladministrationgui", "admin_mode", "repository");
493 }*/
494
495 if ($this->checkPermissionBool("visible,read"))
496 {
497 $tabs_gui->addTarget("view",
498 $this->ctrl->getLinkTarget($this, "view"), array("", "view"), get_class($this));
499
500 }
501
502 if ($this->checkPermissionBool("edit_permission"))
503 {
504 $tabs_gui->addTarget("perm_settings",
505 $this->ctrl->getLinkTargetByClass(array(get_class($this),'ilpermissiongui'), "perm"), "", "ilpermissiongui");
506 }
507
508 if ($tree->getSavedNodeData($this->object->getRefId()))
509 {
510 $tabs_gui->addTarget("trash",
511 $this->ctrl->getLinkTarget($this, "trash"), "trash", get_class($this));
512 }
513 }

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 1856 of file class.ilObjectGUI.php.

1857 {
1858 global $ilCtrl;
1859
1860 include_once("Services/Block/classes/class.ilColumnGUI.php");
1861
1862 $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1863 $obj_type = ilObject::_lookupType($obj_id);
1864
1865 if ($ilCtrl->getNextClass() != "ilcolumngui")
1866 {
1867 // normal command processing
1868 return $this->getContent();
1869 }
1870 else
1871 {
1872 if (!$ilCtrl->isAsynch())
1873 {
1874 //if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
1876 {
1877 // right column wants center
1879 {
1880 $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1881 $this->setColumnSettings($column_gui);
1882 $this->html = $ilCtrl->forwardCommand($column_gui);
1883 }
1884 // left column wants center
1886 {
1887 $column_gui = new ilColumnGUI($obj_type, IL_COL_LEFT);
1888 $this->setColumnSettings($column_gui);
1889 $this->html = $ilCtrl->forwardCommand($column_gui);
1890 }
1891 }
1892 else
1893 {
1894 // normal command processing
1895 return $this->getContent();
1896 }
1897 }
1898 }
1899 }
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($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 769 of file class.ilObjectGUI.php.

770 {
771 global $tpl;
772
773 // #13168- sanity check
774 foreach($a_forms as $id => $form)
775 {
776 if(!$form instanceof ilPropertyFormGUI)
777 {
778 unset($a_forms[$id]);
779 }
780 }
781
782 // no accordion if there is just one form
783 if(sizeof($a_forms) == 1)
784 {
785 $form_type = key($a_forms);
786 $a_forms = array_shift($a_forms);
787
788 // see bug #0016217
789 if(method_exists($this, "getCreationFormTitle"))
790 {
791 $form_title = $this->getCreationFormTitle($form_type);
792 if ($form_title != "")
793 {
794 $a_forms->setTitle($form_title);
795 }
796 }
797 return $a_forms->getHTML();
798 }
799 else
800 {
801 include_once("./Services/Accordion/classes/class.ilAccordionGUI.php");
802
803 $acc = new ilAccordionGUI();
804 $acc->setBehaviour(ilAccordionGUI::FIRST_OPEN);
805 $cnt = 1;
806 foreach ($a_forms as $form_type => $cf)
807 {
808 $htpl = new ilTemplate("tpl.creation_acc_head.html", true, true, "Services/Object");
809
810 // using custom form titles (used for repository plugins)
811 $form_title = "";
812 if(method_exists($this, "getCreationFormTitle"))
813 {
814 $form_title = $this->getCreationFormTitle($form_type);
815 }
816 if(!$form_title)
817 {
818 $form_title = $cf->getTitle();
819 }
820
821 // move title from form to accordion
822 $htpl->setVariable("TITLE", $this->lng->txt("option")." ".$cnt.": ".
823 $form_title);
824 $cf->setTitle(null);
825 $cf->setTitleIcon(null);
826 $cf->setTableWidth("100%");
827
828 $acc->addItem($htpl->get(), $cf->getHTML());
829
830 $cnt++;
831 }
832
833 return "<div class='ilCreationFormSection'>".$acc->getHTML()."</div>";
834 }
835 }
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 1025 of file class.ilObjectGUI.php.

1026 {
1027 $tpl = $_POST["didactic_type"];
1028 if($tpl && substr($tpl, 0, strlen($a_type)+1) == $a_type."_")
1029 {
1030 return (int)substr($tpl, strlen($a_type)+1);
1031 }
1032 }

References $_POST, 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, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, ilObjPortfolioGUI, and ilObjPortfolioTemplateGUI.

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

1203 {
1204
1205 }

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 1189 of file class.ilObjectGUI.php.

1190 {
1191 $values["title"] = $this->object->getTitle();
1192 $values["desc"] = $this->object->getLongDescription();
1193 $this->getEditFormCustomValues($values);
1194 return $values;
1195 }
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 1404 of file class.ilObjectGUI.php.

1405 {
1406 if ($this->formaction[$a_cmd] != "")
1407 {
1408 return $this->formaction[$a_cmd];
1409 }
1410 else
1411 {
1412 return $a_formaction;
1413 }
1414 }

Referenced by ilObjGroupGUI\exportObject(), and ilObjCourseGUI\redirectLocToTestConfirmation().

+ Here is the caller graph for this function:

◆ getHTML()

ilObjectGUI::getHTML ( )

Reimplemented in ilObjBlogGUI, ilObjPollGUI, and ilObject2GUI.

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

517 {
518 return $this->html;
519 }
$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

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

1437 {
1438 if ($this->return_location[$a_cmd] != "")
1439 {
1440 return $this->return_location[$a_cmd];
1441 }
1442 else
1443 {
1444 return $a_location;
1445 }
1446 }

Referenced by ilObjCourseGUI\afterSave(), ilObjStudyProgrammeGUI\afterSave(), ilObjTestGUI\backToRepositoryObject(), ilObjStyleSettingsGUI\confirmedDeleteObject(), ilObjStyleSettingsGUI\saveObject(), 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 1904 of file class.ilObjectGUI.php.

1905 {
1906 global $ilUser, $lng, $ilCtrl;
1907
1908 $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1909 $obj_type = ilObject::_lookupType($obj_id);
1910
1911 include_once("Services/Block/classes/class.ilColumnGUI.php");
1912 $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1913
1914 if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
1915 {
1916 return "";
1917 }
1918
1919 $this->setColumnSettings($column_gui);
1920
1921 if ($ilCtrl->getNextClass() == "ilcolumngui" &&
1922 $column_gui->getCmdSide() == IL_COL_RIGHT &&
1923 $column_gui->getScreenMode() == IL_SCREEN_SIDE)
1924 {
1925 $html = $ilCtrl->forwardCommand($column_gui);
1926 }
1927 else
1928 {
1929 if (!$ilCtrl->isAsynch())
1930 {
1931 $html = $ilCtrl->getHTML($column_gui);
1932 }
1933 }
1934
1935 return $html;
1936 }
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 1468 of file class.ilObjectGUI.php.

1469 {
1470 if ($this->target_frame[$a_cmd] != "")
1471 {
1472 return $this->target_frame[$a_cmd];
1473 }
1474 elseif (!empty($a_target_frame))
1475 {
1476 return "target=\"".$a_target_frame."\"";
1477 }
1478 else
1479 {
1480 return;
1481 }
1482 }

◆ 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 1664 of file class.ilObjectGUI.php.

1665 {
1666 mk(); die("ilObjectGUI::getTemplateFile() is deprecated.");
1667 }

◆ getTitlesByRefId()

ilObjectGUI::getTitlesByRefId (   $a_ref_ids)
protected

get Titles of objects this method is used for error messages in methods cut/copy/paste

Parameters
arrayArray of ref_ids (integer)
Returns
array Array of titles (string) @access private

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

1678 {
1679 foreach ($a_ref_ids as $id)
1680 {
1681 // GET OBJECT TITLE
1682 $tmp_obj =& $this->ilias->obj_factory->getInstanceByRefId($id);
1683 $title[] = $tmp_obj->getTitle();
1684 unset($tmp_obj);
1685 }
1686
1687 return $title ? $title : array();
1688 }

Referenced by ilContainerGUI\copyObject(), and ilContainerGUI\cutObject().

+ Here is the caller graph for this function:

◆ 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 2097 of file class.ilObjectGUI.php.

2098 {
2099 if(ilObject::hasAutoRating($a_new_obj->getType(), $a_new_obj->getRefId()) &&
2100 method_exists($a_new_obj, "setRating"))
2101 {
2102 $a_new_obj->setRating(true);
2103 $a_new_obj->update();
2104 }
2105 }
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 1711 of file class.ilObjectGUI.php.

1712 {
1713 ilSession::set("tbl_limit", $_POST["hitsperpage"]);
1714 $_GET["limit"] = $_POST["hitsperpage"];
1715 }

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

+ Here is the call graph for this function:

◆ ilObjectGUI()

ilObjectGUI::ilObjectGUI (   $a_data,
  $a_id = 0,
  $a_call_by_reference = true,
  $a_prepare_output = true 
)

Constructor @access public.

Parameters
array??
integerobject id
booleancall be reference

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

92 {
93 global $ilias, $objDefinition, $tpl, $tree, $ilCtrl, $ilErr, $lng, $ilTabs;
94
95 $this->tabs_gui =& $ilTabs;
96
97 if (!isset($ilErr))
98 {
99 $ilErr = new ilErrorHandling();
100 $ilErr->setErrorHandling(PEAR_ERROR_CALLBACK,array($ilErr,'errorHandler'));
101 }
102 else
103 {
104 $this->ilErr =& $ilErr;
105 }
106
107 $this->ilias =& $ilias;
108 $this->objDefinition =& $objDefinition;
109 $this->tpl =& $tpl;
110 $this->html = "";
111 $this->ctrl =& $ilCtrl;
112
113 $params = array("ref_id");
114
115 if (!$a_call_by_reference)
116 {
117 $params = array("ref_id","obj_id");
118 }
119
120 $this->ctrl->saveParameter($this, $params);
121
122 $this->lng = $lng;
123 $this->tree =& $tree;
124 $this->formaction = array();
125 $this->return_location = array();
126 $this->target_frame = array();
127 $this->actions = "";
128 $this->sub_objects = "";
129
130 $this->data = $a_data;
131 $this->id = $a_id;
132 $this->call_by_reference = $a_call_by_reference;
133 $this->prepare_output = $a_prepare_output;
134 $this->creation_mode = false;
135
136 $this->ref_id = ($this->call_by_reference) ? $this->id : $_GET["ref_id"];
137 $this->obj_id = ($this->call_by_reference) ? $_GET["obj_id"] : $this->id;
138
139 if ($this->id != 0)
140 {
141 $this->link_params = "ref_id=".$this->ref_id;
142 }
143
144 // get the object
145 $this->assignObject();
146
147 // set context
148 if (is_object($this->object))
149 {
150 if ($this->call_by_reference && $this->ref_id == $_GET["ref_id"])
151 {
152 $this->ctrl->setContext($this->object->getId(),
153 $this->object->getType());
154 }
155 }
156
157 // use global $lng instead, when creating new objects object is not available
158 //$this->lng =& $this->object->lng;
159
160 //prepare output
161 if ($a_prepare_output)
162 {
163 $this->prepareOutput();
164 }
165 }
const PEAR_ERROR_CALLBACK
Definition: PEAR.php:35
$params
Definition: example_049.php:96

References $_GET, $ilCtrl, $ilErr, $ilias, $lng, $objDefinition, $params, $tpl, $tree, assignObject(), PEAR_ERROR_CALLBACK, and prepareOutput().

Referenced by ilObjBookingPoolGUI\__construct(), ilObjPaymentSettingsGUI\__construct(), ilObjRoleGUI\__construct(), ilObjNotificationAdminGUI\__construct(), ilContainerGUI\ilContainerGUI(), ilObjAdvancedEditingGUI\ilObjAdvancedEditingGUI(), ilObjAICCLearningModuleGUI\ilObjAICCLearningModuleGUI(), ilObjAssessmentFolderGUI\ilObjAssessmentFolderGUI(), ilObjAuthSettingsGUI\ilObjAuthSettingsGUI(), ilObjExerciseGUI\ilObjExerciseGUI(), ilObjExternalFeedGUI\ilObjExternalFeedGUI(), ilObjExternalToolsSettingsGUI\ilObjExternalToolsSettingsGUI(), ilObjFileAccessSettingsGUI\ilObjFileAccessSettingsGUI(), ilObjHACPLearningModuleGUI\ilObjHACPLearningModuleGUI(), ilObjLanguageExtGUI\ilObjLanguageExtGUI(), ilObjLanguageFolderGUI\ilObjLanguageFolderGUI(), ilObjLanguageGUI\ilObjLanguageGUI(), ilObjMediaCastGUI\ilObjMediaCastGUI(), ilObjObjectFolderGUI\ilObjObjectFolderGUI(), ilObjQuestionPoolGUI\ilObjQuestionPoolGUI(), ilObjRecoveryFolderGUI\ilObjRecoveryFolderGUI(), ilObjRoleFolderGUI\ilObjRoleFolderGUI(), ilObjRoleTemplateGUI\ilObjRoleTemplateGUI(), ilObjSAHSLearningModuleGUI\ilObjSAHSLearningModuleGUI(), ilObjSCORM2004LearningModuleGUI\ilObjSCORM2004LearningModuleGUI(), ilObjSCORMLearningModuleGUI\ilObjSCORMLearningModuleGUI(), ilObjSearchSettingsGUI\ilObjSearchSettingsGUI(), ilObjStyleSettingsGUI\ilObjStyleSettingsGUI(), ilObjStyleSheetGUI\ilObjStyleSheetGUI(), ilObjSurveyAdministrationGUI\ilObjSurveyAdministrationGUI(), ilObjSurveyQuestionPoolGUI\ilObjSurveyQuestionPoolGUI(), ilObjSystemFolderGUI\ilObjSystemFolderGUI(), ilObjTestGUI\ilObjTestGUI(), ilObjTypeDefinitionGUI\ilObjTypeDefinitionGUI(), ilObjUserFolderGUI\ilObjUserFolderGUI(), ilObjUserGUI\ilObjUserGUI(), ilObjUserTrackingGUI\ilObjUserTrackingGUI(), and ilObjWikiGUI\ilObjWikiGUI().

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

◆ importFileObject()

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

Import.

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

1298 {
1299 global $objDefinition, $tpl, $ilErr;
1300
1301 if(!$parent_id)
1302 {
1303 $parent_id = $_GET["ref_id"];
1304 }
1305 $new_type = $_REQUEST["new_type"];
1306
1307 // create permission is already checked in createObject. This check here is done to prevent hacking attempts
1308 if (!$this->checkPermissionBool("create", "", $new_type))
1309 {
1310 $ilErr->raiseError($this->lng->txt("no_create_permission"));
1311 }
1312
1313 $this->lng->loadLanguageModule($new_type);
1314 $this->ctrl->setParameter($this, "new_type", $new_type);
1315
1316 $form = $this->initImportForm($new_type);
1317 if ($form->checkInput())
1318 {
1319 // :todo: make some check on manifest file
1320
1321 if($objDefinition->isContainer($new_type))
1322 {
1323 include_once './Services/Export/classes/class.ilImportContainer.php';
1324 $imp = new ilImportContainer((int)$parent_id);
1325 }
1326 else
1327 {
1328 include_once("./Services/Export/classes/class.ilImport.php");
1329 $imp = new ilImport((int)$parent_id);
1330 }
1331
1332 try
1333 {
1334 $new_id = $imp->importObject(null, $_FILES["importfile"]["tmp_name"],
1335 $_FILES["importfile"]["name"], $new_type);
1336 }
1337 catch (ilException $e)
1338 {
1339 $this->tmp_import_dir = $imp->getTemporaryImportDir();
1340 if (!$a_catch_errors)
1341 {
1342 throw $e;
1343 }
1344 // display message and form again
1345 ilUtil::sendFailure($this->lng->txt("obj_import_file_error")." <br />".$e->getMessage());
1346 $form->setValuesByPost();
1347 $tpl->setContent($form->getHtml());
1348 return;
1349 }
1350
1351 if ($new_id > 0)
1352 {
1353 $this->ctrl->setParameter($this, "new_type", "");
1354
1355 $newObj = ilObjectFactory::getInstanceByObjId($new_id);
1356
1357 // put new object id into tree - already done in import for containers
1358 if(!$objDefinition->isContainer($new_type))
1359 {
1360 $this->putObjectInTree($newObj);
1361 }
1362
1363 $this->afterImport($newObj);
1364 }
1365 // import failed
1366 else
1367 {
1368 if($objDefinition->isContainer($new_type))
1369 {
1370 ilUtil::sendFailure($this->lng->txt("container_import_zip_file_invalid"));
1371 }
1372 else
1373 {
1374 // not enough information here...
1375 return;
1376 }
1377 }
1378 }
1379
1380 // display form to correct errors
1381 $form->setValuesByPost();
1382 $tpl->setContent($form->getHtml());
1383 }
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, $_REQUEST, $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, ilObjGroupGUI, ilObjItemGroupGUI, ilObjPortfolioGUI, ilObjSessionGUI, ilObjLinkResourceGUI, ilContainerReferenceGUI, and ilObjectPluginGUI.

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

844 {
845 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
846 $form = new ilPropertyFormGUI();
847 $form->setTarget("_top");
848 $form->setFormAction($this->ctrl->getFormAction($this, "save"));
849 $form->setTitle($this->lng->txt($a_new_type."_new"));
850
851 // title
852 $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
853 $ti->setSize(min(40, ilObject::TITLE_LENGTH));
854 $ti->setMaxLength(ilObject::TITLE_LENGTH);
855 $ti->setRequired(true);
856 $form->addItem($ti);
857
858 // description
859 $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
860 $ta->setCols(40);
861 $ta->setRows(2);
862 $form->addItem($ta);
863
864 $form = $this->initDidacticTemplate($form);
865
866 $form->addCommandButton("save", $this->lng->txt($a_new_type."_add"));
867 $form->addCommandButton("cancel", $this->lng->txt("cancel"));
868
869 return $form;
870 }
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, ilObjFileBasedLMGUI, ilObjItemGroupGUI, ilObjMediaCastGUI, ilObjMediaPoolGUI, ilObjOrgUnitGUI, ilObjPortfolioGUI, ilObjSAHSLearningModuleGUI, ilObjStudyProgrammeGUI, ilObjSurveyQuestionPoolGUI, ilObjWikiGUI, ilObjWorkspaceFolderGUI, ilObject2GUI, and ilObjectPluginGUI.

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

754 {
755 $forms = array(
756 self::CFORM_NEW => $this->initCreateForm($a_new_type),
757 self::CFORM_IMPORT => $this->initImportForm($a_new_type),
758 self::CFORM_CLONE => $this->fillCloneTemplate(null, $a_new_type)
759 );
760
761 return $forms;
762 }
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 877 of file class.ilObjectGUI.php.

878 {
879 global $lng;
880
881 $lng->loadLanguageModule('didactic');
882
883 $options = array();
884 $options['dtpl_0'] = array($this->lng->txt('didactic_default_type'),
885 sprintf(
886 $this->lng->txt('didactic_default_type_info'),
887 $this->lng->txt('objs_'.$this->type)
888 ));
889
890 include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateSettings.php';
891 $templates = ilDidacticTemplateSettings::getInstanceByObjectType($this->type)->getTemplates();
892 if($templates)
893 {
894 foreach($templates as $template)
895 {
896 $options["dtpl_".$template->getId()] = array($template->getTitle(),
897 $template->getDescription());
898 }
899 }
900
902
903 if(sizeof($options) > 1)
904 {
905 $type = new ilRadioGroupInputGUI(
906 $this->lng->txt('type'),
907 'didactic_type'
908 );
909 // workaround for containers in edit mode
910 if(!$this->getCreationMode())
911 {
912 include_once './Services/DidacticTemplate/classes/class.ilDidacticTemplateObjSettings.php';
913 $type->setValue(
914 'dtpl_'.ilDidacticTemplateObjSettings::lookupTemplateId($this->object->getRefId())
915 );
916 }
917 else
918 {
919 $type->setValue('dtpl_0');
920 }
921 $form->addItem($type);
922
924 foreach($options as $id => $data)
925 {
926 $option = new ilRadioOption($data[0], $id, $data[1]);
927 $type->addOption($option);
928 }
929 }
930
931 return $form;
932 }
static lookupTemplateId($a_ref_id)
Lookup template id @global ilDB $ilDB.
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.
static sortArray($array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray

References $data, $lng, $options, addDidacticTemplateOptions(), ilPropertyFormGUI\addItem(), getCreationMode(), ilDidacticTemplateSettings\getInstanceByObjectType(), ilDidacticTemplateObjSettings\lookupTemplateId(), and ilUtil\sortArray().

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

+ 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, ilObjMediaPoolGUI, ilObjPollGUI, ilObjPortfolioBaseGUI, and ilObjPortfolioTemplateGUI.

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

1180 {
1181
1182 }

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 1142 of file class.ilObjectGUI.php.

1143 {
1144 global $lng, $ilCtrl;
1145
1146 $lng->loadLanguageModule($this->object->getType());
1147
1148 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
1149 $form = new ilPropertyFormGUI();
1150 $form->setFormAction($this->ctrl->getFormAction($this, "update"));
1151 $form->setTitle($this->lng->txt($this->object->getType()."_edit"));
1152
1153 // title
1154 $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
1155 $ti->setSize(min(40, ilObject::TITLE_LENGTH));
1156 $ti->setMaxLength(ilObject::TITLE_LENGTH);
1157 $ti->setRequired(true);
1158 $form->addItem($ti);
1159
1160 // description
1161 $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
1162 $ta->setCols(40);
1163 $ta->setRows(2);
1164 $form->addItem($ta);
1165
1166 $this->initEditCustomForm($form);
1167
1168 $form->addCommandButton("update", $this->lng->txt("save"));
1169 //$this->form->addCommandButton("cancelUpdate", $lng->txt("cancel"));
1170
1171 return $form;
1172 }
initEditCustomForm(ilPropertyFormGUI $a_form)
Add custom fields to update form.

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

Referenced by ilObjFolderGUI\editObject(), editObject(), 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 361 of file class.ilObjectGUI.php.

362 {
363 global $ilAccess;
364
365 if(!$this->creation_mode && $this->object)
366 {
367 include_once "Services/Object/classes/class.ilCommonActionDispatcherGUI.php";
369 $ilAccess, $this->object->getType(), $this->ref_id, $this->object->getId());
370
371 $dispatcher->setSubObject($a_sub_type, $a_sub_id);
372
373 include_once "Services/Object/classes/class.ilObjectListGUI.php";
374 ilObjectListGUI::prepareJSLinks($this->ctrl->getLinkTarget($this, "redrawHeaderAction", "", true),
375 $this->ctrl->getLinkTargetByClass(array("ilcommonactiondispatchergui", "ilnotegui"), "", "", true, false),
376 $this->ctrl->getLinkTargetByClass(array("ilcommonactiondispatchergui", "iltagginggui"), "", "", true, false));
377
378 $lg = $dispatcher->initHeaderAction();
379
380 if (is_object($lg))
381 {
382 // to enable add to desktop / remove from desktop
383 if($this instanceof ilDesktopItemHandling)
384 {
385 $lg->setContainerObject($this);
386 }
387
388 // enable multi download
389 $lg->enableMultiDownload(true);
390
391 // comments settings are always on (for the repository)
392 // should only be shown if active or permission to toggle
393 include_once "Services/Notes/classes/class.ilNote.php";
394 if($ilAccess->checkAccess("write", "", $this->ref_id) ||
395 $ilAccess->checkAccess("edit_permissions", "", $this->ref_id) ||
396 ilNote::commentsActivated($this->object->getId(), 0, $this->object->getType()))
397 {
398 $lg->enableComments(true);
399 }
400
401 $lg->enableNotes(true);
402 $lg->enableTags(true);
403 }
404
405 return $lg;
406 }
407 }
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 ilObjSurveyGUI, ilObjSurveyQuestionPoolGUI, ilObjTestGUI, ilObjQuestionPoolGUI, and ilObjectPluginGUI.

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

1275 {
1276 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
1277 $form = new ilPropertyFormGUI();
1278 $form->setTarget("_top");
1279 $form->setFormAction($this->ctrl->getFormAction($this, "importFile"));
1280 $form->setTitle($this->lng->txt($a_new_type."_import"));
1281
1282 include_once("./Services/Form/classes/class.ilFileInputGUI.php");
1283 $fi = new ilFileInputGUI($this->lng->txt("import_file"), "importfile");
1284 $fi->setSuffixes(array("zip"));
1285 $fi->setRequired(true);
1286 $form->addItem($fi);
1287
1288 $form->addCommandButton("importFile", $this->lng->txt("import"));
1289 $form->addCommandButton("cancel", $this->lng->txt("cancel"));
1290
1291 return $form;
1292 }
This class represents a file property in a property form.

Referenced by importFileObject(), ilObjFileBasedLMGUI\initCreationForms(), ilObjMediaCastGUI\initCreationForms(), ilObjMediaPoolGUI\initCreationForms(), ilObjOrgUnitGUI\initCreationForms(), ilObjWikiGUI\initCreationForms(), initCreationForms(), and ilObjFileGUI\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 414 of file class.ilObjectGUI.php.

415 {
416 if(is_object($a_list_gui))
417 {
418 $this->tpl->setHeaderActionMenu($a_list_gui->getHeaderAction());
419 }
420 }

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

+ Here is the caller graph for this function:

◆ isVisible()

ilObjectGUI::isVisible (   $a_ref_id,
  $a_type 
)

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

1498 {
1499 global $ilBench;
1500
1501 $ilBench->start("Explorer", "setOutput_isVisible");
1502 $visible = $this->checkPermissionBool("visible,read", "", "", $a_ref_id);
1503
1504 if ($visible && $a_type == 'crs') {
1505 global $tree;
1506 if($crs_id = $tree->checkForParentType($a_ref_id,'crs'))
1507 {
1508 if(!$this->checkPermissionBool("write", "", "", $crs_id))
1509 {
1510 // Show only activated courses
1511 $tmp_obj =& ilObjectFactory::getInstanceByRefId($crs_id,false);
1512
1513 if(!$tmp_obj->isActivated())
1514 {
1515 unset($tmp_obj);
1516 $visible = false;
1517 }
1518 if(($crs_id != $a_ref_id) and $tmp_obj->isArchived())
1519 {
1520 $visible = false;
1521 }
1522 }
1523 }
1524 }
1525
1526 $ilBench->stop("Explorer", "setOutput_isVisible");
1527
1528 return $visible;
1529 }
global $ilBench
Definition: ilias.php:18

References $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 622 of file class.ilObjectGUI.php.

623 {
624 $this->omit_locator = $a_omit;
625 }

◆ prepareOutput()

ilObjectGUI::prepareOutput ( )
protected

prepare output

Reimplemented in ilObjCourseGUI, ilObjGroupGUI, ilObjSessionGUI, and ilObject2GUI.

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

242 {
243 global $ilLocator, $tpl, $ilUser;
244
245 $this->tpl->getStandardTemplate();
246 // administration prepare output
247 if (strtolower($_GET["baseClass"]) == "iladministrationgui")
248 {
249 $this->addAdminLocatorItems();
250 $tpl->setLocator();
251
252// ilUtil::sendInfo();
254
255 $this->setTitleAndDescription();
256
257 if ($this->getCreationMode() != true)
258 {
259 $this->setAdminTabs();
260 }
261
262 return false;
263 }
264 // set locator
265 $this->setLocator();
266 // catch feedback message
267// ilUtil::sendInfo();
269
270 // in creation mode (parent) object and gui object
271 // do not fit
272 if ($this->getCreationMode() == true)
273 {
274 // repository vs. workspace
275 if($this->call_by_reference)
276 {
277 // get gui class of parent and call their title and description method
278 $obj_type = ilObject::_lookupType($_GET["ref_id"],true);
279 $class_name = $this->objDefinition->getClassName($obj_type);
280 $class = strtolower("ilObj".$class_name."GUI");
281 $class_path = $this->ctrl->lookupClassPath($class);
282 include_once($class_path);
283 $class_name = $this->ctrl->getClassForClasspath($class_path);
284//echo "<br>instantiating parent for title and description";
285 $this->parent_gui_obj = new $class_name("", $_GET["ref_id"], true, false);
286 // the next line prevents the header action menu being shown
287 $this->parent_gui_obj->setCreationMode(true);
288 $this->parent_gui_obj->setTitleAndDescription();
289 }
290 }
291 else
292 {
293 // set title and description and title icon
294 $this->setTitleAndDescription();
295
296 // set tabs
297 $this->setTabs();
298
299 // BEGIN WebDAV: Display Mount Webfolder icon.
300 require_once 'Services/WebDAV/classes/class.ilDAVServer.php';
301 if (ilDAVServer::_isActive() &&
302 $ilUser->getId() != ANONYMOUS_USER_ID)
303 {
304 $this->showMountWebfolderIcon();
305 }
306 // END WebDAV: Display Mount Webfolder icon.
307
308 // fileupload support
309 require_once './Services/FileUpload/classes/class.ilFileUploadUtil.php';
310 if (ilFileUploadUtil::isUploadAllowed($this->ref_id, $this->object->getType()))
311 {
312 $this->enableDragDropFileUpload();
313 }
314 }
315
316 return true;
317 }
static _isActive()
Static getter.
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, ilDAVServer\_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(), ilObjCategoryGUI\executeCommand(), ilObjCategoryReferenceGUI\executeCommand(), ilObjCourseReferenceGUI\executeCommand(), ilObjExerciseAdministrationGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjExternalFeedGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjForumAdministrationGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjLearningResourcesSettingsGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjMediaCastSettingsGUI\executeCommand(), ilObjPortfolioAdministrationGUI\executeCommand(), ilObjRootFolderGUI\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(), ilObjRecoveryFolderGUI\executeCommand(), ilObjAdvancedEditingGUI\executeCommand(), ilObjAuthSettingsGUI\executeCommand(), ilObjAwarenessAdministrationGUI\executeCommand(), ilObjCalendarSettingsGUI\executeCommand(), ilObjCertificateSettingsGUI\executeCommand(), ilObjComponentSettingsGUI\executeCommand(), ilContainerGUI\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(), ilObjectGUI(), 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 1040 of file class.ilObjectGUI.php.

1041 {
1042 global $rbacreview, $ilUser, $objDefinition;
1043
1044 if(!$a_parent_node_id)
1045 {
1046 $a_parent_node_id = $_GET["ref_id"];
1047 }
1048
1049 // add new object to custom parent container
1050 if((int)$_REQUEST["crtptrefid"])
1051 {
1052 $a_parent_node_id = (int)$_REQUEST["crtptrefid"];
1053 }
1054
1055 $a_obj->createReference();
1056 $a_obj->putInTree($a_parent_node_id);
1057 $a_obj->setPermissions($a_parent_node_id);
1058
1059 $this->obj_id = $a_obj->getId();
1060 $this->ref_id = $a_obj->getRefId();
1061
1062 // BEGIN ChangeEvent: Record save object.
1063 require_once('Services/Tracking/classes/class.ilChangeEvent.php');
1064 ilChangeEvent::_recordWriteEvent($this->obj_id, $ilUser->getId(), 'create');
1065 // END ChangeEvent: Record save object.
1066
1067 // rbac log
1068 include_once "Services/AccessControl/classes/class.ilRbacLog.php";
1069 $rbac_log_roles = $rbacreview->getParentRoleIds($this->ref_id, false);
1070 $rbac_log = ilRbacLog::gatherFaPa($this->ref_id, array_keys($rbac_log_roles), true);
1071 ilRbacLog::add(ilRbacLog::CREATE_OBJECT, $this->ref_id, $rbac_log);
1072
1073 // use forced callback after object creation
1074 if($_REQUEST["crtcb"])
1075 {
1076 $callback_type = ilObject::_lookupType((int)$_REQUEST["crtcb"], true);
1077 $class_name = "ilObj".$objDefinition->getClassName($callback_type)."GUI";
1078 $location = $objDefinition->getLocation($callback_type);
1079 include_once($location."/class.".$class_name.".php");
1080 if (in_array(strtolower($class_name), array("ilobjitemgroupgui")))
1081 {
1082 $callback_obj = new $class_name((int)$_REQUEST["crtcb"]);
1083 }
1084 else
1085 {
1086 // #10368
1087 $callback_obj = new $class_name(null, (int)$_REQUEST["crtcb"], true, false);
1088 }
1089 $callback_obj->afterSaveCallback($a_obj);
1090 }
1091 }
$location
Definition: buildRTE.php:44
_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, $_REQUEST, $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(), importFileObject(), ilObjSurveyGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjGlossaryGUI\saveObject(), ilObjGroupGUI\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.

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

1766 {
1767 $obj_type = ilObject::_lookupType($a_ref_id,true);
1768 $class_name = $this->objDefinition->getClassName($obj_type);
1769 $class = strtolower("ilObj".$class_name."GUI");
1770 $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $a_ref_id);
1771 $this->ctrl->redirectByClass(array("ilrepositorygui", $class), $a_cmd);
1772 }

References ilObject\_lookupType().

Referenced by ilObjCloudGUI\afterSave(), 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 433 of file class.ilObjectGUI.php.

434 {
435 global $tpl;
436
437 $lg = $this->initHeaderAction();
438 echo $lg->getHeaderAction();
439
440 // we need to add onload code manually (rating, comments, etc.)
441 echo $tpl->getOnLoadCodeForAsynch();
442
443 exit;
444 }

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

+ Here is the call graph for this function:

◆ saveObject()

ilObjectGUI::saveObject ( )

save object

@access public

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

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

960 {
961 global $objDefinition, $tpl;
962
963 $new_type = $_REQUEST["new_type"];
964
965 // create permission is already checked in createObject. This check here is done to prevent hacking attempts
966 if (!$this->checkPermissionBool("create", "", $new_type))
967 {
968 $this->ilias->raiseError($this->lng->txt("no_create_permission"), $this->ilias->error_obj->MESSAGE);
969 }
970
971 $this->lng->loadLanguageModule($new_type);
972 $this->ctrl->setParameter($this, "new_type", $new_type);
973
974 $form = $this->initCreateForm($new_type);
975 if ($form->checkInput())
976 {
977 $this->ctrl->setParameter($this, "new_type", "");
978
979 // create instance
980 $class_name = "ilObj".$objDefinition->getClassName($new_type);
981 $location = $objDefinition->getLocation($new_type);
982 include_once($location."/class.".$class_name.".php");
983 $newObj = new $class_name();
984 $newObj->setType($new_type);
985 $newObj->setTitle($form->getInput("title"));
986 $newObj->setDescription($form->getInput("desc"));
987 $newObj->create();
988
989 $this->putObjectInTree($newObj);
990
991 // apply didactic template?
992 $dtpl = $this->getDidacticTemplateVar("dtpl");
993 if($dtpl)
994 {
995 $newObj->applyDidacticTemplate($dtpl);
996 }
997
998 // auto rating
999 $this->handleAutoRating($newObj);
1000
1001 // additional paramters are added to afterSave()
1002 $args = func_get_args();
1003 if($args)
1004 {
1005 $this->afterSave($newObj, $args);
1006 }
1007 else
1008 {
1009 $this->afterSave($newObj);
1010 }
1011 return;
1012 }
1013
1014 // display only this form to correct input
1015 $form->setValuesByPost();
1016 $tpl->setContent($form->getHtml());
1017 }
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 $_REQUEST, $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 528 of file class.ilObjectGUI.php.

529 {
530 if (is_array($a_actions))
531 {
532 foreach ($a_actions as $name => $lng)
533 {
534 $this->actions[$name] = array("name" => $name, "lng" => $lng);
535 }
536 }
537 else
538 {
539 $this->actions = "";
540 }
541 }

References $lng.

◆ setAdminTabs()

ilObjectGUI::setAdminTabs ( )
finalprotected

set admin tabs @access public

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

475 {
476 $this->getAdminTabs($this->tabs_gui);
477 }
getAdminTabs(&$tabs_gui)
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 (   $column_gui)
protected

May be overwritten in subclasses.

Reimplemented in ilCourseContentGUI, ilContainerGUI, and ilObject2GUI.

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

1942 {
1943 $column_gui->setRepositoryMode(true);
1944 $column_gui->setEnableEdit(false);
1945 if ($this->checkPermissionBool("write"))
1946 {
1947 $column_gui->setEnableEdit(true);
1948 }
1949 }

References checkPermissionBool().

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 208 of file class.ilObjectGUI.php.

209 {
210 $this->creation_mode = $a_mode;
211 }

Referenced by 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 1424 of file class.ilObjectGUI.php.

1425 {
1426 $this->formaction[$a_cmd] = $a_formaction;
1427 }

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 ilObject2GUI.

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

573 {
574 global $ilLocator, $tpl;
575
576 if ($this->omit_locator)
577 {
578 return;
579 }
580
581 // repository vs. workspace
582 if($this->call_by_reference)
583 {
584 // todo: admin workaround
585 // in the future, objectgui classes should not be called in
586 // admin section anymore (rbac/trash handling in own classes)
587 $ref_id = ($_GET["ref_id"] != "")
588 ? $_GET["ref_id"]
589 : $this->object->getRefId();
590 $ilLocator->addRepositoryItems($ref_id);
591 }
592
593 if(!$this->creation_mode)
594 {
595 $this->addLocatorItems();
596 }
597
598 // not so nice workaround: todo: handle $ilLocator as tabs in ilTemplate
599 if ($_GET["admin_mode"] == "" &&
600 strtolower($this->ctrl->getCmdClass()) == "ilobjrolegui")
601 {
602 $this->ctrl->setParameterByClass("ilobjrolegui",
603 "rolf_ref_id", $_GET["rolf_ref_id"]);
604 $this->ctrl->setParameterByClass("ilobjrolegui",
605 "obj_id", $_GET["obj_id"]);
606 $ilLocator->addItem($this->lng->txt("role"),
607 $this->ctrl->getLinkTargetByClass(array("ilpermissiongui",
608 "ilobjrolegui"), "perm"));
609 }
610
611 $tpl->setLocator();
612 }
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(), ilObjTestGUI\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

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

1456 {
1457//echo "-".$a_cmd."-".$a_location."-";
1458 $this->return_location[$a_cmd] = $a_location;
1459 }

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 549 of file class.ilObjectGUI.php.

550 {
551 if (is_array($a_sub_objects))
552 {
553 foreach ($a_sub_objects as $name => $options)
554 {
555 $this->sub_objects[$name] = array("name" => $name, "max" => $options["max"]);
556 }
557 }
558 else
559 {
560 $this->sub_objects = "";
561 }
562 }

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, ilObjWorkspaceRootFolderGUI, ilObjMediaObjectGUI, ilObjNotificationAdminGUI, ilObject2GUI, ilObjStyleSettingsGUI, ilObjStyleSheetGUI, and ilRemoteObjectBaseGUI.

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

466 {
467 $this->getTabs($this->tabs_gui);
468 }
getTabs(&$tabs_gui)
get tabs abstract method.

References getTabs().

Referenced by ilObjContentObjectGUI\addBibItem(), ilObjContentObjectGUI\addMenuEntry(), ilObjDlBookGUI\addTranslation(), ilObjContentObjectGUI\chapters(), ilObjContentObjectGUI\delete(), ilObjContentObjectGUI\deleteBibItem(), ilObjContentObjectGUI\editBibItem(), ilObjContentObjectGUI\editGlossaries(), 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\saveBibItem(), 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 1491 of file class.ilObjectGUI.php.

1492 {
1493 $this->target_frame[$a_cmd] = "target=\"".$a_target_frame."\"";
1494 }

◆ setTitleAndDescription()

ilObjectGUI::setTitleAndDescription ( )
protected

called by prepare output

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

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

323 {
324 if (!is_object($this->object))
325 {
326 if ((int) $_REQUEST["crtptrefid"] > 0)
327 {
328 $cr_obj_id = ilObject::_lookupObjId((int) $_REQUEST["crtcb"]);
329 $this->tpl->setTitle(ilObject::_lookupTitle($cr_obj_id));
330 $this->tpl->setTitleIcon(ilObject::_getIcon($cr_obj_id));
331 }
332 return;
333 }
334 $this->tpl->setTitle($this->object->getPresentationTitle());
335 $this->tpl->setDescription($this->object->getLongDescription());
336
337 if (strtolower($_GET["baseClass"]) == "iladministrationgui")
338 {
339 // alt text would be same as heading -> empty alt text
340 $this->tpl->setTitleIcon(ilObject::_getIcon("", "big", $this->object->getType()));
341 }
342 else
343 {
344 $this->tpl->setTitleIcon(ilObject::_getIcon("", "big", $this->object->getType()),
345 $this->lng->txt("obj_" . $this->object->getType()));
346 }
347
348 include_once './Services/Object/classes/class.ilObjectListGUIFactory.php';
349 $lgui = ilObjectListGUIFactory::_getListGUIByType($this->object->getType());
350 $lgui->initItem($this->object->getRefId(), $this->object->getId());
351 $this->tpl->setAlertProperties($lgui->getAlertProperties());
352 }
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, $_REQUEST, 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 447 of file class.ilObjectGUI.php.

448 {
449 global $tree, $tpl, $objDefinition;
450
451 if ($this->object->getRefId() == "")
452 {
453 return;
454 }
455
456 $tpl->setMountWebfolderIcon($this->object->getRefId());
457 }

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, ilObjRecoveryFolderGUI, ilContainerGUI, ilObject2GUI, and ilObjUserFolderGUI.

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

1606 {
1607 if ($this->sub_objects == "")
1608 {
1609 $d = $this->objDefinition->getCreatableSubObjects($this->object->getType(), ilObjectDefinition::MODE_REPOSITORY, $this->ref_id);
1610 }
1611 else
1612 {
1614 }
1615
1616 $import = false;
1617
1618 if (count($d) > 0)
1619 {
1620 foreach ($d as $row)
1621 {
1622 $count = 0;
1623
1624 if ($row["max"] > 0)
1625 {
1626 //how many elements are present?
1627 for ($i=0; $i<count($this->data["ctrl"]); $i++)
1628 {
1629 if ($this->data["ctrl"][$i]["type"] == $row["name"])
1630 {
1631 $count++;
1632 }
1633 }
1634 }
1635
1636 if ($row["max"] == "" || $count < $row["max"])
1637 {
1638 $subobj[] = $row["name"];
1639 }
1640 }
1641 }
1642
1643 if (is_array($subobj))
1644 {
1645
1646 //build form
1647 $opts = ilUtil::formSelect(12,"new_type",$subobj);
1648 $this->tpl->setCurrentBlock("add_object");
1649 $this->tpl->setVariable("SELECT_OBJTYPE", $opts);
1650 $this->tpl->setVariable("BTN_NAME", "create");
1651 $this->tpl->setVariable("TXT_ADD", $this->lng->txt("add"));
1652 $this->tpl->parseCurrentBlock();
1653 }
1654 }
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.

Referenced by ilObjStyleSettingsGUI\showActions().

+ Here is the call graph for this function:
+ Here is the caller 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 1254 of file class.ilObjectGUI.php.

1255 {
1256
1257 }

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 1210 of file class.ilObjectGUI.php.

1211 {
1212 global $ilTabs, $tpl;
1213
1214 if (!$this->checkPermissionBool("write"))
1215 {
1216 $this->ilias->raiseError($this->lng->txt("permission_denied"),$this->ilias->error_obj->MESSAGE);
1217 }
1218
1219 $form = $this->initEditForm();
1220 if($form->checkInput() &&
1221 $this->validateCustom($form))
1222 {
1223 $this->object->setTitle($form->getInput("title"));
1224 $this->object->setDescription($form->getInput("desc"));
1225 $this->updateCustom($form);
1226 $this->object->update();
1227
1228 $this->afterUpdate();
1229 return;
1230 }
1231
1232 // display form again to correct errors
1233 $ilTabs->activateTab("settings");
1234 $form->setValuesByPost();
1235 $tpl->setContent($form->getHtml());
1236 }
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 1244 of file class.ilObjectGUI.php.

1245 {
1246 return true;
1247 }

◆ viewObject()

ilObjectGUI::viewObject ( )

list childs of current object

@access public

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

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

1538 {
1539 global$tpl;
1540
1541 if (!$this->checkPermissionBool("visible,read"))
1542 {
1543 $this->ilias->raiseError($this->lng->txt("permission_denied"),$this->ilias->error_obj->MESSAGE);
1544 }
1545
1546 // BEGIN ChangeEvent: record read event.
1547 require_once('Services/Tracking/classes/class.ilChangeEvent.php');
1548 global $ilUser;
1550 $this->object->getType(),
1551 $this->object->getRefId(),
1552 $this->object->getId(), $ilUser->getId());
1553 // END ChangeEvent: record read event.
1554
1555 include_once("./Services/Repository/classes/class.ilAdminSubItemsTableGUI.php");
1556 if (!$this->call_by_reference)
1557 {
1558 $this->ctrl->setParameter($this, "obj_id", $this->obj_id);
1559 }
1560 $itab = new ilAdminSubItemsTableGUI($this, "view", $_GET["ref_id"]);
1561
1562 $tpl->setContent($itab->getHTML());
1563 }
TableGUI class for sub items listed in repository administration.
_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(), ilObjectPluginGUI\executeCommand(), 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 197 of file class.ilObjectGUI.php.

198 {
199 return $this->call_by_reference;
200 }

Field Documentation

◆ $actions

◆ $data

ilObjectGUI::$data

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

Referenced by ilCourseContentGUI\__buildPath(), ilObjPaymentSettingsGUI\__getHTMLPath(), ilContainerGUI\_buildPath(), ilObjFileBasedLMGUI\addBibItemObject(), ilObjContentObjectGUI\addBibItemObject(), ilObjTestGUI\addQuestionObject(), ilObjTestGUI\areSkillLevelThresholdsMissing(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilContainerGUI\clipboardObject(), ilObjSCORM2004LearningModuleGUI\confirmDeleteExportFile(), ilObjSurveyQuestionPoolGUI\confirmDeleteExportFileObject(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjObjectFolderGUI\displayList(), ilObjTypeDefinitionGUI\displayList(), ilObjStyleSettingsGUI\editContentStylesObject(), ilObjTypeDefinitionGUI\editObject(), ilObjRootFolderGUI\editTranslationsObject(), ilObjCategoryGUI\editTranslationsObject(), ilObjGroupGUI\exportMembersObject(), ilObjSurveyQuestionPoolGUI\exportObject(), ilContainerGUI\getAsynchItemListObject(), ilObjGroupGUI\getAttendanceListUserData(), ilObjSessionGUI\getAttendanceListUserData(), ilObjUserGUI\getValues(), initDidacticTemplate(), ilObjAssessmentFolderGUI\logAdminObject(), ilObjPaymentSettingsGUI\objectsObject(), ilObjTestGUI\participantsObject(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjTestGUI\questionsObject(), ilObjRoleGUI\readRoleProperties(), ilObjTestGUI\removeQuestionsForm(), ilObjSystemFolderGUI\saveHeaderTitleObject(), ilObjDlBookGUI\showCitation(), ilObjSCORM2004LearningModuleGUI\showExportList(), ilObjSystemFolderGUI\showHeaderTitleObject(), 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 ilObjRoleGUI\__construct(), ilObjCalendarSettingsGUI\__construct(), ilContainerReferenceGUI\__construct(), ilObjMDSettingsGUI\__construct(), ilObjPersonalDesktopSettingsGUI\__construct(), ilObjECSSettingsGUI\__construct(), ilObjTaxonomyGUI\__construct(), ilObjBibliographicGUI\__construct(), ilObjBlogGUI\__construct(), ilObjCloudGUI\__construct(), ilObjPollGUI\__construct(), ilObject2GUI\__construct(), ilObjOrgUnitGUI\__construct(), ilObjStudyProgrammeGUI\__construct(), ilObjSurveyGUI\__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(), ilContainerReferenceGUI\_prepareSelection(), ilObjSCORM2004LearningModuleGUI\activateExpertMode(), ilObjHelpSettingsGUI\activateModule(), ilObjComponentSettingsGUI\activatePlugin(), ilObjLinkResourceGUI\activateTabs(), ilObjExerciseGUI\addContentSubTabs(), ilObjMediaCastGUI\addContentSubTabs(), ilObjBlogGUI\addContributor(), ilObjDataCollectionGUI\addHeaderAction(), ilObjSystemFolderGUI\addHeaderTitleObject(), ilObjWikiGUI\addImportantPageObject(), ilObjDataCollectionGUI\addListFieldsTabs(), ilObjContentObjectGUI\addLocations(), ilObjBibliographicGUI\addNews(), ilObjTestGUI\addQuestionObject(), ilObjExternalToolsSettingsGUI\addSocialBookmarkObject(), ilContainerGUI\addStandardContainerSubTabs(), ilObjStyleSettingsGUI\addStyleCatAssignmentObject(), ilObjTaggingSettingsGUI\addSubTabs(), ilObjContentObjectGUI\addTabs(), ilObjGlossaryGUI\addTerm(), ilObjBlogGUI\addToDeskObject(), ilContainerGUI\addToDeskObject(), ilObjContentObjectGUI\addTooltip(), ilObjGlossaryGUI\addUsagesToInfo(), ilObjBlogGUI\addUserFromAutoComplete(), ilObjItemGroupGUI\afterConstructor(), ilObjMediaPoolGUI\afterConstructor(), ilObjTaxonomyGUI\afterSave(), ilObjCloudGUI\afterServiceAuth(), ilObjStyleSettingsGUI\assignStylesToCatsObject(), ilObjGroupGUI\assignSubscribersObject(), ilObjSystemFolderGUI\benchmarkObject(), ilObjSystemFolderGUI\benchmarkSubTabs(), ilObjBlogGUI\buildExportTemplate(), ilObjTestGUI\buildPageViewToolbar(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjStyleSheetGUI\cancelCharacteristicDeletionObject(), ilObjStyleSheetGUI\cancelObject(), ilObjContentObjectGUI\chapters(), ilObjCourseGUI\checkLicenses(), ilObjWorkspaceFolderGUI\checkPassword(), ilContainerGUI\clipboardObject(), ilObjGlossaryGUI\confirmDefinitionDeletion(), ilObjTestGUI\confirmDeleteAllUserResultsObject(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjStyleSettingsGUI\confirmDeleteIndividualStyles(), ilObjTestGUI\confirmDeleteSelectedUserDataObject(), ilObjExternalToolsSettingsGUI\confirmDeleteSocialBookmarksObject(), ilObjTaxonomyGUI\confirmDeleteTaxonomy(), ilObjMediaCastGUI\confirmDeletionItemsObject(), confirmedDeleteObject(), ilObjSCORM2004LearningModuleGUI\confirmExpertMode(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjMediaPoolGUI\confirmRemove(), ilContainerGUI\confirmRemoveFromSystemObject(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjGlossaryGUI\confirmTermDeletion(), ilObjBlogGUI\contributors(), ilObjTestGUI\copyAndLinkToQuestionpoolObject(), ilObjStyleSheetGUI\copyCharacteristicsObject(), ilObjSCORM2004LearningModuleGUI\copyItems(), ilObjContentObjectGUI\copyItems(), ilObjStyleSheetGUI\createObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjTestGUI\createQuestionObject(), ilObjExternalToolsSettingsGUI\createSocialBookmarkObject(), ilObjContentObjectGUI\cutItems(), ilObjSCORM2004LearningModuleGUI\cutItems(), ilObjHelpSettingsGUI\deactivateModule(), ilObjComponentSettingsGUI\deactivatePlugin(), ilObjPollGUI\deleteAllVotes(), ilObjStyleSheetGUI\deleteCharacteristicConfirmationObject(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObject2GUI\deleteConfirmation(), ilObject2GUI\deleteConfirmedObjects(), ilObjStyleSheetGUI\deleteCoreCharMessage(), ilObjSystemFolderGUI\deleteHeaderTitlesObject(), ilObjTaxonomyGUI\deleteItems(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSCORM2004LearningModuleGUI\deleteNodes(), ilObjSkillManagementGUI\deleteNodes(), ilObjExternalToolsSettingsGUI\deleteSocialBookmarksObject(), ilObjMediaObjectGUI\deleteSrtFilesObject(), ilObjStyleSettingsGUI\deleteSysStyleCatAssignmentsObject(), ilObjTaxonomyGUI\deleteTaxonomy(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjContentObjectGUI\deleteTooltips(), ilObjMediaCastGUI\determinePlaytimeObject(), ilObjExternalToolsSettingsGUI\disableSocialBookmarksObject(), ilObjFolderGUI\downloadFolderObject(), ilContainerGUI\downloadMultipleObjects(), ilObjTaxonomyGUI\editAOTaxonomySettings(), ilObjStyleSettingsGUI\editContentStylesObject(), 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(), ilObjExternalToolsSettingsGUI\editSocialBookmarkObject(), ilObjExternalToolsSettingsGUI\editSocialBookmarksObject(), ilObjStyleSettingsGUI\editSystemStylesObject(), ilObjStyleSheetGUI\editTagStyleObject(), ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjPersonalDesktopSettingsGUI\editWsp(), ilObjDataCollectionGUI\emptyInfo(), ilObjExternalToolsSettingsGUI\enableSocialBookmarksObject(), ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjHelpSettingsGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjFileAccessSettingsGUI\executeCommand(), ilObjCourseGUI\fetchPrintMemberData(), ilObjContentObjectGUI\filterTooltips(), ilContainerGUI\forwardToPageObject(), ilObjRoleFolderGUI\getAdminTabs(), ilObjComponentSettingsGUI\getAdminTabs(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), ilObjSkillManagementGUI\getAdminTabs(), ilObjMediaCastGUI\getCastItemValues(), ilObjMediaCastGUI\getFeedIconsHTML(), ilObjBlogGUI\getHTML(), ilObjSystemCheckGUI\getLang(), ilObjContentObjectGUI\getLayoutOption(), ilObjContentObjectGUI\getMultiLangHeader(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjGlossaryGUI\getPublicAccessColValue(), ilObjContentObjectGUI\getPublicAccessColValue(), ilObjTestGUI\getQuestionpoolCreationForm(), getRightColumnHTML(), ilObjWikiGUI\getSettingsFormValues(), ilObjSurveyAdministrationGUI\getSettingsTemplateConfig(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), ilObjStyleSheetGUI\getStyleExampleHTML(), ilObjExerciseGUI\getTabs(), ilObjWikiGUI\getTabs(), ilObjCategoryGUI\getTabs(), ilObjCourseGUI\getTabs(), ilObjFolderGUI\getTabs(), ilObjGroupGUI\getTabs(), ilObjRootFolderGUI\getTabs(), ilObjSurveyAdministrationGUI\getTabs(), ilObjAssessmentFolderGUI\getTabs(), ilObjStyleSettingsGUI\getTabs(), ilObjStyleSheetGUI\getTabs(), ilObjFileBasedLMGUI\getTabs(), ilObjFileBasedLMGUI\getTemplate(), ilObjSAHSLearningModuleGUI\getTemplate(), ilObjItemGroupGUI\gotoParent(), ilContainerGUI\ilContainerGUI(), ilExcelWriterAdapter\ilExcelWriterAdapter(), ilObjAdvancedEditingGUI\ilObjAdvancedEditingGUI(), ilObjAICCLearningModuleGUI\ilObjAICCLearningModuleGUI(), ilObjContentObjectGUI\ilObjContentObjectGUI(), ilObjectGUI(), ilObjExerciseGUI\ilObjExerciseGUI(), ilObjExternalToolsSettingsGUI\ilObjExternalToolsSettingsGUI(), ilObjFileBasedLMGUI\ilObjFileBasedLMGUI(), ilObjGlossaryGUI\ilObjGlossaryGUI(), ilObjHACPLearningModuleGUI\ilObjHACPLearningModuleGUI(), ilObjLanguageExtGUI\ilObjLanguageExtGUI(), ilObjMediaCastGUI\ilObjMediaCastGUI(), ilObjMediaObjectGUI\ilObjMediaObjectGUI(), ilObjQuestionPoolGUI\ilObjQuestionPoolGUI(), ilObjRoleFolderGUI\ilObjRoleFolderGUI(), ilObjRoleTemplateGUI\ilObjRoleTemplateGUI(), ilObjRootFolderGUI\ilObjRootFolderGUI(), ilObjSAHSLearningModuleGUI\ilObjSAHSLearningModuleGUI(), ilObjSCORM2004LearningModuleGUI\ilObjSCORM2004LearningModuleGUI(), ilObjSCORMLearningModuleGUI\ilObjSCORMLearningModuleGUI(), ilObjStyleSettingsGUI\ilObjStyleSettingsGUI(), ilObjStyleSheetGUI\ilObjStyleSheetGUI(), ilObjSurveyAdministrationGUI\ilObjSurveyAdministrationGUI(), ilObjSurveyQuestionPoolGUI\ilObjSurveyQuestionPoolGUI(), ilObjTestGUI\ilObjTestGUI(), ilObjUserGUI\ilObjUserGUI(), ilObjWikiGUI\ilObjWikiGUI(), ilObjFolderGUI\importFileObject(), ilObjMailGUI\importObject(), ilObjStyleSettingsGUI\importPageLayoutObject(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjUserFolderGUI\importUsersObject(), ilObjExerciseGUI\infoScreen(), ilObjWikiGUI\infoScreen(), ilObjectPluginGUI\infoScreen(), ilObjBibliographicGUI\infoScreenForward(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjStyleSettingsGUI\initAddPageLayoutForm(), ilObjStyleSheetGUI\initCharacteristicForm(), ilObjAdvancedEditingGUI\initCharSelectorSettingsForm(), ilObjStyleSheetGUI\initColorForm(), ilObjSystemFolderGUI\initContactInformationForm(), ilObjCloudGUI\initCreateForm(), ilObjSAHSLearningModuleGUI\initCreationForm(), ilObjBibliographicGUI\initCreationForms(), initDidacticTemplate(), ilObjFileAccessSettingsGUI\initDiskQuotaMailTemplateForm(), ilObjBlogGUI\initEditCustomForm(), ilObjPollGUI\initEditCustomForm(), ilObjBibliographicGUI\initEditForm(), initEditForm(), ilObjectPluginGUI\initEditForm(), ilObjPrivacySecurityGUI\initErrorMessages(), ilObjMediaPoolGUI\initFolderForm(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilObjUserGUI\initForm(), 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(), ilObjContentObjectGUI\initImportForm(), ilObjSystemFolderGUI\initJavaServerForm(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjMediaPoolGUI\initMediaPoolPageForm(), ilObjStyleSheetGUI\initMediaQueryForm(), ilObjContentObjectGUI\initMenuEntryForm(), ilObjContentObjectGUI\initMenuForm(), ilObjUserFolderGUI\initNewAccountMailForm(), ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjStyleSettingsGUI\initPageLayoutImportForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjFileAccessSettingsGUI\initPreviewSettingsForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjStyleSheetGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjSystemFolderGUI\initProxyForm(), ilObjPollGUI\initQuestionForm(), ilObjSystemFolderGUI\initServerInfoForm(), ilObjContentObjectGUI\initSetPageLayoutForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilObjTaxonomyGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilObjGlossaryGUI\initStylePropertiesForm(), 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(), ilObjMediaCastGUI\listItemsObject(), ilObjMediaPoolGUI\listMedia(), ilObjTaxonomyGUI\listNodes(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilObjTaxonomyGUI\listTaxonomies(), ilObjGlossaryGUI\listTerms(), ilObjAuthSettingsGUI\loginInfoObject(), ilObjCourseGUI\membersObject(), ilObjGroupGUI\membersObject(), ilContainerGUI\modifyItemGUI(), ilObjTaxonomyGUI\moveItems(), ilObjTestGUI\movePageFormObject(), ilObjStyleSettingsGUI\moveUserStylesObject(), 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(), ilObjTestGUI\questionsObject(), ilObjQuestionPoolGUI\questionsObject(), ilObjGroupGUI\refuseSubscribersObject(), 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(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjExternalToolsSettingsGUI\saveMathJaxObject(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjRepositorySettingsGUI\saveModules(), ilObjUserFolderGUI\saveNewAccountMailObject(), ilObjWikiGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjMediaCastGUI\saveOrderObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjContentObjectGUI\savePageLayout(), ilObjStyleSettingsGUI\savePageLayoutTypesObject(), ilObjFileAccessSettingsGUI\savePreviewSettings(), ilObjContentObjectGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjSystemFolderGUI\saveProxyObject(), ilObjSCORM2004LearningModuleGUI\saveSequencing(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilObjTaxonomyGUI\saveSorting(), ilObjStyleSettingsGUI\saveStyleCatAssignmentObject(), ilObjTaxonomyGUI\saveTaxNode(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjContentObjectGUI\saveTooltips(), ilObjFileAccessSettingsGUI\saveUploadSettings(), ilObjFileAccessSettingsGUI\saveWebDAVSettings(), ilObjSystemFolderGUI\saveWebServicesObject(), ilObjContentObjectGUI\selectLMGlossary(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjBibliographicGUI\sendFile(), setActions(), ilObjWikiGUI\setAsStartPageObject(), ilObjContentObjectGUI\setContentSubTabs(), ilObjCourseGUI\setContentSubTabs(), ilObjMediaPoolGUI\setMediaPoolPageTabs(), ilObjHelpSettingsGUI\setMode(), ilContainerGUI\setPageEditorTabs(), ilObjContentObjectGUI\setPageLayout(), ilObjPollGUI\setParticipantsSubTabs(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjContentObjectGUI\setQuestionsSubTabs(), ilObjGlossaryGUI\setSettingsSubTabs(), 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(), ilObjWorkspaceRootFolderGUI\setTabs(), ilObjNotificationAdminGUI\setTabs(), ilObject2GUI\setTabs(), ilObjStyleSheetGUI\setTabs(), ilObjStyleSheetGUI\setTemplatesSubTabs(), ilObjCertificateSettingsGUI\settings(), ilObjSurveyAdministrationGUI\settingsObject(), ilObjAdvancedEditingGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjRootFolderGUI\setTitleAndDescription(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjGlossaryGUI\showActions(), ilObjContentObjectGUI\showActions(), ilContainerGUI\showAdministrationPanel(), ilObjNotificationAdminGUI\showConfigMatrixObject(), ilObjBibliographicGUI\showContent(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjBibliographicGUI\showDetails(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjSCORM2004LearningModuleGUI\showLearningObjectivesAlignment(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), ilObjSCORM2004LearningModuleGUI\showOrganization(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilObjComponentSettingsGUI\showPlugin(), ilObjComponentSettingsGUI\showPluginSlotInfo(), ilObjSCORM2004LearningModuleGUI\showSequencing(), ilObjGlossaryGUI\showTaxonomy(), ilObjWikiGUI\showTemplateSelectionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjTaxonomyGUI\showTree(), ilObjSkillManagementGUI\showTree(), ilObjSCORM2004LearningModuleGUI\showTree(), ilObjMediaObjectGUI\showUsagesObject(), ilObjTaggingSettingsGUI\showUsers(), ilObjPollGUI\subscribe(), ilObjStyleSheetGUI\templateGenerationObject(), ilObjSkillManagementGUI\test(), ilObjSkillManagementGUI\testAllCert(), ilObjSkillManagementGUI\testCert(), ilObjSkillManagementGUI\testLevels(), ilObjStyleSettingsGUI\toggleGlobalDefaultObject(), ilObjStyleSettingsGUI\toggleGlobalFixedObject(), ilObjContentObjectGUI\unlockQuestion(), ilObjPollGUI\unsubscribe(), ilObjMediaCastGUI\updateCastItemObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjBlogGUI\updateCustom(), ilObjMediaPoolGUI\updateFolder(), ilObjMediaPoolGUI\updateMediaPoolPage(), ilObjStyleSheetGUI\updateMediaQueryObject(), ilObjStyleSheetGUI\updateObject(), ilObjTaxonomyGUI\updateSettings(), ilObjExternalToolsSettingsGUI\updateSocialBookmarkObject(), ilObjTaxonomyGUI\updateTaxNode(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjHelpSettingsGUI\uploadHelpFile(), ilObjMediaObjectGUI\uploadMultipleSubtitleFileFormObject(), ilObjMailGUI\uploadObject(), ilObjMediaObjectGUI\uploadSubtitleFileObject(), ilContainerGUI\useNewEditorObject(), ilObjRoleGUI\userassignmentObject(), ilObjFileAccessSettingsGUI\viewDiskQuotaReport(), ilObjUserFolderGUI\viewObject(), ilObjStyleSettingsGUI\viewPageLayoutsObject(), 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

◆ $sub_objects

ilObjectGUI::$sub_objects

◆ $tab_target_script

ilObjectGUI::$tab_target_script

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

◆ $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 ilObjDlBookGUI\__applyCitationText(), ilObject2GUI\__construct(), ilObjUserFolderGUI\__showAppliedUsersTable(), ilObjCourseGUI\__showDeleteSubscriberTable(), ilObjCourseGUI\__showRemoveFromWaitingListTable(), ilObjCategoryGUI\__showRolesTable(), ilContainerGUI\__showTimingsButton(), ilObjCategoryGUI\__showUsersTable(), ilObjCourseGUI\__showWaitingListTable(), ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjStyleSheetGUI\_getTemplatePreview(), ilObjStyleSheetGUI\accordiontestObject(), ilObjMediaCastGUI\addCastItemObject(), ilObjStyleSheetGUI\addCharacteristicFormObject(), ilObjStyleSheetGUI\addColorObject(), ilObjDataCollectionGUI\addHeaderAction(), ilObjStyleSheetGUI\addImageObject(), ilObjStyleSheetGUI\addMediaQueryObject(), ilObjContentObjectGUI\addMenuEntry(), ilObjLanguageExtGUI\addNewEntryObject(), ilObjTestGUI\addQuestionObject(), ilObjStyleSettingsGUI\addStyleCatAssignmentObject(), ilObjStyleSheetGUI\addTemplateObject(), ilObjSurveyGUI\afterSave(), ilObjMediaPoolGUI\allMedia(), ilObjWikiGUI\allPagesObject(), ilObjAuthSettingsGUI\apacheAuthSettingsObject(), ilObjSCORM2004LearningModuleGUI\assignGlossary(), ilObjStyleSettingsGUI\assignStylesToCatsObject(), ilObjCloudGUI\asyncGetBlock(), ilObjSystemFolderGUI\benchmarkObject(), ilObjBookingPoolGUI\bookObject(), ilObjBlogGUI\buildExportTemplate(), ilContainerGUI\clipboardObject(), ilObjBookingPoolGUI\confirmBookingNumbers(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjStyleSettingsGUI\confirmDeleteIndividualStyles(), 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(), ilObjStyleSettingsGUI\editContentStylesObject(), ilObjCourseGUI\editCourseIconsObject(), ilObjFileAccessSettingsGUI\editDiskQuotaMailTemplate(), ilObjFileAccessSettingsGUI\editDiskQuotaSettings(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), ilObjMediaPoolGUI\editFolder(), ilObjTaggingSettingsGUI\editForbiddenTags(), ilObjContentObjectGUI\editGlossaries(), ilObjGroupGUI\editGroupIconsObject(), ilObjCategoryGUI\editIconsObject(), ilObjFolderGUI\editIconsObject(), 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(), ilObjGlossaryGUI\editStyleProperties(), ilObjContentObjectGUI\editStyleProperties(), ilObjSCORM2004LearningModuleGUI\editStyleProperties(), ilObjWikiGUI\editStylePropertiesObject(), ilContainerGUI\editStylePropertiesObject(), ilObjStyleSettingsGUI\editSystemStylesObject(), ilObjStyleSheetGUI\editTagStyleObject(), ilObjStyleSheetGUI\editTemplateObject(), ilObjRootFolderGUI\editTranslationsObject(), ilObjCategoryGUI\editTranslationsObject(), ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjBibliographicGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjExternalFeedGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilContainerGUI\executeCommand(), ilObjMediaObjectGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjBlogGUI\exportHTMLPages(), ilContainerGUI\fileManagerLaunchObject(), ilObjStyleSheetGUI\generateTemplateObject(), getCreationFormsHTML(), getDidacticTemplateVar(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjectGUI(), ilObjStyleSheetGUI\ilObjStyleSheetGUI(), importFileObject(), ilObjContentObjectGUI\importFileObject(), ilObjSurveyGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjStyleSettingsGUI\importPageLayoutFormObject(), ilObjStyleSettingsGUI\importPageLayoutObject(), ilObjSurveyQuestionPoolGUI\importQuestionsObject(), ilObjUserFolderGUI\importUserFormObject(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjMediaObjectGUI\includePresentationJS(), ilObjCourseGUI\infoScreen(), ilObjectPluginGUI\infoScreen(), ilObjFileGUI\infoScreenForward(), ilObjUserGUI\initCreate(), 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(), ilObjStyleSheetGUI\listImagesObject(), ilObjMediaCastGUI\listItemsObject(), ilObjContentObjectGUI\listLinks(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjStyleSheetGUI\listMediaQueriesObject(), ilObjTaxonomyGUI\listNodes(), ilObjComponentSettingsGUI\listPlugins(), ilObjContentObjectGUI\listQuestions(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilObjTaxonomyGUI\listTaxonomies(), ilObjStyleSheetGUI\listTemplatesObject(), ilObjGlossaryGUI\listTerms(), ilObjBookingPoolGUI\logDetailsObject(), ilObjBookingPoolGUI\logObject(), ilObjCourseGUI\membersMapObject(), ilObjGroupGUI\membersMapObject(), ilObjCourseGUI\membersObject(), 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(), ilObjGlossaryGUI\properties(), ilObjFileBasedLMGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSCORMLearningModuleGUI\properties(), ilObjGlossaryGUI\quickList(), 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(), ilObjGlossaryGUI\saveObject(), ilObjWikiGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), saveObject(), ilObjUserGUI\saveObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjFileAccessSettingsGUI\savePreviewSettings(), ilObjGlossaryGUI\saveProperties(), ilObjFileBasedLMGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjSystemFolderGUI\saveProxyObject(), ilObjSCORM2004LearningModuleGUI\saveSequencing(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjTaxonomyGUI\saveTaxNode(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjFileAccessSettingsGUI\saveUploadSettings(), ilObjSystemFolderGUI\saveWebServicesObject(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjBibliographicGUI\sendFile(), ilObjBlogGUI\setContentStyleSheet(), ilObjGlossaryGUI\setContentStyleSheet(), ilObjPortfolioBaseGUI\setContentStyleSheet(), ilObjWikiGUI\setContentStyleSheet(), ilObject2GUI\setLocator(), setLocator(), ilObjContentObjectGUI\setPageLayout(), ilObjStyleSettingsGUI\setScopeObject(), ilObjTaxonomyGUI\setTabs(), ilObjSurveyAdministrationGUI\settingsObject(), ilObjAdvancedEditingGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjWorkspaceFolderGUI\share(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjAdvancedEditingGUI\showCharSelectorSettingsObject(), ilObjSystemFolderGUI\showContactInformationObject(), ilObjBibliographicGUI\showContent(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjBibliographicGUI\showDetails(), 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(), ilContainerReferenceGUI\showTargetSelectionTreeObject(), ilObjGlossaryGUI\showTaxonomy(), 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(), ilObjUserGUI\updateObjectOld(), ilObjTaxonomyGUI\updateSettings(), ilObjTaxonomyGUI\updateTaxNode(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjStyleSheetGUI\uploadImageObject(), ilObjUserFolderGUI\viewObject(), ilObjLanguageExtGUI\viewObject(), ilObjLanguageFolderGUI\viewObject(), viewObject(), ilObjStyleSettingsGUI\viewPageLayoutsObject(), ilObjWikiGUI\viewPageObject(), and ilObjSurveyGUI\viewUserResultsObject().

◆ $tree

ilObjectGUI::$tree

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

Referenced by ilCourseContentGUI\__buildPath(), ilObjRoleGUI\__construct(), ilObjPaymentSettingsGUI\__getHTMLPath(), ilCourseArchivesGUI\__initCourseObject(), ilCourseContentGUI\__initCourseObject(), ilObjRoleGUI\__setLocator(), ilContainerGUI\__showTimingsButton(), ilContainerGUI\_buildPath(), ilObjExternalFeedGUI\_goto(), ilObjContentObjectGUI\addLocations(), ilObjStyleSettingsGUI\addStyleCatAssignmentObject(), 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(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), ilObjFileBasedLMGUI\editObject(), ilObjContentObjectGUI\editPublicSection(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjSessionGUI\eventsListObject(), ilObjTestGUI\executeCommand(), ilObjFolderGUI\forwardToTimingsView(), ilObjRoleFolderGUI\getAdminTabs(), getAdminTabs(), ilRoleDesktopItem\getAll(), ilObjDlBookGUI\getContextPath(), ilObjSessionGUI\getTabs(), ilObjCategoryGUI\getTaxonomiesForRefId(), ilObjSessionGUI\handleFileUpload(), ilContainerGUI\ilContainerGUI(), ilObjectGUI(), ilObjFileAccessSettingsGUI\ilObjFileAccessSettingsGUI(), ilObjTestGUI\ilObjTestGUI(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjUserFolderGUI\importUsersObject(), ilObjSessionGUI\infoScreen(), ilContainerGUI\initAndDisplayCopyIntoMultipleObjectsObject(), ilContainerGUI\initAndDisplayLinkIntoMultipleObjectsObject(), ilContainerGUI\initAndDisplayMoveIntoObjectObject(), ilObjSessionGUI\initContainer(), ilObjGroupGUI\initForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjSurveyGUI\initPropertiesForm(), ilContainerReferenceGUI\initTargetSelection(), 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(), ilObjSCORM2004LearningModuleGUI\saveGlossary(), ilObjGroupGUI\saveObject(), ilObjStyleSettingsGUI\saveScopeObject(), ilObjRoleGUI\selectDesktopItemObject(), ilObjCourseGUI\setSubTabs(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), showMountWebfolderIcon(), ilContainerReferenceGUI\showTargetSelectionTreeObject(), 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: