ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f87
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 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 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...
 
 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 public More...
 
 setAdminTabs ()
 set admin tabs 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)
 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...
 

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

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

1694  {
1695  include_once "./Services/Table/classes/class.ilTableGUI.php";
1696 
1697  return new ilTableGUI(0,false);
1698  }
Class ilTableGUI.

◆ __setTableGUIBasicData()

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

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

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

References $_GET.

1706  {
1707  switch ($a_from)
1708  {
1709  case "clipboardObject":
1710  $offset = $_GET["offset"];
1711  $order = $_GET["sort_by"];
1712  $direction = $_GET["sort_order"];
1713  $tbl->disable("footer");
1714  break;
1715 
1716  default:
1717  $offset = $_GET["offset"];
1718  $order = $_GET["sort_by"];
1719  $direction = $_GET["sort_order"];
1720  break;
1721  }
1722 
1723  $tbl->setOrderColumn($order);
1724  $tbl->setOrderDirection($direction);
1725  $tbl->setOffset($offset);
1726  $tbl->setLimit($_GET["limit"]);
1727  $tbl->setFooter("tblfooter",$this->lng->txt("previous"),$this->lng->txt("next"));
1728  $tbl->setData($result_set);
1729  }
$_GET["client_id"]

◆ __showButton()

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

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

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

1680  {
1681  global $ilToolbar;
1682 
1683  $ilToolbar->addButton($a_text, $this->ctrl->getLinkTarget($this, $a_cmd), $a_target);
1684  }
+ Here is the caller graph for this function:

◆ _gotoRepositoryNode()

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

Goto repository root.

Parameters

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

References $_GET, $ilErr, and exit.

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

2045  {
2046  global $ilAccess, $ilErr;
2047 
2048  $_GET["cmd"] = $a_cmd;
2049  $_GET["target"] = "";
2050  $_GET["ref_id"] = $a_ref_id;
2051  $_GET["baseClass"] = "ilRepositoryGUI";
2052  include("ilias.php");
2053  exit;
2054  }
exit
Definition: login.php:54
$_GET["client_id"]
+ Here is the caller graph for this function:

◆ _gotoRepositoryRoot()

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

Goto repository root.

Parameters

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

References $_GET, $ilErr, and exit.

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

2019  {
2020  global $ilAccess, $ilErr;
2021 
2022  if ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID))
2023  {
2024  $_GET["cmd"] = "frameset";
2025  $_GET["target"] = "";
2026  $_GET["ref_id"] = ROOT_FOLDER_ID;
2027  $_GET["baseClass"] = "ilRepositoryGUI";
2028  include("ilias.php");
2029  exit;
2030  }
2031 
2032  if ($a_raise_error)
2033  {
2034  $ilErr->raiseError($lng->txt("msg_no_perm_read"), $ilErr->FATAL);
2035  }
2036  }
exit
Definition: login.php:54
$_GET["client_id"]
+ 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 632 of file class.ilObjectGUI.php.

References $_GET.

Referenced by prepareOutput().

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

◆ addDidacticTemplateOptions()

ilObjectGUI::addDidacticTemplateOptions ( array &  $a_options)
protected

Add custom templates.

Parameters
array$a_options

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

Referenced by initDidacticTemplate().

939  {
940 
941  }
+ Here is the caller graph for this function:

◆ addHeaderAction()

ilObjectGUI::addHeaderAction ( )
protected

Add header action menu.

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

References initHeaderAction(), and insertHeaderAction().

Referenced by ilObjPortfolioTemplateGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjFileGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjDataCollectionGUI\getType(), ilObjForumGUI\initSessionStorage(), and ilObjForumGUI\setTreeStateAsynchObject().

425  {
426  $this->insertHeaderAction($this->initHeaderAction());
427  }
initHeaderAction($a_sub_type=null, $a_sub_id=null)
Add header action menu.
insertHeaderAction($a_list_gui)
Insert header action into main template.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addLocatorItems()

ilObjectGUI::addLocatorItems ( )
protected

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

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

Referenced by ilObjForumGUI\cloneWizardPageObject(), ilObjChatroomGUI\initCreationForms(), and setLocator().

618  {
619  }
+ Here is the caller graph for this function:

◆ afterImport()

ilObjectGUI::afterImport ( ilObject  $a_new_object)
protected

Post (successful) object import hook.

Parameters
ilObject$a_new_object

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

References ilUtil\sendSuccess().

Referenced by importFileObject().

1366  {
1367  ilUtil::sendSuccess($this->lng->txt("object_added"), true);
1368  $this->ctrl->returnToParent($this);
1369  }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
+ 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

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

References ilUtil\sendSuccess().

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

1098  {
1099  ilUtil::sendSuccess($this->lng->txt("object_added"), true);
1100  $this->ctrl->returnToParent($this);
1101  }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
+ 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.

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

References ilUtil\sendSuccess().

Referenced by updateObject().

1254  {
1255  ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"),true);
1256  $this->ctrl->redirect($this, "edit");
1257  }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assignObject()

ilObjectGUI::assignObject ( )
protected

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

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

Referenced by ilObjectGUI().

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

References $ilCtrl.

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

◆ cancelDeleteObject()

ilObjectGUI::cancelDeleteObject ( )

cancel deletion of object

public

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

References ilSession\clear().

690  {
691  ilSession::clear("saved_post");
692  $this->ctrl->returnToParent($this);
693  }
static clear($a_var)
Unset a value.
+ Here is the call graph for this function:

◆ cancelObject()

ilObjectGUI::cancelObject (   $in_rep = false)

cancel action and go back to previous page public

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

References ilSession\clear().

Referenced by ilObjFileBasedLMGUI\cancel().

702  {
703  ilSession::clear("saved_post");
704  $this->ctrl->returnToParent($this);
705  }
static clear($a_var)
Unset a value.
+ 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 1935 of file class.ilObjectGUI.php.

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

Referenced by ilObjCategoryGUI\__checkGlobalRoles(), ilObjBibliographicAdminGUI\__construct(), ilObjCategoryGUI\__showRolesTable(), ilObjCategoryGUI\__showUsersTable(), ilObjExerciseGUI\addAssignmentObject(), ilObjMediaCastGUI\addCastItemObject(), ilObjWikiGUI\addImportantPageObject(), ilObjExerciseGUI\addMembersObject(), ilObjExerciseGUI\addTeamMemberActionObject(), ilObjExerciseGUI\adoptTeamAssignmentsFormObject(), ilObjExerciseGUI\adoptTeamAssignmentsObject(), ilObjWikiGUI\allPagesObject(), ilObjGroupGUI\assignFromWaitingListObject(), ilObjSessionGUI\assignFromWaitingListObject(), ilObjCourseGUI\assignFromWaitingListObject(), ilObjCourseGUI\assignMembersObject(), ilObjCategoryGUI\assignRolesObject(), ilObjCategoryGUI\assignSaveObject(), ilObjGroupGUI\assignSubscribersObject(), ilObjSessionGUI\assignSubscribersObject(), ilObjCourseGUI\assignSubscribersObject(), ilObjSessionGUI\attendanceListObject(), ilObjCourseGUI\autoFillObject(), ilObjExerciseGUI\cancelMultiFeedbackObject(), ilObjSessionGUI\confirmAssignFromWaitingListObject(), ilObjGroupGUI\confirmAssignFromWaitingListObject(), ilObjCourseGUI\confirmAssignFromWaitingListObject(), ilObjExerciseGUI\confirmAssignmentsDeletionObject(), ilObjSessionGUI\confirmAssignSubscribersObject(), ilObjGroupGUI\confirmAssignSubscribersObject(), ilObjCourseGUI\confirmAssignSubscribersObject(), ilObjExerciseGUI\confirmDeassignMembersObject(), ilObjExerciseGUI\confirmDeleteDeliveredObject(), ilObjGroupGUI\confirmDeleteMembersObject(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjSessionGUI\confirmRefuseFromListObject(), ilObjGroupGUI\confirmRefuseFromListObject(), ilObjCourseGUI\confirmRefuseFromListObject(), ilObjSessionGUI\confirmRefuseSubscribersObject(), ilObjGroupGUI\confirmRefuseSubscribersObject(), ilObjCourseGUI\confirmRefuseSubscribersObject(), ilObjExerciseGUI\confirmResetPeerReviewObject(), ilObjMediaCastGUI\convertFileObject(), ilObjExerciseGUI\createAdoptedTeamObject(), ilObjExerciseGUI\createBlogObject(), ilObjExerciseGUI\createPortfolioObject(), ilObjExerciseGUI\createPortfolioTemplateObject(), ilObjExerciseGUI\createTeamObject(), ilObjExerciseGUI\deassignMembersObject(), ilObjExerciseGUI\deleteAssignmentsObject(), ilObjExerciseGUI\deleteDeliveredObject(), ilObjMediaCastGUI\deleteItemsObject(), ilObjGroupGUI\deleteMembersObject(), ilObjCourseGUI\deleteMembersObject(), ilObjCourseGUI\deleteSubscribers(), ilObjCategoryGUI\deleteUsersObject(), ilObjExerciseGUI\deliverFileObject(), ilObjExerciseGUI\deliverUnzipObject(), ilObjExerciseGUI\downloadAllObject(), ilObjCourseGUI\downloadArchivesObject(), ilObjExerciseGUI\downloadFeedbackFileObject(), ilObjExerciseGUI\downloadFileObject(), ilObjMediaCastGUI\downloadItemObject(), ilObjExerciseGUI\downloadNewReturnedObject(), ilObjExerciseGUI\downloadObject(), ilObjExerciseGUI\downloadPeerReviewObject(), ilObjExerciseGUI\downloadReturnedObject(), ilObjExerciseGUI\editAssignmentObject(), ilObjExerciseGUI\editAssignmentTextObject(), ilObjMediaCastGUI\editCastItemObject(), ilObjCourseGUI\editCourseIconsObject(), ilObjGroupGUI\editGroupIconsObject(), ilObjFolderGUI\editIconsObject(), ilObjCategoryGUI\editIconsObject(), ilObjWikiGUI\editImportantPagesObject(), ilObjCategoryGUI\editInfoObject(), ilObjCourseGUI\editInfoObject(), ilObjGroupGUI\editInfoObject(), ilObjGroupGUI\editMembersObject(), ilObjCourseGUI\editMembersObject(), ilObjGroupGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilObjExerciseGUI\editPeerReviewObject(), ilObjForumAdministrationGUI\editSettings(), ilObjMediaObjectsSettingsGUI\editSettings(), ilObjWikiGUI\editSettingsObject(), ilObjMediaCastGUI\editSettingsObject(), ilObjGlossaryGUI\editStyleProperties(), ilObjWikiGUI\editStylePropertiesObject(), ilContainerGUI\editStylePropertiesObject(), ilObjGroupGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjGlossaryGUI\export(), ilObjExerciseGUI\exportExcelObject(), ilObjMediaCastGUI\extractPreviewImageObject(), ilContainerGUI\forwardToPageObject(), ilObjCourseGUI\infoScreen(), ilObjSessionGUI\infoScreen(), ilObjExerciseGUI\infoScreen(), ilObjWikiGUI\infoScreenObject(), ilObjMediaCastGUI\infoScreenObject(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjExerciseGUI\initTeamSubmission(), ilObjSessionGUI\joinObject(), ilObjGroupGUI\leaveObject(), ilObjCourseGUI\leaveObject(), ilObjExerciseGUI\listAssignmentsObject(), ilObjWikiGUI\listContributorsObject(), ilObjMediaCastGUI\listItemsObject(), ilObjExerciseGUI\listPublicSubmissionsObject(), ilObjExerciseGUI\listTextAssignmentObject(), ilObjCourseGUI\mailMembersBtnObject(), ilObjSessionGUI\membersObject(), ilObjGroupGUI\membersObject(), ilObjExerciseGUI\membersObject(), ilObjCourseGUI\membersObject(), ilObjWikiGUI\newPagesObject(), ilObjExerciseGUI\orderAssignmentsByDeadlineObject(), ilObjWikiGUI\orphanedPagesObject(), ilObjCategoryGUI\performDeleteUsersObject(), ilObjCourseGUI\performRemoveFromWaitingListObject(), ilObjWikiGUI\performSearchObject(), ilObjCourseGUI\performUnsubscribeObject(), ilObjWikiGUI\popularPagesObject(), ilObjSessionGUI\printAttendanceListObject(), ilObjGroupGUI\printMembersObject(), ilObjCourseGUI\printMembersObject(), ilObjGlossaryGUI\properties(), ilObjWikiGUI\randomPageObject(), ilObjWikiGUI\recentChangesObject(), ilObjExerciseGUI\redirectFeedbackMailObject(), ilObjGroupGUI\refuseFromListObject(), ilObjSessionGUI\refuseFromListObject(), ilObjCourseGUI\refuseFromListObject(), ilObjGroupGUI\refuseSubscribersObject(), ilObjSessionGUI\refuseSubscribersObject(), ilObjCourseGUI\refuseSubscribersObject(), ilObjSessionGUI\registerObject(), ilObjCourseGUI\removeFromWaitingList(), ilObjWikiGUI\removeImportantPagesObject(), ilObjCourseGUI\removeMembersObject(), ilObjFolderGUI\renderObject(), ilObjExerciseGUI\resetPeerReviewObject(), ilObjExerciseGUI\saveAssignmentObject(), ilObjExerciseGUI\saveAssignmentOrderObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjExerciseGUI\saveCommentForLearnersObject(), ilObjExerciseGUI\saveCommentsObject(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjExerciseGUI\saveGradesObject(), ilObjWikiGUI\saveGradingObject(), ilObjExerciseGUI\saveMultiFeedbackObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilMembershipAdministrationGUI\saveSettings(), ilObjWebResourceAdministrationGUI\saveSettings(), ilObjExerciseAdministrationGUI\saveSettings(), ilObjBlogAdministrationGUI\saveSettings(), ilObjPortfolioAdministrationGUI\saveSettings(), ilObjTaggingSettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilObjMediaCastGUI\saveSettingsObject(), ilObjExerciseGUI\saveStatusObject(), ilObjExerciseGUI\selectBlogObject(), ilObjExerciseGUI\selectPortfolioObject(), ilObjExerciseGUI\sendMembersObject(), ilObjWikiGUI\setAsStartPageObject(), ilObjExerciseGUI\setSelectedPortfolioTemplateObject(), ilObjExerciseGUI\showAssignmentTextObject(), ilObjExerciseGUI\showGradesOverviewObject(), ilObjExerciseGUI\showMultiFeedbackConfirmationTableObject(), ilObjExerciseGUI\showMultiFeedbackObject(), ilObjExerciseGUI\showOverviewObject(), ilObjExerciseGUI\showParticipantObject(), ilObjExerciseGUI\showPeerReviewOverviewObject(), ilObjExerciseGUI\showPersonalPeerReviewObject(), ilObjExerciseGUI\showTeamLogObject(), ilObjTaggingSettingsGUI\showUsers(), ilObjGroupGUI\unsubscribeObject(), ilObjCourseGUI\updateAdminStatusObject(), ilObjExerciseGUI\updateAssignmentObject(), ilObjExerciseGUI\updateAssignmentTextObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjCourseGUI\updateCourseIconsObject(), ilObjGroupGUI\updateGroupIconsObject(), ilObjFolderGUI\updateIconsObject(), ilObjCategoryGUI\updateIconsObject(), ilObjCategoryGUI\updateInfoObject(), ilObjCourseGUI\updateInfoObject(), ilObjGroupGUI\updateInfoObject(), ilObjCourseGUI\updateMemberObject(), ilObjExerciseGUI\updateMembersObject(), ilObjSessionGUI\updateMembersObject(), ilObjGroupGUI\updateMembersObject(), ilObjCourseGUI\updateMembersObject(), ilObjCourseGUI\updateMemberStatusObject(), ilContainerReferenceGUI\updateObject(), ilObjGroupGUI\updateObject(), ilObjExerciseGUI\updatePeerReviewObject(), ilObjCourseGUI\updateRoleStatusObject(), ilObjGroupGUI\updateStatusObject(), ilObjCourseGUI\updateTutorStatusObject(), ilObjExerciseGUI\uploadFileObject(), ilObjExerciseGUI\uploadZipObject(), ilObjFolderGUI\viewObject(), ilObjCourseGUI\viewObject(), ilObjWikiGUI\viewObject(), and ilObjWikiGUI\viewPageObject().

1936  {
1937  if (!$this->checkPermissionBool($a_perm, $a_cmd, $a_type, $a_ref_id))
1938  {
1939  if (!is_int(strpos($_SERVER["PHP_SELF"], "goto.php")))
1940  {
1941  // create: redirect to parent
1942  if($a_perm == "create")
1943  {
1944  if(!$a_ref_id)
1945  {
1946  $a_ref_id = $_GET["ref_id"];
1947  }
1948  $type = ilObject::_lookupType($a_ref_id, true);
1949  }
1950  else
1951  {
1952  // does this make sense?
1953  if (!is_object($this->object))
1954  {
1955  return;
1956  }
1957  if (!$a_ref_id)
1958  {
1959  $a_ref_id = $this->object->getRefId();
1960  }
1961  $type = $this->object->getType();
1962  }
1963 
1964  ilSession::clear("il_rep_ref_id");
1965  ilUtil::sendFailure($this->lng->txt("permission_denied"), true);
1966  ilUtil::redirect("goto.php?target=".$type."_".$a_ref_id);
1967  }
1968  // we should never be here
1969  else
1970  {
1971  die("Permission Denied.");
1972  }
1973  }
1974  }
$_GET["client_id"]
static clear($a_var)
Unset a value.
static _lookupType($a_id, $a_reference=false)
lookup object type
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static redirect($a_script)
http redirect to other script
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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

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

References $_GET.

Referenced by checkPermission(), cloneAllObject(), ilObjFileBasedLMGUI\createFromDirectory(), createObject(), ilObjFolderGUI\editObject(), editObject(), ilObjSystemFolderGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), getAdminTabs(), ilObjRoleFolderGUI\getAdminTabs(), ilObjCourseGUI\hasAdminPermission(), ilObjGlossaryGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), importFileObject(), ilObjSurveyGUI\importFileObject(), isVisible(), ilObjWikiGUI\saveObject(), ilObjGlossaryGUI\saveObject(), saveObject(), ilObjRoleFolderGUI\saveSettingsObject(), ilObjRootFolderGUI\saveTranslationsObject(), ilObjCategoryGUI\saveTranslationsObject(), setColumnSettings(), ilObjRootFolderGUI\updateObject(), ilObjCategoryGUI\updateObject(), updateObject(), and viewObject().

1986  {
1987  global $ilAccess;
1988 
1989  if($a_perm == "create")
1990  {
1991  if(!$a_ref_id)
1992  {
1993  $a_ref_id = $_GET["ref_id"];
1994  }
1995  return $ilAccess->checkAccess($a_perm."_".$a_type, $a_cmd, $a_ref_id);
1996  }
1997  else
1998  {
1999  // does this make sense?
2000  if (!is_object($this->object))
2001  {
2002  return false;
2003  }
2004  if (!$a_ref_id)
2005  {
2006  $a_ref_id = $this->object->getRefId();
2007  }
2008  return $ilAccess->checkAccess($a_perm, $a_cmd, $a_ref_id);
2009  }
2010  }
$_GET["client_id"]
+ Here is the caller graph for this function:

◆ cloneAllObject()

ilObjectGUI::cloneAllObject ( )

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

public

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

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

1782  {
1783  include_once('./Services/Link/classes/class.ilLink.php');
1784  include_once('Services/CopyWizard/classes/class.ilCopyWizardOptions.php');
1785 
1786  global $ilErr,$ilUser;
1787 
1788  $new_type = $_REQUEST['new_type'];
1789  if(!$this->checkPermissionBool("create", "", $new_type))
1790  {
1791  $ilErr->raiseError($this->lng->txt('permission_denied'));
1792  }
1793  if(!(int) $_REQUEST['clone_source'])
1794  {
1795  ilUtil::sendFailure($this->lng->txt('select_one'));
1796  $this->createObject();
1797  return false;
1798  }
1799  if(!$this->checkPermissionBool("write", "", $new_type, (int)$_REQUEST['clone_source']))
1800  {
1801  $ilErr->raiseError($this->lng->txt('permission_denied'));
1802  }
1803 
1804  // Save wizard options
1806  $wizard_options = ilCopyWizardOptions::_getInstance($copy_id);
1807  $wizard_options->saveOwner($ilUser->getId());
1808  $wizard_options->saveRoot((int) $_REQUEST['clone_source']);
1809 
1810  $options = $_POST['cp_options'] ? $_POST['cp_options'] : array();
1811  foreach($options as $source_id => $option)
1812  {
1813  $wizard_options->addEntry($source_id,$option);
1814  }
1815  $wizard_options->read();
1816 
1817  $orig = ilObjectFactory::getInstanceByRefId((int) $_REQUEST['clone_source']);
1818  $new_obj = $orig->cloneObject((int) $_GET['ref_id'],$copy_id);
1819 
1820  // Delete wizard options
1821  $wizard_options->deleteAll();
1822 
1823  ilUtil::sendSuccess($this->lng->txt("object_duplicated"),true);
1824  ilUtil::redirect(ilLink::_getLink($new_obj->getRefId()));
1825  }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
$_POST['username']
Definition: cron.php:12
getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
$_GET["client_id"]
createObject()
create new object form
static _getInstance($a_copy_id)
Get instance of copy wizard options.
if(!is_array($argv)) $options
static _allocateCopyId()
Allocate a copy for further entries.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
global $ilUser
Definition: imgupload.php:15
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
static redirect($a_script)
http redirect to other script
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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

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

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

669  {
670  global $ilSetting, $lng;
671 
672  if(isset($_POST["mref_id"]))
673  {
674  $_SESSION["saved_post"] = array_unique(array_merge($_SESSION["saved_post"], $_POST["mref_id"]));
675  }
676 
677  include_once("./Services/Repository/classes/class.ilRepUtilGUI.php");
678  $ru = new ilRepUtilGUI($this);
679  $ru->deleteObjects($_GET["ref_id"], ilSession::get("saved_post"));
680  ilSession::clear("saved_post");
681  $this->ctrl->returnToParent($this);
682  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']
$_POST['username']
Definition: cron.php:12
$_GET["client_id"]
static get($a_var)
Get a value.
Repository GUI Utilities.
static clear($a_var)
Unset a value.
global $ilSetting
Definition: privfeed.php:40
+ Here is the call graph for this function:

◆ createObject()

ilObjectGUI::createObject ( )

create new object form

public

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

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

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

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

public

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

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

1548  {
1549  global $ilCtrl;
1550 
1551  if ($_GET["item_ref_id"] != "")
1552  {
1553  $_POST["id"] = array($_GET["item_ref_id"]);
1554  }
1555 
1556  if(is_array($_POST["id"]))
1557  {
1558  foreach($_POST["id"] as $idx => $id)
1559  {
1560  $_POST["id"][$idx] = (int)$id;
1561  }
1562  }
1563 
1564  // SAVE POST VALUES (get rid of this
1565  ilSession::set("saved_post", $_POST["id"]);
1566 
1567  include_once("./Services/Repository/classes/class.ilRepUtilGUI.php");
1568  $ru = new ilRepUtilGUI($this);
1569  if (!$ru->showDeleteConfirmation($_POST["id"], $a_error))
1570  {
1571  $ilCtrl->returnToParent($this);
1572  }
1573  }
$_POST['username']
Definition: cron.php:12
$_GET["client_id"]
static set($a_var, $a_val)
Set a value.
global $ilCtrl
Definition: ilias.php:18
Repository GUI Utilities.
+ Here is the call graph for this function:

◆ editObject()

ilObjectGUI::editObject ( )

edit object

public

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

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

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

1109  {
1110  global $tpl, $ilTabs;
1111 
1112  if (!$this->checkPermissionBool("write"))
1113  {
1114  $this->ilias->raiseError($this->lng->txt("msg_no_perm_write"),$this->ilias->error_obj->MESSAGE);
1115  }
1116 
1117  $ilTabs->activateTab("settings");
1118 
1119  $form = $this->initEditForm();
1120  $values = $this->getEditFormValues();
1121  if($values)
1122  {
1123  $form->setValuesByArray($values);
1124  }
1125  $tpl->setContent($form->getHTML());
1126  }
redirection script todo: (a better solution should control the processing via a xml file) ...
initEditForm()
Init object edit form.
getEditFormValues()
Get values for edit form.
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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 2059 of file class.ilObjectGUI.php.

References ilFileUploadGUI\initFileUpload().

Referenced by prepareOutput().

2060  {
2061  include_once("./Services/FileUpload/classes/class.ilFileUploadGUI.php");
2063 
2064  $this->tpl->enableDragDropFileUpload($this->ref_id);
2065  }
static initFileUpload()
Initializes the file upload and loads the needed javascripts and styles.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

& ilObjectGUI::executeCommand ( )

execute command

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

References $cmd, and prepareOutput().

Referenced by ilObjChatroomAdminGUI\_forwards(), ilObjChatroomGUI\_forwards(), ilObjPaymentSettingsGUI\checkShopActivationObject(), ilObjForumGUI\getModifiedReOnSubject(), ilObjAssessmentFolderGUI\ilObjAssessmentFolderGUI(), and ilObjForumGUI\initSessionStorage().

171  {
172  $next_class = $this->ctrl->getNextClass($this);
173  $cmd = $this->ctrl->getCmd();
174 
175  switch($next_class)
176  {
177  default:
178  $this->prepareOutput();
179  if(!$cmd)
180  {
181  $cmd = "view";
182  }
183  $cmd .= "Object";
184  $this->$cmd();
185 
186  break;
187  }
188 
189  return true;
190  }
$cmd
Definition: sahs_server.php:35
prepareOutput()
prepare output
+ Here is the call graph for this function:
+ Here is the caller 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.

public

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

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

References $_GET.

Referenced by initCreationForms().

1760  {
1761  include_once './Services/Object/classes/class.ilObjectCopyGUI.php';
1762  $cp = new ilObjectCopyGUI($this);
1763  $cp->setType($a_type);
1764  $cp->setTarget($_GET['ref_id']);
1765  if($a_tpl_varname)
1766  {
1767  $cp->showSourceSearch($a_tpl_varname);
1768  }
1769  else
1770  {
1771  return $cp->showSourceSearch(null);
1772  }
1773  }
GUI class for the workflow of copying objects.
$_GET["client_id"]
+ Here is the caller graph for this function:

◆ getAdminTabs()

ilObjectGUI::getAdminTabs ( $tabs_gui)

administration tabs show only permissions and trash folder

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

References $tree, and checkPermissionBool().

Referenced by ilObjForumAdministrationGUI\executeCommand(), ilObjBibliographicAdminGUI\executeCommand(), ilObjSystemCheckGUI\executeCommand(), ilObjTermsOfServiceGUI\executeCommand(), setAdminTabs(), and ilChatroomObjectGUI\switchToVisibleMode().

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

◆ getCenterColumnHTML()

ilObjectGUI::getCenterColumnHTML ( )
protected

Get center column.

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

References $ilCtrl, 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().

1832  {
1833  global $ilCtrl;
1834 
1835  include_once("Services/Block/classes/class.ilColumnGUI.php");
1836 
1837  $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1838  $obj_type = ilObject::_lookupType($obj_id);
1839 
1840  if ($ilCtrl->getNextClass() != "ilcolumngui")
1841  {
1842  // normal command processing
1843  return $this->getContent();
1844  }
1845  else
1846  {
1847  if (!$ilCtrl->isAsynch())
1848  {
1849  //if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
1851  {
1852  // right column wants center
1854  {
1855  $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1856  $this->setColumnSettings($column_gui);
1857  $this->html = $ilCtrl->forwardCommand($column_gui);
1858  }
1859  // left column wants center
1861  {
1862  $column_gui = new ilColumnGUI($obj_type, IL_COL_LEFT);
1863  $this->setColumnSettings($column_gui);
1864  $this->html = $ilCtrl->forwardCommand($column_gui);
1865  }
1866  }
1867  else
1868  {
1869  // normal command processing
1870  return $this->getContent();
1871  }
1872  }
1873  }
1874  }
static getCmdSide()
Get Column Side of Current Command.
const IL_COL_RIGHT
global $ilCtrl
Definition: ilias.php:18
Column user interface class.
static _lookupObjId($a_id)
static _lookupType($a_id, $a_reference=false)
lookup object type
static getScreenMode()
Get Screen Mode for current command.
setColumnSettings($column_gui)
May be overwritten in subclasses.
const IL_SCREEN_SIDE
const IL_COL_LEFT
+ 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 768 of file class.ilObjectGUI.php.

References $tpl, and ilAccordionGUI\FIRST_OPEN.

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

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

References $_POST.

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

1025  {
1026  $tpl = $_POST["didactic_type"];
1027  if($tpl && substr($tpl, 0, strlen($a_type)+1) == $a_type."_")
1028  {
1029  return (int)substr($tpl, strlen($a_type)+1);
1030  }
1031  }
$_POST['username']
Definition: cron.php:12
+ 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

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

Referenced by getEditFormValues().

1194  {
1195 
1196  }
+ Here is the caller graph for this function:

◆ getEditFormValues()

ilObjectGUI::getEditFormValues ( )
protected

Get values for edit form.

Returns
array

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

References getEditFormCustomValues().

Referenced by editObject().

1181  {
1182  $values["title"] = $this->object->getTitle();
1183  $values["desc"] = $this->object->getLongDescription();
1184  $this->getEditFormCustomValues($values);
1185  return $values;
1186  }
getEditFormCustomValues(array &$a_values)
Add values to custom edit fields.
+ 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) public
Returns
string

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

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

1380  {
1381  if ($this->formaction[$a_cmd] != "")
1382  {
1383  return $this->formaction[$a_cmd];
1384  }
1385  else
1386  {
1387  return $a_formaction;
1388  }
1389  }
+ Here is the caller graph for this function:

◆ getHTML()

ilObjectGUI::getHTML ( )

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

Referenced by ilObjOrgUnitGUI\parseInfoScreen().

516  {
517  return $this->html;
518  }
+ Here is the caller graph for this function:

◆ 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) public

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

Referenced by ilObjCourseGUI\afterSave(), ilObjTestGUI\backToRepositoryObject(), ilObjStyleSettingsGUI\confirmedDeleteObject(), ilObjStyleSettingsGUI\saveObject(), and ilObjAuthSettingsGUI\setAuthModeObject().

1412  {
1413  if ($this->return_location[$a_cmd] != "")
1414  {
1415  return $this->return_location[$a_cmd];
1416  }
1417  else
1418  {
1419  return $a_location;
1420  }
1421  }
+ Here is the caller graph for this function:

◆ getRightColumnHTML()

ilObjectGUI::getRightColumnHTML ( )
protected

Display right column.

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

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

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

1880  {
1881  global $ilUser, $lng, $ilCtrl;
1882 
1883  $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1884  $obj_type = ilObject::_lookupType($obj_id);
1885 
1886  include_once("Services/Block/classes/class.ilColumnGUI.php");
1887  $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1888 
1889  if ($column_gui->getScreenMode() == IL_SCREEN_FULL)
1890  {
1891  return "";
1892  }
1893 
1894  $this->setColumnSettings($column_gui);
1895 
1896  if ($ilCtrl->getNextClass() == "ilcolumngui" &&
1897  $column_gui->getCmdSide() == IL_COL_RIGHT &&
1898  $column_gui->getScreenMode() == IL_SCREEN_SIDE)
1899  {
1900  $html = $ilCtrl->forwardCommand($column_gui);
1901  }
1902  else
1903  {
1904  if (!$ilCtrl->isAsynch())
1905  {
1906  $html = $ilCtrl->getHTML($column_gui);
1907  }
1908  }
1909 
1910  return $html;
1911  }
const IL_COL_RIGHT
global $ilCtrl
Definition: ilias.php:18
const IL_SCREEN_FULL
Column user interface class.
static _lookupObjId($a_id)
static _lookupType($a_id, $a_reference=false)
lookup object type
setColumnSettings($column_gui)
May be overwritten in subclasses.
global $ilUser
Definition: imgupload.php:15
const IL_SCREEN_SIDE
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTabs()

ilObjectGUI::getTabs ( $tabs_gui)
protected

get tabs abstract method.

overwrite in derived GUI class of your object type public

Parameters
objectinstance of ilTabsGUI

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

Referenced by ilObjForumGUI\afterSave(), and setTabs().

1673  {
1674  // please define your tabs here
1675 
1676  }
+ Here is the caller graph for this function:

◆ 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) public

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

1444  {
1445  if ($this->target_frame[$a_cmd] != "")
1446  {
1447  return $this->target_frame[$a_cmd];
1448  }
1449  elseif (!empty($a_target_frame))
1450  {
1451  return "target=\"".$a_target_frame."\"";
1452  }
1453  else
1454  {
1455  return;
1456  }
1457  }

◆ getTemplateFile()

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

get a template blockfile format: tpl.

<objtype>_<command>.html

Parameters
stringcommand
stringobject type definition public

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

1640  {
1641  mk(); die("ilObjectGUI::getTemplateFile() is deprecated.");
1642  }

◆ 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) private

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

Referenced by ilContainerGUI\copyObject(), ilContainerGUI\cutObject(), ilObjForumGUI\getReplyEditForm(), and ilObjForumGUI\setTopicCreateDefaultValues().

1653  {
1654  foreach ($a_ref_ids as $id)
1655  {
1656  // GET OBJECT TITLE
1657  $tmp_obj =& $this->ilias->obj_factory->getInstanceByRefId($id);
1658  $title[] = $tmp_obj->getTitle();
1659  unset($tmp_obj);
1660  }
1661 
1662  return $title ? $title : array();
1663  }
redirection script todo: (a better solution should control the processing via a xml file) ...
+ 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

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

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

Referenced by saveObject().

2073  {
2074  if(ilObject::hasAutoRating($a_new_obj->getType(), $a_new_obj->getRefId()) &&
2075  method_exists($a_new_obj, "setRating"))
2076  {
2077  $a_new_obj->setRating(true);
2078  $a_new_obj->update();
2079  }
2080  }
static hasAutoRating($a_type, $a_ref_id)
Check if auto rating is active for parent group/course.
getType()
get object type public
getRefId()
get reference id public
update()
update object in db
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hitsperpageObject()

ilObjectGUI::hitsperpageObject ( )
protected

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

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

1687  {
1688  ilSession::set("tbl_limit", $_POST["hitsperpage"]);
1689  $_GET["limit"] = $_POST["hitsperpage"];
1690  }
$_POST['username']
Definition: cron.php:12
$_GET["client_id"]
static set($a_var, $a_val)
Set a value.
+ 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 public.

Parameters
array??
integerobject id
booleancall be reference

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

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

Referenced by ilObjBookingPoolGUI\__construct(), ilObjNotificationAdminGUI\__construct(), ilObjRoleGUI\__construct(), ilObjPaymentSettingsGUI\__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().

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

◆ importFileObject()

ilObjectGUI::importFileObject (   $parent_id = null)
protected

Import.

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

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

1289  {
1290  global $objDefinition, $tpl, $ilErr;
1291 
1292  if(!$parent_id)
1293  {
1294  $parent_id = $_GET["ref_id"];
1295  }
1296  $new_type = $_REQUEST["new_type"];
1297 
1298  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
1299  if (!$this->checkPermissionBool("create", "", $new_type))
1300  {
1301  $ilErr->raiseError($this->lng->txt("no_create_permission"));
1302  }
1303 
1304  $this->lng->loadLanguageModule($new_type);
1305  $this->ctrl->setParameter($this, "new_type", $new_type);
1306 
1307  $form = $this->initImportForm($new_type);
1308  if ($form->checkInput())
1309  {
1310  // :todo: make some check on manifest file
1311 
1312  if($objDefinition->isContainer($new_type))
1313  {
1314  include_once './Services/Export/classes/class.ilImportContainer.php';
1315  $imp = new ilImportContainer((int)$parent_id);
1316  }
1317  else
1318  {
1319  include_once("./Services/Export/classes/class.ilImport.php");
1320  $imp = new ilImport((int)$parent_id);
1321  }
1322 
1323  $new_id = $imp->importObject(null, $_FILES["importfile"]["tmp_name"],
1324  $_FILES["importfile"]["name"], $new_type);
1325 
1326  if ($new_id > 0)
1327  {
1328  $this->ctrl->setParameter($this, "new_type", "");
1329 
1330  $newObj = ilObjectFactory::getInstanceByObjId($new_id);
1331 
1332  // put new object id into tree - already done in import for containers
1333  if(!$objDefinition->isContainer($new_type))
1334  {
1335  $this->putObjectInTree($newObj);
1336  }
1337 
1338  $this->afterImport($newObj);
1339  }
1340  // import failed
1341  else
1342  {
1343  if($objDefinition->isContainer($new_type))
1344  {
1345  ilUtil::sendFailure($this->lng->txt("container_import_zip_file_invalid"));
1346  }
1347  else
1348  {
1349  // not enough information here...
1350  return;
1351  }
1352  }
1353  }
1354 
1355  // display form to correct errors
1356  $form->setValuesByPost();
1357  $tpl->setContent($form->getHtml());
1358  }
$_GET["client_id"]
Import class.
initImportForm($a_new_type)
Init object import form.
getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
afterImport(ilObject $a_new_object)
Post (successful) object import hook.
+ Here is the call graph for this function:

◆ initCreateForm()

ilObjectGUI::initCreateForm (   $a_new_type)
protected

Init object creation form.

Parameters
string$a_new_type
Returns
ilPropertyFormGUI

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

References initDidacticTemplate(), ilTextAreaInputGUI\setCols(), ilTextInputGUI\setSize(), and ilObject\TITLE_LENGTH.

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

843  {
844  include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
845  $form = new ilPropertyFormGUI();
846  $form->setTarget("_top");
847  $form->setFormAction($this->ctrl->getFormAction($this, "save"));
848  $form->setTitle($this->lng->txt($a_new_type."_new"));
849 
850  // title
851  $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
852  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
853  $ti->setMaxLength(ilObject::TITLE_LENGTH);
854  $ti->setRequired(true);
855  $form->addItem($ti);
856 
857  // description
858  $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
859  $ta->setCols(40);
860  $ta->setRows(2);
861  $form->addItem($ta);
862 
863  $form = $this->initDidacticTemplate($form);
864 
865  $form->addCommandButton("save", $this->lng->txt($a_new_type."_add"));
866  $form->addCommandButton("cancel", $this->lng->txt("cancel"));
867 
868  return $form;
869  }
This class represents a property form user interface.
const TITLE_LENGTH
max length of object title
initDidacticTemplate(ilPropertyFormGUI $form)
Show didactic template types.
setSize($a_size)
Set Size.
This class represents a text property in a property form.
This class represents a text area property in a property form.
+ 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

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

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

Referenced by createObject().

753  {
754  $forms = array(
755  self::CFORM_NEW => $this->initCreateForm($a_new_type),
756  self::CFORM_IMPORT => $this->initImportForm($a_new_type),
757  self::CFORM_CLONE => $this->fillCloneTemplate(null, $a_new_type)
758  );
759 
760  return $forms;
761  }
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...
initImportForm($a_new_type)
Init object import form.
initCreateForm($a_new_type)
Init object creation form.
+ 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

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

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

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

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

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

Referenced by initEditForm(), and ilObjForumGUI\initSessionStorage().

1171  {
1172 
1173  }
+ Here is the caller graph for this function:

◆ initEditForm()

ilObjectGUI::initEditForm ( )
protected

Init object edit form.

Returns
ilPropertyFormGUI

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

References $ilCtrl, $lng, initEditCustomForm(), ilTextAreaInputGUI\setCols(), ilTextInputGUI\setSize(), and ilObject\TITLE_LENGTH.

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

1134  {
1135  global $lng, $ilCtrl;
1136 
1137  $lng->loadLanguageModule($this->object->getType());
1138 
1139  include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
1140  $form = new ilPropertyFormGUI();
1141  $form->setFormAction($this->ctrl->getFormAction($this, "update"));
1142  $form->setTitle($this->lng->txt($this->object->getType()."_edit"));
1143 
1144  // title
1145  $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
1146  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
1147  $ti->setMaxLength(ilObject::TITLE_LENGTH);
1148  $ti->setRequired(true);
1149  $form->addItem($ti);
1150 
1151  // description
1152  $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
1153  $ta->setCols(40);
1154  $ta->setRows(2);
1155  $form->addItem($ta);
1156 
1157  $this->initEditCustomForm($form);
1158 
1159  $form->addCommandButton("update", $this->lng->txt("save"));
1160  //$this->form->addCommandButton("cancelUpdate", $lng->txt("cancel"));
1161 
1162  return $form;
1163  }
This class represents a property form user interface.
const TITLE_LENGTH
max length of object title
global $ilCtrl
Definition: ilias.php:18
setSize($a_size)
Set Size.
This class represents a text property in a property form.
This class represents a text area property in a property form.
initEditCustomForm(ilPropertyFormGUI $a_form)
Add custom fields to update form.
+ 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

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

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

Referenced by addHeaderAction(), ilObjForumGUI\getUserNotificationTableData(), and redrawHeaderActionObject().

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

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

References ilFileInputGUI\setSuffixes().

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

1266  {
1267  include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
1268  $form = new ilPropertyFormGUI();
1269  $form->setTarget("_top");
1270  $form->setFormAction($this->ctrl->getFormAction($this, "importFile"));
1271  $form->setTitle($this->lng->txt($a_new_type."_import"));
1272 
1273  include_once("./Services/Form/classes/class.ilFileInputGUI.php");
1274  $fi = new ilFileInputGUI($this->lng->txt("import_file"), "importfile");
1275  $fi->setSuffixes(array("zip"));
1276  $fi->setRequired(true);
1277  $form->addItem($fi);
1278 
1279  $form->addCommandButton("importFile", $this->lng->txt("import"));
1280  $form->addCommandButton("cancel", $this->lng->txt("cancel"));
1281 
1282  return $form;
1283  }
This class represents a property form user interface.
This class represents a file property in a property form.
setSuffixes($a_suffixes)
Set Accepted Suffixes.
+ Here is the call graph for this function:
+ 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 413 of file class.ilObjectGUI.php.

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

414  {
415  if(is_object($a_list_gui))
416  {
417  $this->tpl->setHeaderActionMenu($a_list_gui->getHeaderAction());
418  }
419  }
+ Here is the caller graph for this function:

◆ isVisible()

ilObjectGUI::isVisible (   $a_ref_id,
  $a_type 
)

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

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

1473  {
1474  global $ilBench;
1475 
1476  $ilBench->start("Explorer", "setOutput_isVisible");
1477  $visible = $this->checkPermissionBool("visible,read", "", "", $a_ref_id);
1478 
1479  if ($visible && $a_type == 'crs') {
1480  global $tree;
1481  if($crs_id = $tree->checkForParentType($a_ref_id,'crs'))
1482  {
1483  if(!$this->checkPermissionBool("write", "", "", $crs_id))
1484  {
1485  // Show only activated courses
1486  $tmp_obj =& ilObjectFactory::getInstanceByRefId($crs_id,false);
1487 
1488  if(!$tmp_obj->isActivated())
1489  {
1490  unset($tmp_obj);
1491  $visible = false;
1492  }
1493  if(($crs_id != $a_ref_id) and $tmp_obj->isArchived())
1494  {
1495  $visible = false;
1496  }
1497  }
1498  }
1499  }
1500 
1501  $ilBench->stop("Explorer", "setOutput_isVisible");
1502 
1503  return $visible;
1504  }
getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
global $ilBench
Definition: ilias.php:18
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ Here is the call graph for this function:

◆ omitLocator()

ilObjectGUI::omitLocator (   $a_omit = true)
protected

◆ prepareOutput()

ilObjectGUI::prepareOutput ( )
protected

prepare output

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

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

Referenced by ilObjChatroomAdminGUI\_forwards(), ilObjChatroomGUI\_forwards(), ilObjPaymentSettingsGUI\checkShopActivationObject(), ilObjiLincClassroomGUI\create(), ilObjFileBasedLMGUI\edit(), ilMembershipAdministrationGUI\executeCommand(), ilObjRepositorySettingsGUI\executeCommand(), ilObjWebResourceAdministrationGUI\executeCommand(), ilObjExternalFeedGUI\executeCommand(), ilObjForumAdministrationGUI\executeCommand(), ilObjSearchSettingsGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjTaxonomyAdministrationGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjNotificationAdminGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjExerciseAdministrationGUI\executeCommand(), ilObjBlogAdministrationGUI\executeCommand(), ilObjPortfolioAdministrationGUI\executeCommand(), ilObjTaggingSettingsGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjAccessibilitySettingsGUI\executeCommand(), ilObjComponentSettingsGUI\executeCommand(), ilObjObjectTemplateAdministrationGUI\executeCommand(), ilObjAdvancedEditingGUI\executeCommand(), ilObjPersonalDesktopSettingsGUI\executeCommand(), ilObjECSSettingsGUI\executeCommand(), ilObjMediaObjectsSettingsGUI\executeCommand(), ilObjNewsSettingsGUI\executeCommand(), ilObjBibliographicAdminGUI\executeCommand(), ilObjUserTrackingGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjLearningResourcesSettingsGUI\executeCommand(), ilObjSystemCheckGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjStyleSettingsGUI\executeCommand(), ilObjSkillManagementGUI\executeCommand(), ilObjStyleSheetGUI\executeCommand(), ilContainerGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjUserFolderGUI\executeCommand(), ilObjRoleTemplateGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjSurveyAdministrationGUI\executeCommand(), ilObjCategoryReferenceGUI\executeCommand(), ilObjCourseReferenceGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjCertificateSettingsGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjRoleFolderGUI\executeCommand(), ilObjMediaCastSettingsGUI\executeCommand(), ilObjMDSettingsGUI\executeCommand(), ilObjCalendarSettingsGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjPrivacySecurityGUI\executeCommand(), ilObjFileAccessSettingsGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjUserGUI\executeCommand(), ilObjRoleGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjRecoveryFolderGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), executeCommand(), ilObjObjectFolderGUI\executeCommand(), ilObjMailGUI\executeCommand(), ilObjLanguageFolderGUI\executeCommand(), ilObjExternalToolsSettingsGUI\executeCommand(), ilObjiLincCourseGUI\executeCommand(), ilObjAuthSettingsGUI\executeCommand(), ilObjChatroomGUI\fallback(), ilObjAssessmentFolderGUI\ilObjAssessmentFolderGUI(), ilObjectGUI(), ilObjiLincClassroomGUI\ilObjiLincClassroomGUI(), ilObjForumGUI\initSessionStorage(), ilObjiLincClassroomGUI\save(), ilObjChatroomGUI\settings(), ilChatroomObjectGUI\switchToVisibleMode(), ilObjLearningModuleGUI\view(), and ilObjContentObjectGUI\view().

241  {
242  global $ilLocator, $tpl, $ilUser;
243 
244  $this->tpl->getStandardTemplate();
245  // administration prepare output
246  if (strtolower($_GET["baseClass"]) == "iladministrationgui")
247  {
248  $this->addAdminLocatorItems();
249  $tpl->setLocator();
250 
251 // ilUtil::sendInfo();
253 
254  $this->setTitleAndDescription();
255 
256  if ($this->getCreationMode() != true)
257  {
258  $this->setAdminTabs();
259  }
260 
261  return false;
262  }
263  // set locator
264  $this->setLocator();
265  // catch feedback message
266 // ilUtil::sendInfo();
268 
269  // in creation mode (parent) object and gui object
270  // do not fit
271  if ($this->getCreationMode() == true)
272  {
273  // repository vs. workspace
274  if($this->call_by_reference)
275  {
276  // get gui class of parent and call their title and description method
277  $obj_type = ilObject::_lookupType($_GET["ref_id"],true);
278  $class_name = $this->objDefinition->getClassName($obj_type);
279  $class = strtolower("ilObj".$class_name."GUI");
280  $class_path = $this->ctrl->lookupClassPath($class);
281  include_once($class_path);
282  $class_name = $this->ctrl->getClassForClasspath($class_path);
283 //echo "<br>instantiating parent for title and description";
284  $this->parent_gui_obj = new $class_name("", $_GET["ref_id"], true, false);
285  // the next line prevents the header action menu being shown
286  $this->parent_gui_obj->setCreationMode(true);
287  $this->parent_gui_obj->setTitleAndDescription();
288  }
289  }
290  else
291  {
292  // set title and description and title icon
293  $this->setTitleAndDescription();
294 
295  // set tabs
296  $this->setTabs();
297 
298  // BEGIN WebDAV: Display Mount Webfolder icon.
299  require_once 'Services/WebDAV/classes/class.ilDAVServer.php';
300  if (ilDAVServer::_isActive() &&
301  $ilUser->getId() != ANONYMOUS_USER_ID)
302  {
303  $this->showMountWebfolderIcon();
304  }
305  // END WebDAV: Display Mount Webfolder icon.
306 
307  // fileupload support
308  require_once './Services/FileUpload/classes/class.ilFileUploadUtil.php';
309  if (ilFileUploadUtil::isUploadAllowed($this->ref_id, $this->object->getType()))
310  {
311  $this->enableDragDropFileUpload();
312  }
313  }
314 
315  return true;
316  }
addAdminLocatorItems($a_do_not_add_object=false)
should be overwritten to add object specific items (repository items are preloaded) ...
enableDragDropFileUpload()
Enables the file upload into this object by dropping files.
$_GET["client_id"]
static _isActive()
Static getter.
static infoPanel($a_keep=true)
setTitleAndDescription()
called by prepare output
static _lookupType($a_id, $a_reference=false)
lookup object type
global $ilUser
Definition: imgupload.php:15
static isUploadAllowed($a_ref_id, $a_type="")
Determines whether files can be uploaded to the object with the specified reference id...
getCreationMode()
get creation mode
setTabs()
set admin tabs public
setAdminTabs()
set admin tabs public
setLocator()
set Locator
+ 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

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

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(), ilObjGlossaryGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), importFileObject(), ilObjSurveyGUI\importFileObject(), ilObjGlossaryGUI\saveObject(), ilObjGroupGUI\saveObject(), and saveObject().

1040  {
1041  global $rbacreview, $ilUser, $objDefinition;
1042 
1043  if(!$a_parent_node_id)
1044  {
1045  $a_parent_node_id = $_GET["ref_id"];
1046  }
1047 
1048  // add new object to custom parent container
1049  if((int)$_REQUEST["crtptrefid"])
1050  {
1051  $a_parent_node_id = (int)$_REQUEST["crtptrefid"];
1052  }
1053 
1054  $a_obj->createReference();
1055  $a_obj->putInTree($a_parent_node_id);
1056  $a_obj->setPermissions($a_parent_node_id);
1057 
1058  $this->obj_id = $a_obj->getId();
1059  $this->ref_id = $a_obj->getRefId();
1060 
1061  // BEGIN ChangeEvent: Record save object.
1062  require_once('Services/Tracking/classes/class.ilChangeEvent.php');
1063  ilChangeEvent::_recordWriteEvent($this->obj_id, $ilUser->getId(), 'create');
1064  // END ChangeEvent: Record save object.
1065 
1066  // rbac log
1067  include_once "Services/AccessControl/classes/class.ilRbacLog.php";
1068  $rbac_log_roles = $rbacreview->getParentRoleIds($this->ref_id, false);
1069  $rbac_log = ilRbacLog::gatherFaPa($this->ref_id, array_keys($rbac_log_roles), true);
1070  ilRbacLog::add(ilRbacLog::CREATE_OBJECT, $this->ref_id, $rbac_log);
1071 
1072  // use forced callback after object creation
1073  if($_REQUEST["crtcb"])
1074  {
1075  $callback_type = ilObject::_lookupType((int)$_REQUEST["crtcb"], true);
1076  $class_name = "ilObj".$objDefinition->getClassName($callback_type)."GUI";
1077  $location = $objDefinition->getLocation($callback_type);
1078  include_once($location."/class.".$class_name.".php");
1079  if (in_array(strtolower($class_name), array("ilobjitemgroupgui")))
1080  {
1081  $callback_obj = new $class_name((int)$_REQUEST["crtcb"]);
1082  }
1083  else
1084  {
1085  // #10368
1086  $callback_obj = new $class_name(null, (int)$_REQUEST["crtcb"], true, false);
1087  }
1088  $callback_obj->afterSaveCallback($a_obj);
1089  }
1090  }
$_GET["client_id"]
$location
Definition: buildRTE.php:44
static gatherFaPa($a_ref_id, array $a_role_ids, $a_add_action=false)
createReference()
creates reference for object
const CREATE_OBJECT
getId()
get object id public
putInTree($a_parent_ref)
maybe this method should be in tree object!?
static _lookupType($a_id, $a_reference=false)
lookup object type
global $ilUser
Definition: imgupload.php:15
static add($a_action, $a_ref_id, array $a_diff, $a_source_ref_id=false)
getRefId()
get reference id public
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
setPermissions($a_parent_ref)
set permissions of object
_recordWriteEvent($obj_id, $usr_id, $action, $parent_obj_id=null)
Records a write event.
+ 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

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

References ilObject\_lookupType().

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

1741  {
1742  $obj_type = ilObject::_lookupType($a_ref_id,true);
1743  $class_name = $this->objDefinition->getClassName($obj_type);
1744  $class = strtolower("ilObj".$class_name."GUI");
1745  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $a_ref_id);
1746  $this->ctrl->redirectByClass(array("ilrepositorygui", $class), $a_cmd);
1747  }
static _lookupType($a_id, $a_reference=false)
lookup object type
+ 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 432 of file class.ilObjectGUI.php.

References $tpl, exit, and initHeaderAction().

433  {
434  global $tpl;
435 
436  $lg = $this->initHeaderAction();
437  echo $lg->getHeaderAction();
438 
439  // we need to add onload code manually (rating, comments, etc.)
440  echo $tpl->getOnLoadCodeForAsynch();
441 
442  exit;
443  }
exit
Definition: login.php:54
initHeaderAction($a_sub_type=null, $a_sub_id=null)
Add header action menu.
+ Here is the call graph for this function:

◆ saveObject()

ilObjectGUI::saveObject ( )

save object

public

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

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

Referenced by ilObjSessionGUI\saveAndAssignMaterialsObject().

959  {
960  global $objDefinition, $tpl;
961 
962  $new_type = $_REQUEST["new_type"];
963 
964  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
965  if (!$this->checkPermissionBool("create", "", $new_type))
966  {
967  $this->ilias->raiseError($this->lng->txt("no_create_permission"), $this->ilias->error_obj->MESSAGE);
968  }
969 
970  $this->lng->loadLanguageModule($new_type);
971  $this->ctrl->setParameter($this, "new_type", $new_type);
972 
973  $form = $this->initCreateForm($new_type);
974  if ($form->checkInput())
975  {
976  $this->ctrl->setParameter($this, "new_type", "");
977 
978  // create instance
979  $class_name = "ilObj".$objDefinition->getClassName($new_type);
980  $location = $objDefinition->getLocation($new_type);
981  include_once($location."/class.".$class_name.".php");
982  $newObj = new $class_name();
983  $newObj->setType($new_type);
984  $newObj->setTitle($form->getInput("title"));
985  $newObj->setDescription($form->getInput("desc"));
986  $newObj->create();
987 
988  $this->putObjectInTree($newObj);
989 
990  // apply didactic template?
991  $dtpl = $this->getDidacticTemplateVar("dtpl");
992  if($dtpl)
993  {
994  $newObj->applyDidacticTemplate($dtpl);
995  }
996 
997  // auto rating
998  $this->handleAutoRating($newObj);
999 
1000  // additional paramters are added to afterSave()
1001  $args = func_get_args();
1002  if($args)
1003  {
1004  $this->afterSave($newObj, $args);
1005  }
1006  else
1007  {
1008  $this->afterSave($newObj);
1009  }
1010  return;
1011  }
1012 
1013  // display only this form to correct input
1014  $form->setValuesByPost();
1015  $tpl->setContent($form->getHtml());
1016  }
$location
Definition: buildRTE.php:44
afterSave(ilObject $a_new_object)
Post (successful) object creation hook.
redirection script todo: (a better solution should control the processing via a xml file) ...
initCreateForm($a_new_type)
Init object creation form.
handleAutoRating(ilObject $a_new_obj)
Activate rating automatically if parent container setting.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
getDidacticTemplateVar($a_type)
Get didactic template setting from creation screen.
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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 527 of file class.ilObjectGUI.php.

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

◆ setAdminTabs()

ilObjectGUI::setAdminTabs ( )
finalprotected

set admin tabs public

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

References getAdminTabs().

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

474  {
475  $this->getAdminTabs($this->tabs_gui);
476  }
getAdminTabs(&$tabs_gui)
administration tabs show only permissions and trash folder
+ 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.

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

References checkPermissionBool().

Referenced by ilObjForumGUI\checkEnableColumnEdit(), getCenterColumnHTML(), and getRightColumnHTML().

1917  {
1918  $column_gui->setRepositoryMode(true);
1919  $column_gui->setEnableEdit(false);
1920  if ($this->checkPermissionBool("write"))
1921  {
1922  $column_gui->setEnableEdit(true);
1923  }
1924  }
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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

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

Referenced by ilObjStyleSheetGUI\executeCommand().

208  {
209  $this->creation_mode = $a_mode;
210  }
+ 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) public

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

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

1400  {
1401  $this->formaction[$a_cmd] = $a_formaction;
1402  }
+ Here is the caller graph for this function:

◆ setLocator()

ilObjectGUI::setLocator ( )
protected

set Locator

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

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

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

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

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

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

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

1431  {
1432 //echo "-".$a_cmd."-".$a_location."-";
1433  $this->return_location[$a_cmd] = $a_location;
1434  }
+ 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 548 of file class.ilObjectGUI.php.

References $options.

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

◆ setTabs()

ilObjectGUI::setTabs ( )
protected

set admin tabs public

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

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().

465  {
466  $this->getTabs($this->tabs_gui);
467  }
getTabs(&$tabs_gui)
get tabs abstract method.
+ 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) public

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

1467  {
1468  $this->target_frame[$a_cmd] = "target=\"".$a_target_frame."\"";
1469  }

◆ setTitleAndDescription()

ilObjectGUI::setTitleAndDescription ( )
protected

called by prepare output

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

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

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

322  {
323  if (!is_object($this->object))
324  {
325  if ((int) $_REQUEST["crtptrefid"] > 0)
326  {
327  $cr_obj_id = ilObject::_lookupObjId((int) $_REQUEST["crtcb"]);
328  $this->tpl->setTitle(ilObject::_lookupTitle($cr_obj_id));
329  $this->tpl->setTitleIcon(ilObject::_getIcon($cr_obj_id));
330  }
331  return;
332  }
333  $this->tpl->setTitle($this->object->getPresentationTitle());
334  $this->tpl->setDescription($this->object->getLongDescription());
335 
336  if (strtolower($_GET["baseClass"]) == "iladministrationgui")
337  {
338  // alt text would be same as heading -> empty alt text
339  $this->tpl->setTitleIcon(ilObject::_getIcon("", "big", $this->object->getType()));
340  }
341  else
342  {
343  $this->tpl->setTitleIcon(ilObject::_getIcon("", "big", $this->object->getType()),
344  $this->lng->txt("obj_" . $this->object->getType()));
345  }
346 
347  include_once './Services/Object/classes/class.ilObjectListGUIFactory.php';
348  $lgui = ilObjectListGUIFactory::_getListGUIByType($this->object->getType());
349  $lgui->initItem($this->object->getRefId(), $this->object->getId());
350  $this->tpl->setAlertProperties($lgui->getAlertProperties());
351  }
static _getIcon($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.
$_GET["client_id"]
static _lookupTitle($a_id)
lookup object title
static _lookupObjId($a_id)
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
Definition: index.php:7
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showMountWebfolderIcon()

ilObjectGUI::showMountWebfolderIcon ( )
protected

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

References $objDefinition, $tpl, and $tree.

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

447  {
448  global $tree, $tpl, $objDefinition;
449 
450  if ($this->object->getRefId() == "")
451  {
452  return;
453  }
454 
455  $tpl->setMountWebfolderIcon($this->object->getRefId());
456  }
+ Here is the caller graph for this function:

◆ showPossibleSubObjects()

ilObjectGUI::showPossibleSubObjects ( )
protected

show possible subobjects (pulldown menu)

public

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

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

Referenced by ilObjStyleSettingsGUI\showActions().

1581  {
1582  if ($this->sub_objects == "")
1583  {
1584  $d = $this->objDefinition->getCreatableSubObjects($this->object->getType());
1585  }
1586  else
1587  {
1589  }
1590 
1591  $import = false;
1592 
1593  if (count($d) > 0)
1594  {
1595  foreach ($d as $row)
1596  {
1597  $count = 0;
1598 
1599  if ($row["max"] > 0)
1600  {
1601  //how many elements are present?
1602  for ($i=0; $i<count($this->data["ctrl"]); $i++)
1603  {
1604  if ($this->data["ctrl"][$i]["type"] == $row["name"])
1605  {
1606  $count++;
1607  }
1608  }
1609  }
1610 
1611  if ($row["max"] == "" || $count < $row["max"])
1612  {
1613  $subobj[] = $row["name"];
1614  }
1615  }
1616  }
1617 
1618  if (is_array($subobj))
1619  {
1620 
1621  //build form
1622  $opts = ilUtil::formSelect(12,"new_type",$subobj);
1623  $this->tpl->setCurrentBlock("add_object");
1624  $this->tpl->setVariable("SELECT_OBJTYPE", $opts);
1625  $this->tpl->setVariable("BTN_NAME", "create");
1626  $this->tpl->setVariable("TXT_ADD", $this->lng->txt("add"));
1627  $this->tpl->parseCurrentBlock();
1628  }
1629  }
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.
+ 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

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

Referenced by ilObjForumGUI\getEditFormCustomValues(), and updateObject().

1246  {
1247 
1248  }
+ Here is the caller graph for this function:

◆ updateObject()

ilObjectGUI::updateObject ( )

updates object entry in object_data

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

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

Referenced by ilObjFileBasedLMGUI\update().

1202  {
1203  global $ilTabs, $tpl;
1204 
1205  if (!$this->checkPermissionBool("write"))
1206  {
1207  $this->ilias->raiseError($this->lng->txt("permission_denied"),$this->ilias->error_obj->MESSAGE);
1208  }
1209 
1210  $form = $this->initEditForm();
1211  if($form->checkInput() &&
1212  $this->validateCustom($form))
1213  {
1214  $this->object->setTitle($form->getInput("title"));
1215  $this->object->setDescription($form->getInput("desc"));
1216  $this->updateCustom($form);
1217  $this->object->update();
1218 
1219  $this->afterUpdate();
1220  return;
1221  }
1222 
1223  // display form again to correct errors
1224  $ilTabs->activateTab("settings");
1225  $form->setValuesByPost();
1226  $tpl->setContent($form->getHtml());
1227  }
updateCustom(ilPropertyFormGUI $a_form)
Insert custom update form values into object.
redirection script todo: (a better solution should control the processing via a xml file) ...
initEditForm()
Init object edit form.
validateCustom(ilPropertyFormGUI $a_form)
Validate custom values (if not possible with checkInput())
afterUpdate()
Post (successful) object update hook.
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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

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

Referenced by updateObject().

1236  {
1237  return true;
1238  }
+ Here is the caller graph for this function:

◆ viewObject()

ilObjectGUI::viewObject ( )

list childs of current object

public

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

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().

1513  {
1514  global$tpl;
1515 
1516  if (!$this->checkPermissionBool("visible,read"))
1517  {
1518  $this->ilias->raiseError($this->lng->txt("permission_denied"),$this->ilias->error_obj->MESSAGE);
1519  }
1520 
1521  // BEGIN ChangeEvent: record read event.
1522  require_once('Services/Tracking/classes/class.ilChangeEvent.php');
1523  global $ilUser;
1525  $this->object->getType(),
1526  $this->object->getRefId(),
1527  $this->object->getId(), $ilUser->getId());
1528  // END ChangeEvent: record read event.
1529 
1530  include_once("./Services/Repository/classes/class.ilAdminSubItemsTableGUI.php");
1531  if (!$this->call_by_reference)
1532  {
1533  $this->ctrl->setParameter($this, "obj_id", $this->obj_id);
1534  }
1535  $itab = new ilAdminSubItemsTableGUI($this, "view", $_GET["ref_id"]);
1536 
1537  $tpl->setContent($itab->getHTML());
1538  }
TableGUI class for sub items listed in repository administration.
$_GET["client_id"]
redirection script todo: (a better solution should control the processing via a xml file) ...
_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.
global $ilUser
Definition: imgupload.php:15
checkPermissionBool($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission.
+ 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)

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

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

Field Documentation

◆ $actions

◆ $data

ilObjectGUI::$data

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

Referenced by ilCourseContentGUI\__buildPath(), ilObjRoleGUI\__formatPath(), ilObjPaymentSettingsGUI\__getHTMLPath(), ilContainerGUI\_buildPath(), ilObjFileBasedLMGUI\addBibItemObject(), ilObjContentObjectGUI\addBibItemObject(), ilObjTestGUI\addQuestionObject(), ilObjForumGUI\afterSave(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilObjiLincCourseGUI\changeMemberObject(), ilContainerGUI\clipboardObject(), ilObjSCORM2004LearningModuleGUI\confirmDeleteExportFile(), ilObjSurveyQuestionPoolGUI\confirmDeleteExportFileObject(), ilObjSurveyGUI\confirmDeleteExportFileObject(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjTypeDefinitionGUI\displayList(), ilObjObjectFolderGUI\displayList(), ilObjStyleSettingsGUI\editContentStylesObject(), ilObjTypeDefinitionGUI\editObject(), ilObjRootFolderGUI\editTranslationsObject(), ilObjCategoryGUI\editTranslationsObject(), ilObjGroupGUI\exportMembersObject(), ilObjSurveyQuestionPoolGUI\exportObject(), ilObjSurveyGUI\exportObject(), ilContainerGUI\getAsynchItemListObject(), ilObjSessionGUI\getAttendanceListUserData(), ilObjGroupGUI\getAttendanceListUserData(), ilObjiLincClassroomGUI\getDefaultValues(), ilObjiLincClassroomGUI\getObjectValues(), ilObjUserGUI\getValues(), ilObjiLincClassroomGUI\initSettingsForm(), ilObjAssessmentFolderGUI\logAdminObject(), ilObjPaymentSettingsGUI\objectsObject(), ilObjTestGUI\participantsObject(), ilObjTestGUI\questionBrowser(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjTestGUI\questionsObject(), ilObjRoleGUI\readRoleProperties(), ilObjiLincCourseGUI\removeMemberObject(), ilObjTestGUI\removeQuestionsForm(), ilObjSystemFolderGUI\saveHeaderTitleObject(), ilObjDlBookGUI\showCitation(), ilObjSCORM2004LearningModuleGUI\showExportList(), ilObjSystemFolderGUI\showHeaderTitleObject(), ilObjLanguageExtGUI\statisticsObject(), ilObjFileGUI\update(), ilObjPaymentSettingsGUI\updateDetailsObject(), 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 ilObjPollGUI\__construct(), ilObjECSSettingsGUI\__construct(), ilObjSurveyGUI\__construct(), ilObjPersonalDesktopSettingsGUI\__construct(), ilObjTaxonomyGUI\__construct(), ilObjBlogGUI\__construct(), ilObjCloudGUI\__construct(), ilObjBibliographicGUI\__construct(), ilObjCalendarSettingsGUI\__construct(), ilObjMDSettingsGUI\__construct(), ilObjRoleGUI\__construct(), ilContainerReferenceGUI\__construct(), ilObject2GUI\__construct(), ilObjOrgUnitGUI\__construct(), ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjStyleSheetGUI\_getTemplatePreview(), ilObjCategoryReferenceGUI\_goto(), ilObjCourseReferenceGUI\_goto(), ilObjItemGroupGUI\_goto(), ilRemoteObjectBaseGUI\_goto(), ilObjMailGUI\_goto(), ilObjFolderGUI\_goto(), ilObjectPluginGUI\_goto(), ilObjRootFolderGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjFileGUI\_goto(), ilObjWikiGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjBookingPoolGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjMediaPoolGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjiLincCourseGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjExerciseGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjGroupGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjContentObjectGUI\_goto(), ilObjTestGUI\_goto(), ilObjCourseGUI\_goto(), ilObjCategoryGUI\_importCategories(), ilObjCategoryGUI\_importCategoriesForm(), ilObjCourseGUI\_modifyItemGUI(), ilContainerReferenceGUI\_prepareSelection(), ilObjSCORM2004LearningModuleGUI\activateExpertMode(), ilObjHelpSettingsGUI\activateModule(), ilObjComponentSettingsGUI\activatePlugin(), ilObjLinkResourceGUI\activateTabs(), ilObjMediaCastGUI\addContentSubTabs(), ilObjExerciseGUI\addContentSubTabs(), ilObjBlogGUI\addContributor(), ilObjDataCollectionGUI\addHeaderAction(), ilObjSystemFolderGUI\addHeaderTitleObject(), ilObjWikiGUI\addImportantPageObject(), ilObjDataCollectionGUI\addListFieldsTabs(), ilObjContentObjectGUI\addLocations(), ilObjBibliographicGUI\addNews(), ilObjTestGUI\addQuestionObject(), ilObjExternalToolsSettingsGUI\addSocialBookmarkObject(), ilContainerGUI\addStandardContainerSubTabs(), ilObjStyleSettingsGUI\addStyleCatAssignmentObject(), ilObjExerciseGUI\addSubmissionSubTabs(), ilObjTaggingSettingsGUI\addSubTabs(), ilObjContentObjectGUI\addTabs(), ilObjGlossaryGUI\addTerm(), ilContainerGUI\addToDeskObject(), ilObjBlogGUI\addToDeskObject(), ilObjContentObjectGUI\addTooltip(), ilObjGlossaryGUI\addUsagesToInfo(), ilObjBlogGUI\addUserFromAutoComplete(), ilObjExerciseGUI\adoptTeamAssignmentsFormObject(), ilObjExerciseGUI\adoptTeamAssignmentsObject(), ilObjItemGroupGUI\afterConstructor(), ilObjMediaPoolGUI\afterConstructor(), ilObjBibliographicGUI\afterSave(), ilObjTaxonomyGUI\afterSave(), ilObjForumGUI\afterSave(), ilObjCloudGUI\afterServiceAuth(), ilObjStyleSettingsGUI\assignStylesToCatsObject(), ilObjGroupGUI\assignSubscribersObject(), ilObjSystemFolderGUI\benchmarkObject(), ilObjSystemFolderGUI\benchmarkSubTabs(), ilObjBlogGUI\buildExportTemplate(), ilObjTestGUI\buildPageViewToolbar(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjStyleSheetGUI\cancelCharacteristicDeletionObject(), ilObjStyleSheetGUI\cancelObject(), ilObjForumGUI\cancelPostObject(), ilObjContentObjectGUI\chapters(), ilObjForumGUI\checkEnableColumnEdit(), ilObjCourseGUI\checkLicenses(), ilObjWorkspaceFolderGUI\checkPassword(), ilObjPaymentSettingsGUI\checkShopActivationObject(), ilContainerGUI\clipboardObject(), ilObjExerciseGUI\confirmAssignmentsDeletionObject(), ilObjExerciseGUI\confirmDeassignMembersObject(), ilObjGlossaryGUI\confirmDefinitionDeletion(), ilObjTestGUI\confirmDeleteAllUserResultsObject(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjExerciseGUI\confirmDeleteDeliveredObject(), ilObjStyleSettingsGUI\confirmDeleteIndividualStyles(), ilObjTestGUI\confirmDeleteSelectedUserDataObject(), ilObjExternalToolsSettingsGUI\confirmDeleteSocialBookmarksObject(), ilObjTaxonomyGUI\confirmDeleteTaxonomy(), ilObjMediaCastGUI\confirmDeletionItemsObject(), confirmedDeleteObject(), ilObjSCORM2004LearningModuleGUI\confirmExpertMode(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjForumGUI\confirmMergeThreadsObject(), ilObjMediaPoolGUI\confirmRemove(), ilContainerGUI\confirmRemoveFromSystemObject(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjGlossaryGUI\confirmTermDeletion(), ilObjBlogGUI\contributors(), ilObjTestGUI\copyAndLinkToQuestionpoolObject(), ilObjStyleSheetGUI\copyCharacteristicsObject(), ilObjSCORM2004LearningModuleGUI\copyItems(), ilObjContentObjectGUI\copyItems(), ilObjExerciseGUI\createAdoptedTeamObject(), ilObjStyleSheetGUI\createObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjTestGUI\createQuestionObject(), ilObjExternalToolsSettingsGUI\createSocialBookmarkObject(), ilObjExerciseGUI\createTeamObject(), ilObjSCORM2004LearningModuleGUI\cutItems(), ilObjContentObjectGUI\cutItems(), ilObjHelpSettingsGUI\deactivateModule(), ilObjComponentSettingsGUI\deactivatePlugin(), ilObjExerciseGUI\deassignMembersObject(), ilObjPollGUI\deleteAllVotes(), ilObjExerciseGUI\deleteAssignmentsObject(), ilObjStyleSheetGUI\deleteCharacteristicConfirmationObject(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObject2GUI\deleteConfirmation(), ilObject2GUI\deleteConfirmedObjects(), ilObjStyleSheetGUI\deleteCoreCharMessage(), ilObjSystemFolderGUI\deleteHeaderTitlesObject(), ilObjTaxonomyGUI\deleteItems(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSCORM2004LearningModuleGUI\deleteNodes(), ilObjExternalToolsSettingsGUI\deleteSocialBookmarksObject(), ilObjMediaObjectGUI\deleteSrtFilesObject(), ilObjStyleSettingsGUI\deleteSysStyleCatAssignmentsObject(), ilObjTaxonomyGUI\deleteTaxonomy(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjContentObjectGUI\deleteTooltips(), ilObjExerciseGUI\deliverFileObject(), 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(), ilObjHelpSettingsGUI\editSettings(), ilObjWikiSettingsGUI\editSettings(), ilObjBlogAdministrationGUI\editSettings(), ilObjExerciseAdministrationGUI\editSettings(), ilObjPortfolioAdministrationGUI\editSettings(), ilObjNewsSettingsGUI\editSettings(), ilObjPersonalDesktopSettingsGUI\editSettings(), ilObjLearningResourcesSettingsGUI\editSettings(), ilObjSkillManagementGUI\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(), ilObjHelpSettingsGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjWikiSettingsGUI\executeCommand(), ilObjContentObjectGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjCloudGUI\executeCommand(), ilObjExerciseGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjFileAccessSettingsGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjCourseGUI\fetchPrintMemberData(), ilObjContentObjectGUI\filterTooltips(), ilObjBlogGUI\finalize(), ilContainerGUI\forwardToPageObject(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), ilObjComponentSettingsGUI\getAdminTabs(), ilObjSkillManagementGUI\getAdminTabs(), ilObjRoleFolderGUI\getAdminTabs(), ilObjMediaCastGUI\getCastItemValues(), ilObjBlogGUI\getExerciseInfo(), ilObjMediaCastGUI\getFeedIconsHTML(), ilObjContentObjectGUI\getLayoutOption(), ilObjForumGUI\getModifiedReOnSubject(), ilObjContentObjectGUI\getMultiLangHeader(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjGlossaryGUI\getPublicAccessColValue(), ilObjContentObjectGUI\getPublicAccessColValue(), ilObjTestGUI\getQuestionpoolCreationForm(), ilObjChatroomGUI\getRefId(), ilObjForumGUI\getReplyEditForm(), getRightColumnHTML(), ilObjWikiGUI\getSettingsFormValues(), ilObjSurveyAdministrationGUI\getSettingsTemplateConfig(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), ilObjStyleSheetGUI\getStyleExampleHTML(), ilObjForumGUI\getSubTabs(), ilObjRootFolderGUI\getTabs(), ilObjCategoryGUI\getTabs(), ilObjFolderGUI\getTabs(), ilObjSurveyAdministrationGUI\getTabs(), ilObjWikiGUI\getTabs(), ilObjAssessmentFolderGUI\getTabs(), ilObjFileBasedLMGUI\getTabs(), ilObjStyleSettingsGUI\getTabs(), ilObjStyleSheetGUI\getTabs(), ilObjExerciseGUI\getTabs(), ilObjGroupGUI\getTabs(), ilObjCourseGUI\getTabs(), ilObjSAHSLearningModuleGUI\getTemplate(), ilObjFileBasedLMGUI\getTemplate(), ilObjForumGUI\getUserNotificationTableData(), ilObjItemGroupGUI\gotoParent(), ilContainerGUI\ilContainerGUI(), ilExcelWriterAdapter\ilExcelWriterAdapter(), ilObjAdvancedEditingGUI\ilObjAdvancedEditingGUI(), ilObjAICCLearningModuleGUI\ilObjAICCLearningModuleGUI(), ilObjContentObjectGUI\ilObjContentObjectGUI(), ilObjectGUI(), ilObjExerciseGUI\ilObjExerciseGUI(), ilObjExternalToolsSettingsGUI\ilObjExternalToolsSettingsGUI(), ilObjFileBasedLMGUI\ilObjFileBasedLMGUI(), ilObjGlossaryGUI\ilObjGlossaryGUI(), ilObjHACPLearningModuleGUI\ilObjHACPLearningModuleGUI(), ilObjiLincClassroomGUI\ilObjiLincClassroomGUI(), 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(), ilObjWikiGUI\infoScreen(), ilObjectPluginGUI\infoScreen(), ilObjExerciseGUI\infoScreen(), ilObjBibliographicGUI\infoScreenForward(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjStyleSettingsGUI\initAddPageLayoutForm(), ilObjExerciseGUI\initAssignmentForm(), ilObjStyleSheetGUI\initCharacteristicForm(), ilObjAdvancedEditingGUI\initCharSelectorSettingsForm(), ilObjStyleSheetGUI\initColorForm(), ilObjSystemFolderGUI\initContactInformationForm(), ilObjCloudGUI\initCreateForm(), ilObjSAHSLearningModuleGUI\initCreationForm(), ilObjBibliographicGUI\initCreationForms(), initDidacticTemplate(), ilObjPollGUI\initEditCustomForm(), ilObjBlogGUI\initEditCustomForm(), ilObjectPluginGUI\initEditForm(), ilObjBibliographicGUI\initEditForm(), initEditForm(), ilObjPrivacySecurityGUI\initErrorMessages(), ilObjMediaPoolGUI\initFolderForm(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilObjWikiSettingsGUI\initForm(), ilObjMediaObjectGUI\initForm(), ilObjUserGUI\initForm(), ilObjExerciseAdministrationGUI\initFormSettings(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjPortfolioAdministrationGUI\initFormSettings(), ilObjTaggingSettingsGUI\initFormSettings(), ilObjSearchSettingsGUI\initFormSettings(), ilObjMediaCastSettingsGUI\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(), ilObjExerciseGUI\initMultiFeedbackForm(), ilObjUserFolderGUI\initNewAccountMailForm(), ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjStyleSettingsGUI\initPageLayoutImportForm(), ilObjWorkspaceFolderGUI\initPasswordForm(), ilObjFileAccessSettingsGUI\initPreviewSettingsForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesEditableForm(), ilObjStyleSheetGUI\initPropertiesForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjSystemFolderGUI\initProxyForm(), ilObjPollGUI\initQuestionForm(), ilObjSystemFolderGUI\initServerInfoForm(), ilObjContentObjectGUI\initSetPageLayoutForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjTaxonomyGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilObjFileGUI\initSingleUploadForm(), ilObjContentObjectGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjWikiGUI\initStylePropertiesForm(), ilObjGlossaryGUI\initStylePropertiesForm(), ilContainerGUI\initStylePropertiesForm(), ilObjStyleSheetGUI\initTagStyleForm(), ilObjTaxonomyGUI\initTaxNodeForm(), ilObjStyleSheetGUI\initTemplateForm(), ilObjStyleSheetGUI\initTemplateGenerationForm(), ilObjWikiGUI\initTemplateSelectionForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjExerciseGUI\initUploadForm(), ilObjFileAccessSettingsGUI\initUploadSettingsForm(), ilObjUserFolderGUI\initUserImportForm(), ilObjSystemFolderGUI\initWebServicesForm(), ilObjFileGUI\initZipUploadForm(), ilObjExerciseGUI\initZipUploadForm(), ilObjSCORM2004LearningModuleGUI\insertAsset(), ilObjSCORM2004LearningModuleGUI\insertChapter(), ilObjContentObjectGUI\insertChapter(), ilObjSCORM2004LearningModuleGUI\insertPage(), ilObjSCORM2004LearningModuleGUI\insertScenarioGUI(), ilObjSCORM2004LearningModuleGUI\insertSco(), ilObjSCORM2004LearningModuleGUI\insertTemplate(), ilObjSCORM2004LearningModuleGUI\insertTemplateGUI(), ilObjForumGUI\isParentObjectCrsOrGrp(), ilObjTaxonomyGUI\listAssignedItems(), ilObjExerciseGUI\listAssignmentsObject(), ilObjStyleSheetGUI\listImagesObject(), ilObjMediaCastGUI\listItemsObject(), ilObjMediaPoolGUI\listMedia(), ilObjTaxonomyGUI\listNodes(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilObjTaxonomyGUI\listTaxonomies(), ilObjGlossaryGUI\listTerms(), ilObjExerciseGUI\listTextAssignmentObject(), ilObjAuthSettingsGUI\loginInfoObject(), ilObjiLincCourseGUI\membersObject(), ilObjGroupGUI\membersObject(), ilObjExerciseGUI\membersObject(), ilObjCourseGUI\membersObject(), ilContainerGUI\modifyItemGUI(), ilObjTaxonomyGUI\moveItems(), ilObjTestGUI\movePageFormObject(), ilObjStyleSettingsGUI\moveUserStylesObject(), ilObjUserFolderGUI\newAccountMailObject(), ilObjSCORMLearningModuleGUI\offlineModeManager(), ilObjExerciseGUI\orderAssignmentsByDeadlineObject(), ilObjStyleSheetGUI\outputTagStyleEditScreen(), ilObjContentObjectGUI\pages(), ilObjTestGUI\participantsObject(), ilObjWorkspaceFolderGUI\passwordForm(), ilObjStyleSheetGUI\pasteCharacteristicsObject(), ilObjTaxonomyGUI\pasteItems(), ilContainerGUI\pasteObject(), ilObjMailGUI\performImportObject(), ilObjWikiGUI\performSearchObject(), ilObjBlogGUI\preview(), ilObjSCORMLearningModuleGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjContentObjectGUI\properties(), ilObjStyleSheetGUI\propertiesObject(), ilObjQuestionPoolGUI\questionsObject(), ilObjTestGUI\questionsObject(), ilObjGroupGUI\refuseSubscribersObject(), ilObjBlogGUI\removeContributor(), ilContainerGUI\removeFromDeskObject(), ilObjBlogGUI\removeFromDeskObject(), ilObjForumGUI\removeFromDeskObject(), ilContainerGUI\removeFromSystemObject(), ilObjWikiGUI\removeImportantPagesObject(), ilObjContentObjectGUI\removeLMGlossary(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjPollGUI\render(), ilObjBlogGUI\render(), ilObjBlogGUI\renderList(), ilObjWikiGUI\renderSideBlock(), ilObjContentObjectGUI\resetNumberOfTries(), ilObjBookingPoolGUI\rsvCancelObject(), ilObjBookingPoolGUI\rsvConfirmCancelAggregationObject(), ilObjBookingPoolGUI\rsvConfirmCancelObject(), ilObjAccessibilitySettingsGUI\saveAccessKeys(), ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), ilObjTaxonomyGUI\saveAssignedItemsSorting(), ilObjExerciseGUI\saveAssignmentObject(), ilObjExerciseGUI\saveAssignmentOrderObject(), 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(), ilObjExerciseGUI\saveGradesObject(), 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(), ilObjExerciseGUI\setAssignmentHeader(), ilObjWikiGUI\setAsStartPageObject(), ilObjContentObjectGUI\setContentSubTabs(), ilObjCourseGUI\setContentSubTabs(), ilObjMediaPoolGUI\setMediaPoolPageTabs(), ilObjHelpSettingsGUI\setMode(), ilContainerGUI\setPageEditorTabs(), ilObjContentObjectGUI\setPageLayout(), ilObjPollGUI\setParticipantsSubTabs(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjContentObjectGUI\setQuestionsSubTabs(), ilObjSystemFolderGUI\setServerInfoSubTabs(), ilObjWikiGUI\setSettingsSubTabs(), ilObjSAHSLearningModuleGUI\setSettingsSubTabs(), ilObjGlossaryGUI\setSettingsSubTabs(), ilObjFolderGUI\setSubTabs(), ilObjSCORMLearningModuleGUI\setSubTabs(), ilObjStyleSheetGUI\setSubTabs(), ilObjSCORM2004LearningModuleGUI\setSubTabs(), ilObjWorkspaceRootFolderGUI\setTabs(), ilObjWorkspaceFolderGUI\setTabs(), ilObjNotificationAdminGUI\setTabs(), ilObjExternalFeedGUI\setTabs(), ilObjItemGroupGUI\setTabs(), ilObjPollGUI\setTabs(), ilObjCloudGUI\setTabs(), ilObjBlogGUI\setTabs(), ilObjDataCollectionGUI\setTabs(), ilObject2GUI\setTabs(), ilObjTaxonomyGUI\setTabs(), ilObjFileGUI\setTabs(), ilObjMediaCastGUI\setTabs(), ilObjStyleSheetGUI\setTabs(), ilObjLinkResourceGUI\setTabs(), ilObjContentObjectGUI\setTabs(), ilObjStyleSheetGUI\setTemplatesSubTabs(), ilObjCertificateSettingsGUI\settings(), ilObjAdvancedEditingGUI\settingsObject(), ilObjSurveyAdministrationGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjRootFolderGUI\setTitleAndDescription(), ilObjForumGUI\setTopicCreateDefaultValues(), ilObjForumGUI\setTreeStateAsynchObject(), ilObjGlossaryGUI\showActions(), ilObjContentObjectGUI\showActions(), ilContainerGUI\showAdministrationPanel(), ilObjExerciseGUI\showAssignmentTextObject(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjNotificationAdminGUI\showConfigMatrixObject(), ilObjBibliographicGUI\showContent(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjBibliographicGUI\showDetails(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjExerciseGUI\showGradesOverviewObject(), ilObjSCORM2004LearningModuleGUI\showLearningObjectivesAlignment(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), ilObjExerciseGUI\showMultiFeedbackObject(), ilObjSCORM2004LearningModuleGUI\showOrganization(), ilObjExerciseGUI\showParticipantObject(), 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(), ilObjExerciseGUI\updateAssignmentObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjBlogGUI\updateCustom(), ilObjMediaPoolGUI\updateFolder(), ilObjMediaPoolGUI\updateMediaPoolPage(), ilObjStyleSheetGUI\updateMediaQueryObject(), ilObjStyleSheetGUI\updateObject(), ilObjTaxonomyGUI\updateSettings(), ilObjExternalToolsSettingsGUI\updateSocialBookmarkObject(), ilObjTaxonomyGUI\updateTaxNode(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjHelpSettingsGUI\uploadHelpFile(), 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 77 of file class.ilObjectGUI.php.

◆ $ref_id

◆ $return_location

◆ $sub_objects

ilObjectGUI::$sub_objects

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

Referenced by showPossibleSubObjects().

◆ $tab_target_script

ilObjectGUI::$tab_target_script

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

◆ $target_frame

ilObjectGUI::$target_frame

Definition at line 72 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(), ilObjiLincCourseGUI\__showSearchGroupTable(), ilObjiLincCourseGUI\__showSearchRoleTable(), ilObjiLincCourseGUI\__showSearchUserTable(), ilContainerGUI\__showTimingsButton(), ilObjCategoryGUI\__showUsersTable(), ilObjCourseGUI\__showWaitingListTable(), ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjStyleSheetGUI\_getTemplatePreview(), ilObjStyleSheetGUI\accordiontestObject(), ilObjExerciseGUI\addAssignmentObject(), ilObjMediaCastGUI\addCastItemObject(), ilObjStyleSheetGUI\addCharacteristicFormObject(), ilObjStyleSheetGUI\addColorObject(), ilObjDataCollectionGUI\addHeaderAction(), ilObjStyleSheetGUI\addImageObject(), ilObjStyleSheetGUI\addMediaQueryObject(), ilObjContentObjectGUI\addMenuEntry(), ilObjLanguageExtGUI\addNewEntryObject(), ilObjTestGUI\addParticipantsObject(), ilObjTestGUI\addQuestionObject(), ilObjStyleSettingsGUI\addStyleCatAssignmentObject(), ilObjStyleSheetGUI\addTemplateObject(), ilObjExerciseGUI\adoptTeamAssignmentsFormObject(), ilObjSurveyGUI\afterSave(), ilObjForumGUI\afterSave(), ilObjMediaPoolGUI\allMedia(), ilObjWikiGUI\allPagesObject(), ilObjAuthSettingsGUI\apacheAuthSettingsObject(), ilObjExerciseGUI\askDirectionSubmissionObject(), ilObjSCORM2004LearningModuleGUI\assignGlossary(), ilObjStyleSettingsGUI\assignStylesToCatsObject(), ilObjCloudGUI\asyncGetBlock(), ilObjSystemFolderGUI\benchmarkObject(), ilObjBookingPoolGUI\bookObject(), ilObjBlogGUI\buildExportTemplate(), ilContainerGUI\clipboardObject(), ilObjExerciseGUI\confirmAssignmentsDeletionObject(), ilObjBookingPoolGUI\confirmBookingNumbers(), ilObjExerciseGUI\confirmDeassignMembersObject(), ilObjPollGUI\confirmDeleteAllVotes(), ilObjExerciseGUI\confirmDeleteDeliveredObject(), ilObjStyleSettingsGUI\confirmDeleteIndividualStyles(), ilObjTaxonomyGUI\confirmDeleteTaxonomy(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjSCORM2004LearningModuleGUI\confirmExpertMode(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjHelpSettingsGUI\confirmHelpModulesDeletion(), ilObjCourseGUI\confirmLPSync(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjExerciseGUI\confirmRemoveTeamMemberObject(), ilObjExerciseGUI\confirmResetPeerReviewObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjBlogGUI\contributors(), ilObjExerciseGUI\createBlogObject(), ilObjMediaPoolGUI\createFolderForm(), ilObjSCORM2004LearningModuleGUI\createGlossary(), ilObjMediaPoolGUI\createMediaPoolPage(), ilObjStyleSheetGUI\createObject(), ilObjMediaObjectGUI\createObject(), ilObjUserGUI\createObject(), createObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjTestGUI\createQuestionObject(), ilObjTaxonomyGUI\createTaxNode(), ilObjExerciseGUI\createTeamObject(), ilObjStyleSheetGUI\deleteCharacteristicConfirmationObject(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObject2GUI\deleteConfirmation(), ilObjStyleSheetGUI\deleteCoreCharMessage(), ilObjTaxonomyGUI\deleteItems(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSCORM2004LearningModuleGUI\deleteNodes(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjStyleSheetGUI\displayTemplateEditForm(), ilObjAccessibilitySettingsGUI\editAccessKeys(), ilObjExerciseGUI\editAssignmentObject(), ilObjMediaCastGUI\editCastItemObject(), ilObjStyleSheetGUI\editColorObject(), ilObjStyleSettingsGUI\editContentStylesObject(), ilObjCourseGUI\editCourseIconsObject(), ilObjFileAccessSettingsGUI\editDiskQuotaMailTemplate(), ilObjFileAccessSettingsGUI\editDiskQuotaSettings(), ilObjFileAccessSettingsGUI\editDownloadingSettings(), ilObjMediaPoolGUI\editFolder(), ilObjTaggingSettingsGUI\editForbiddenTags(), ilObjContentObjectGUI\editGlossaries(), ilObjGroupGUI\editGroupIconsObject(), ilObjFolderGUI\editIconsObject(), ilObjCategoryGUI\editIconsObject(), ilObjWikiGUI\editImportantPagesObject(), ilObjExternalToolsSettingsGUI\editMapsObject(), ilObjExternalToolsSettingsGUI\editMathJaxObject(), ilObjMediaPoolGUI\editMediaPoolPage(), ilObjStyleSheetGUI\editMediaQueryObject(), ilObjContentObjectGUI\editMenuProperties(), ilObjStyleSheetGUI\editObject(), ilObjFileBasedLMGUI\editObject(), ilObjMediaObjectGUI\editObject(), editObject(), ilObjMediaCastGUI\editOrderObject(), ilContainerGUI\editPageContentObject(), ilObjExerciseGUI\editPeerReviewObject(), ilObjFileAccessSettingsGUI\editPreviewSettings(), ilObjWikiSettingsGUI\editSettings(), ilObjMediaObjectsSettingsGUI\editSettings(), ilObjTaxonomyGUI\editSettings(), ilObjWikiGUI\editSettingsObject(), ilObjMediaCastGUI\editSettingsObject(), ilObjSkillManagementGUI\editSkills(), ilObjSkillManagementGUI\editSkillTemplates(), ilObjContentObjectGUI\editStyleProperties(), ilObjSCORM2004LearningModuleGUI\editStyleProperties(), ilObjGlossaryGUI\editStyleProperties(), ilObjWikiGUI\editStylePropertiesObject(), ilContainerGUI\editStylePropertiesObject(), ilObjStyleSettingsGUI\editSystemStylesObject(), ilObjStyleSheetGUI\editTagStyleObject(), ilObjStyleSheetGUI\editTemplateObject(), ilObjRootFolderGUI\editTranslationsObject(), ilObjCategoryGUI\editTranslationsObject(), ilObjFileAccessSettingsGUI\editUploadSettings(), ilObjFileAccessSettingsGUI\editWebDAVSettings(), ilObjExternalFeedGUI\executeCommand(), ilObjBookingPoolGUI\executeCommand(), ilObjectPluginGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilContainerGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjQuestionPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjMediaObjectGUI\executeCommand(), ilObjPollGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjBlogGUI\exportHTMLPages(), ilContainerGUI\fileManagerLaunchObject(), ilObjStyleSheetGUI\generateTemplateObject(), getCreationFormsHTML(), ilObjForumGUI\getIcon(), ilObjForumGUI\getModifiedReOnSubject(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilObjDataCollectionGUI\getType(), ilObjForumGUI\getUserNotificationTableData(), ilObjectGUI(), ilObjiLincClassroomGUI\ilObjiLincClassroomGUI(), ilObjStyleSheetGUI\ilObjStyleSheetGUI(), ilObjGlossaryGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjContentObjectGUI\importFileObject(), importFileObject(), ilObjSurveyGUI\importFileObject(), ilObjStyleSettingsGUI\importPageLayoutFormObject(), ilObjStyleSettingsGUI\importPageLayoutObject(), ilObjSurveyQuestionPoolGUI\importQuestionsObject(), ilObjUserFolderGUI\importUserFormObject(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjMediaObjectGUI\includePresentationJS(), ilObjCourseGUI\infoScreen(), ilObjectPluginGUI\infoScreen(), ilObjFileGUI\infoScreenForward(), ilObjUserGUI\initCreate(), ilObjGroupGUI\initForm(), ilObjTermsOfServiceGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilContainerGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\insertScenarioGUI(), ilObjSCORM2004LearningModuleGUI\insertTemplateGUI(), ilObjUserFolderGUI\learningProgressObject(), ilObjLinkResourceGUI\linkChecker(), ilObjContentObjectGUI\linkChecker(), ilObjTaxonomyGUI\listAssignedItems(), ilObjExerciseGUI\listAssignmentsObject(), ilObjContentObjectGUI\listBlockedUsers(), ilObjStyleSheetGUI\listColorsObject(), ilObjWikiGUI\listContributorsObject(), ilObjStyleSheetGUI\listImagesObject(), ilObjMediaCastGUI\listItemsObject(), ilObjContentObjectGUI\listLinks(), ilObjItemGroupGUI\listMaterials(), ilObjMediaPoolGUI\listMedia(), ilObjStyleSheetGUI\listMediaQueriesObject(), ilObjTaxonomyGUI\listNodes(), ilObjComponentSettingsGUI\listPlugins(), ilObjExerciseGUI\listPublicSubmissionsObject(), ilObjContentObjectGUI\listQuestions(), ilObjMediaObjectGUI\listSubtitleFilesObject(), ilObjTaxonomyGUI\listTaxonomies(), ilObjStyleSheetGUI\listTemplatesObject(), ilObjGlossaryGUI\listTerms(), ilObjExerciseGUI\listTextAssignmentObject(), ilObjBookingPoolGUI\logDetailsObject(), ilObjBookingPoolGUI\logObject(), ilObjGroupGUI\membersMapObject(), ilObjCourseGUI\membersMapObject(), ilObjExerciseGUI\membersObject(), 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(), ilObjSCORMLearningModuleGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjFileBasedLMGUI\properties(), ilObjGlossaryGUI\properties(), ilObjGlossaryGUI\quickList(), ilObjWikiGUI\recentChangesObject(), redrawHeaderActionObject(), ilContainerGUI\redrawListItemObject(), ilObjWorkspaceFolderGUI\render(), ilObjPollGUI\render(), ilObjBlogGUI\render(), ilObjBlogGUI\renderFullScreen(), ilContainerGUI\renderObject(), ilObjWikiGUI\renderSideBlock(), ilObjTermsOfServiceGUI\resetAgreementByLanguageFilter(), ilObjBookingPoolGUI\rsvCancelObject(), ilObjBookingPoolGUI\rsvConfirmCancelAggregationObject(), ilObjBookingPoolGUI\rsvConfirmCancelObject(), ilObjBibliographicGUI\save(), ilObjExerciseGUI\saveAssignmentObject(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjStyleSheetGUI\saveCharacteristicObject(), ilObjAdvancedEditingGUI\saveCharSelectorSettingsObject(), ilObjStyleSheetGUI\saveColorObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjMediaPoolGUI\saveFolder(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjAdvancedEditingGUI\saveGeneralPageSettingsObject(), ilObjSCORM2004LearningModuleGUI\saveGlossary(), ilObjSystemFolderGUI\saveHTTPSObject(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjMediaPoolGUI\saveMediaPoolPage(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjWikiGUI\saveObject(), ilObjGlossaryGUI\saveObject(), ilObjUserGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), saveObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjFileAccessSettingsGUI\savePreviewSettings(), ilObjFileBasedLMGUI\saveProperties(), ilObjGlossaryGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjSystemFolderGUI\saveProxyObject(), ilObjSCORM2004LearningModuleGUI\saveSequencing(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjTaxonomyGUI\saveTaxNode(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjFileAccessSettingsGUI\saveUploadSettings(), ilObjSystemFolderGUI\saveWebServicesObject(), ilObjExerciseGUI\selectBlogObject(), ilObjExerciseGUI\selectPortfolioObject(), ilObjMediaPoolGUI\selectUploadDirFiles(), ilObjBibliographicGUI\sendFile(), ilObjExerciseGUI\setAssignmentHeader(), ilObjPortfolioBaseGUI\setContentStyleSheet(), ilObjWikiGUI\setContentStyleSheet(), ilObjGlossaryGUI\setContentStyleSheet(), ilObjBlogGUI\setContentStyleSheet(), ilObject2GUI\setLocator(), setLocator(), ilObjContentObjectGUI\setPageLayout(), ilObjStyleSettingsGUI\setScopeObject(), ilObjSystemFolderGUI\setServerInfoSubTabs(), ilObjTaxonomyGUI\setTabs(), ilObjAdvancedEditingGUI\settingsObject(), ilObjSurveyAdministrationGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjForumGUI\setTreeStateAsynchObject(), ilObjWorkspaceFolderGUI\share(), ilObjExerciseGUI\showAssignmentTextObject(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjAdvancedEditingGUI\showCharSelectorSettingsObject(), ilObjSystemFolderGUI\showContactInformationObject(), ilObjBibliographicGUI\showContent(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjBibliographicGUI\showDetails(), ilObjSCORM2004LearningModuleGUI\showEditTree(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjSCORM2004LearningModuleGUI\showExportList(), ilObjMediaCastGUI\showGallery(), ilObjAdvancedEditingGUI\showGeneralPageEditorSettingsObject(), ilObjMDSettingsGUI\showGeneralSettings(), ilObjExerciseGUI\showGradesOverviewObject(), ilObjSystemFolderGUI\showHeaderTitleObject(), ilObjSystemFolderGUI\showHTTPSObject(), ilObjSystemFolderGUI\showJavaServerObject(), ilObjSCORM2004LearningModuleGUI\showLearningObjectivesAlignment(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjContentObjectGUI\showMaintenance(), ilObjMediaPoolGUI\showMediaPoolPageUsages(), showMountWebfolderIcon(), ilObjExerciseGUI\showMultiFeedbackConfirmationTableObject(), ilObjExerciseGUI\showMultiFeedbackObject(), ilObjSCORM2004LearningModuleGUI\showOrganization(), ilObjExerciseGUI\showOverviewObject(), ilObjMediaPoolGUI\showPage(), ilObjAdvancedEditingGUI\showPageEditorSettingsObject(), ilObjExerciseGUI\showParticipantObject(), ilObjPollGUI\showParticipants(), ilObjPollGUI\showParticipantVotes(), ilContainerGUI\showPasswordInstructionObject(), ilObjExerciseGUI\showPeerReviewOverviewObject(), ilObjExerciseGUI\showPersonalPeerReviewObject(), 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(), ilObjExerciseGUI\updateAssignmentObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjPaymentSettingsGUI\updateDetailsObject(), ilObjMediaPoolGUI\updateFolder(), ilObjMediaPoolGUI\updateMediaPoolPage(), ilObjStyleSheetGUI\updateMediaQueryObject(), ilObjStyleSheetGUI\updateObject(), ilObjUserGUI\updateObject(), updateObject(), ilObjUserGUI\updateObjectOld(), ilObjExerciseGUI\updatePeerReviewCommentsObject(), ilObjTaxonomyGUI\updateSettings(), ilObjTaxonomyGUI\updateTaxNode(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjStyleSheetGUI\uploadImageObject(), ilObjLanguageFolderGUI\viewObject(), ilObjLanguageExtGUI\viewObject(), ilObjUserFolderGUI\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(), ilObjForumGUI\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(), getAdminTabs(), ilObjRoleFolderGUI\getAdminTabs(), ilRoleDesktopItem\getAll(), ilObjDlBookGUI\getContextPath(), ilObjForumGUI\getIcon(), ilObjForumGUI\getModifiedReOnSubject(), ilObjSessionGUI\getTabs(), ilObjCategoryGUI\getTaxonomiesForRefId(), ilObjSessionGUI\handleFileUpload(), ilContainerGUI\ilContainerGUI(), ilObjectGUI(), ilObjFileAccessSettingsGUI\ilObjFileAccessSettingsGUI(), ilObjiLincClassroomGUI\ilObjiLincClassroomGUI(), 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(), ilObjRoleGUI\listDesktopItemsObject(), ilObjiLincCourseGUI\listUsersGroupObject(), ilContainerGUI\lockObject(), ilObjSessionGUI\materialsObject(), ilObjSessionGUI\membersObject(), ilObjExerciseGUI\membersObject(), ilObjSessionGUI\modifyItemGUI(), ilObjGroupGUI\modifyItemGUI(), ilObjFolderGUI\modifyItemGUI(), ilObjSCORMLearningModuleGUI\offlineModeManager(), ilObjContentObjectGUI\pages(), ilContainerGUI\pasteObject(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), ilObjRoleGUI\permSaveObject(), ilObjSCORMLearningModuleGUI\properties(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjFileBasedLMGUI\properties(), ilContainerGUI\recurseFolder(), ilObjExerciseGUI\renderWorkspaceExplorer(), ilObjExerciseGUI\saveBlogObject(), ilObjSCORM2004LearningModuleGUI\saveGlossary(), ilObjGroupGUI\saveObject(), ilObjStyleSettingsGUI\saveScopeObject(), ilObjiLincCourseGUI\searchObject(), ilObjRoleGUI\selectDesktopItemObject(), ilObjExerciseGUI\setSelectedBlogObject(), ilObjCourseGUI\setSubTabs(), ilObjExerciseGUI\showGradesOverviewObject(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), showMountWebfolderIcon(), ilObjExerciseGUI\showParticipantObject(), ilContainerReferenceGUI\showTargetSelectionTreeObject(), ilObjStyleSheetGUI\showUpperIcon(), ilChatroomObjectGUI\switchToVisibleMode(), ilObjGroupGUI\unsubscribeObject(), ilObjSessionGUI\updateMembersObject(), ilObjFolderGUI\viewObject(), and ilObjGroupGUI\viewObject().

◆ CFORM_CLONE

const ilObjectGUI::CFORM_CLONE = 3

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

◆ CFORM_IMPORT

const ilObjectGUI::CFORM_IMPORT = 2

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

◆ CFORM_NEW

const ilObjectGUI::CFORM_NEW = 1

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

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