ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilObjectGUI Class Reference

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

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

Public Member Functions

 __construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true)
 
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 redirectAfterCreation ()
 Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More...
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 

Static Public Member Functions

static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 

Data Fields

const ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
 
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 

Protected Member Functions

 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 initCreationForms (string $new_type)
 Init creation forms. More...
 
 getCreationFormsHTML (array $forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm (string $new_type)
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 initImportForm (string $new_type)
 
 importFileObject (int $parent_id=null)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More...
 
 fillCloneTemplate (?string $tpl_name, string $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...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true)
 show edit section of custom icons for container More...
 

Protected Attributes

ILIAS Notes Service $notes_service
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Factory $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $custom_icon_factory
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Private Attributes

ilObjectRequestRetriever $retriever
 

Detailed Description

Class ilObjectGUI Basic methods of all Output classes.

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

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

Constructor & Destructor Documentation

◆ __construct()

ilObjectGUI::__construct (   $data,
int  $id = 0,
bool  $call_by_reference = true,
bool  $prepare_output = true 
)
Parameters
mixed$data
int$id
bool$call_by_reference
bool$prepare_output
Exceptions
ilCtrlException

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

References $call_by_reference, $data, $DIC, $id, $params, $prepare_output, $ref_id, $refinery, $requested_ref_id, ILIAS\Repository\access(), assignObject(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ILIAS\Repository\object(), prepareOutput(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().

116  {
117  global $DIC;
118 
119  $this->request = $DIC->http()->request();
120  $this->locator = $DIC["ilLocator"];
121  $this->user = $DIC->user();
122  $this->access = $DIC->access();
123  $this->settings = $DIC->settings();
124  $this->toolbar = $DIC->toolbar();
125  $this->rbac_admin = $DIC->rbac()->admin();
126  $this->rbac_system = $DIC->rbac()->system();
127  $this->rbac_review = $DIC->rbac()->review();
128  $this->object_service = $DIC->object();
129  $this->obj_definition = $DIC["objDefinition"];
130  $this->tpl = $DIC["tpl"];
131  $this->tree = $DIC->repositoryTree();
132  $this->ctrl = $DIC->ctrl();
133  $this->error = $DIC["ilErr"];
134  $this->lng = $DIC->language();
135  $this->tabs_gui = $DIC->tabs();
136  $this->ilias = $DIC["ilias"];
137  $this->post_wrapper = $DIC->http()->wrapper()->post();
138  $this->request_wrapper = $DIC->http()->wrapper()->query();
139  $this->refinery = $DIC->refinery();
140  $this->retriever = new ilObjectRequestRetriever($DIC->http()->wrapper(), $this->refinery);
141  $this->favourites = new ilFavouritesManager();
142  $this->custom_icon_factory = $DIC['object.customicons.factory'];
143 
144  $this->data = $data;
145  $this->id = $id;
146  $this->call_by_reference = $call_by_reference;
147  $this->prepare_output = $prepare_output;
148 
149  $params = array("ref_id");
150  if (!$call_by_reference) {
151  $params = array("ref_id","obj_id");
152  }
153  $this->ctrl->saveParameter($this, $params);
154 
155  if ($this->request_wrapper->has("ref_id")) {
156  $this->requested_ref_id = $this->request_wrapper->retrieve("ref_id", $this->refinery->kindlyTo()->int());
157  }
158 
159  $this->obj_id = $this->id;
160  $this->ref_id = $this->requested_ref_id;
161 
162  if ($call_by_reference) {
163  $this->ref_id = $this->id;
164  $this->obj_id = 0;
165  if ($this->request_wrapper->has("obj_id")) {
166  $this->obj_id = $this->request_wrapper->retrieve("obj_id", $this->refinery->kindlyTo()->int());
167  }
168  }
169 
170  // TODO: refactor this with post_wrapper or request_wrapper
171  // callback after creation
172  $this->requested_crtptrefid = $this->retriever->getMaybeInt('crtptrefid', 0);
173  $this->requested_crtcb = $this->retriever->getMaybeInt('crtcb', 0);
174  $this->requested_new_type = $this->retriever->getMaybeString('new_type', '');
175 
176 
177  if ($this->id != 0) {
178  $this->link_params = "ref_id=" . $this->ref_id;
179  }
180 
181  $this->assignObject();
182 
183  if (is_object($this->object)) {
184  if ($this->call_by_reference && $this->ref_id == $this->requested_ref_id) {
185  $this->ctrl->setContextObject(
186  $this->object->getId(),
187  $this->object->getType()
188  );
189  }
190  }
191 
192  if ($prepare_output) {
193  $this->prepareOutput();
194  }
195 
196  $this->notes_service = $DIC->notes();
197  }
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33
prepareOutput(bool $show_sub_objects=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: feed.php:28
header include for all ilias files.
Base class for all sub item list gui's.
+ Here is the call graph for this function:

Member Function Documentation

◆ _gotoRepositoryNode()

static ilObjectGUI::_gotoRepositoryNode ( int  $ref_id,
string  $cmd = "" 
)
static

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

References $DIC, ilCtrl\redirectByClass(), and ilCtrl\setParameterByClass().

Referenced by ilObjChatroomAdminGUI\_goto(), ilObjChatroomGUI\_goto(), ilObjContentPageGUI\_goto(), ilObjLearningSequenceGUI\_goto(), ilObjCmiXapiGUI\_goto(), ilRemoteObjectBaseGUI\_goto(), ilObjDataCollectionGUI\_goto(), ilObjIndividualAssessmentGUI\_goto(), ilObjLearningSequence\_goto(), ilObjSessionGUI\_goto(), ilObjFolderGUI\_goto(), ilObjBookingPoolGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjLTIConsumerGUI\_goto(), ilObjFileGUI\_goto(), ilObjWikiGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjGroupGUI\_goto(), ilObjQuestionPoolGUI\_goto(), and ilObjCourseGUI\_goto().

1603  : void
1604  {
1605  global $DIC;
1606 
1607  $ctrl = $DIC->ctrl();
1608  $ctrl->setParameterByClass("ilRepositoryGUI", "ref_id", $ref_id);
1609  $ctrl->redirectByClass("ilRepositoryGUI", $cmd);
1610  }
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
setParameterByClass(string $a_class, string $a_parameter, $a_value)
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _gotoRepositoryRoot()

static ilObjectGUI::_gotoRepositoryRoot ( bool  $raise_error = false)
static

Goto repository root.

Parameters

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

References $DIC, $ilErr, ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilCtrl\setParameterByClass(), and ilLanguage\txt().

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

1584  : void
1585  {
1586  global $DIC;
1587 
1588  $ilAccess = $DIC->access();
1589  $ilErr = $DIC["ilErr"];
1590  $lng = $DIC->language();
1591  $ctrl = $DIC->ctrl();
1592 
1593  if ($ilAccess->checkAccess("read", "", ROOT_FOLDER_ID)) {
1594  $ctrl->setParameterByClass("ilRepositoryGUI", "ref_id", ROOT_FOLDER_ID);
1595  $ctrl->redirectByClass("ilRepositoryGUI");
1596  }
1597 
1598  if ($raise_error) {
1599  $ilErr->raiseError($lng->txt("msg_no_perm_read"), $ilErr->FATAL);
1600  }
1601  }
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
const ROOT_FOLDER_ID
Definition: constants.php:32
setParameterByClass(string $a_class, string $a_parameter, $a_value)
$ilErr
Definition: raiseError.php:17
global $DIC
Definition: feed.php:28
ilLanguage $lng
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _gotoSharedWorkspaceNode()

static ilObjectGUI::_gotoSharedWorkspaceNode ( int  $wsp_id)
static

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

References $DIC, ilCtrl\redirectByClass(), and ilCtrl\setParameterByClass().

Referenced by ilObjFileGUI\_goto().

1612  : void
1613  {
1614  global $DIC;
1615 
1616  $ctrl = $DIC->ctrl();
1617  $ctrl->setParameterByClass(ilSharedResourceGUI::class, "wsp_id", $wsp_id);
1618  $ctrl->redirectByClass(ilSharedResourceGUI::class, "");
1619  }
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
setParameterByClass(string $a_class, string $a_parameter, $a_value)
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addAdminLocatorItems()

ilObjectGUI::addAdminLocatorItems ( bool  $do_not_add_object = false)
protected

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

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

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\locator(), ILIAS\Repository\object(), and SYSTEM_FOLDER_ID.

Referenced by prepareOutput().

553  : void
554  {
555  if ($this->admin_mode == self::ADMIN_MODE_SETTINGS) {
556  $this->ctrl->setParameterByClass(
557  "ilobjsystemfoldergui",
558  "ref_id",
560  );
561  $this->locator->addItem(
562  $this->lng->txt("administration"),
563  $this->ctrl->getLinkTargetByClass(["iladministrationgui", "ilobjsystemfoldergui"], "")
564  );
565  if ($this->object && ($this->object->getRefId() != SYSTEM_FOLDER_ID && !$do_not_add_object)) {
566  $this->locator->addItem(
567  $this->object->getTitle(),
568  $this->ctrl->getLinkTarget($this, "view")
569  );
570  }
571  } else {
572  $this->ctrl->setParameterByClass(
573  "iladministrationgui",
574  "ref_id",
575  ""
576  );
577  $this->ctrl->setParameterByClass(
578  "iladministrationgui",
579  "admin_mode",
580  "settings"
581  );
582  $this->ctrl->clearParametersByClass("iladministrationgui");
583  $this->locator->addAdministrationItems();
584  }
585  }
const SYSTEM_FOLDER_ID
Definition: constants.php:35
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addDidacticTemplateOptions()

ilObjectGUI::addDidacticTemplateOptions ( array &  $a_options)
protected

Add custom templates.

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

Referenced by initDidacticTemplate().

828  : void
829  {
830  }
+ Here is the caller graph for this function:

◆ addExternalEditFormCustom()

ilObjectGUI::addExternalEditFormCustom ( ilPropertyFormGUI  $form)

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

Referenced by ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjMediaPoolGUI\edit(), ilObjEmployeeTalkGUI\editObject(), ilObjBibliographicGUI\editObject(), ilObjDataCollectionGUI\editObject(), editObject(), and ilObjEmployeeTalkGUI\updateObject().

955  : void
956  {
957  // has to be done AFTER setValuesByArray() ...
958  }
+ Here is the caller graph for this function:

◆ addHeaderAction()

ilObjectGUI::addHeaderAction ( )
protected

Add header action menu.

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

References initHeaderAction(), and insertHeaderAction().

Referenced by ilObjExerciseGUI\__construct(), ilObjCmiXapiGUI\_goto(), ilObjLTIConsumerGUI\_goto(), ilObjBlogGUI\addHeaderActionForCommand(), ilObjContentObjectGUI\checkCtrlPath(), ilObjPortfolioTemplateGUI\executeCommand(), ilObjItemGroupGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjSCORM2004LearningModuleGUI\executeCommand(), ilObjLinkResourceGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjStudyProgrammeGUI\executeCommand(), ilObjBibliographicGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjWorkspaceFolderGUI\executeCommand(), ilObjLearningSequenceGUI\executeCommand(), ilObjBlogGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjTestGUI\forwardToEvaluationGUI(), ilObjFileGUI\getParentId(), ilObjForumGUI\getSafePostCommands(), ilObjContentPageGUI\renderHeaderActions(), and ilObjForumGUI\viewThreadObject().

445  : void
446  {
447  $this->insertHeaderAction($this->initHeaderAction());
448  }
insertHeaderAction(?ilObjectListGUI $list_gui=null)
Insert header action into main template.
initHeaderAction(?string $sub_type=null, ?int $sub_id=null)
Add header action menu.
+ 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 540 of file class.ilObjectGUI.php.

Referenced by setLocator().

540  : void
541  {
542  }
+ Here is the caller graph for this function:

◆ addToDeskObject()

ilObjectGUI::addToDeskObject ( )

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

References ilLink\_getLink(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().

1678  : void
1679  {
1680  $this->favourites->add(
1681  $this->user->getId(),
1682  $this->request_wrapper->retrieve("item_ref_id", $this->refinery->kindlyTo()->int())
1683  );
1684  $this->lng->loadLanguageModule("rep");
1685  $this->tpl->setOnScreenMessage("success", $this->lng->txt("rep_added_to_favourites"), true);
1686  $this->ctrl->redirectToURL(ilLink::_getLink($this->requested_ref_id));
1687  }
+ Here is the call graph for this function:

◆ afterImport()

ilObjectGUI::afterImport ( ilObject  $new_object)
protected

Post (successful) object import hook.

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

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by importFileObject(), and ilObjBibliographicGUI\removeFromDesk().

1214  : void
1215  {
1216  $this->tpl->setOnScreenMessage("success", $this->lng->txt("object_added"), true);
1217  $this->ctrl->returnToParent($this);
1218  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ afterSave()

ilObjectGUI::afterSave ( ilObject  $new_object)
protected

Post (successful) object creation hook.

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

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by ilObjTestGUI\addDidacticTemplateOptions(), ilObjEmployeeTalkSeriesGUI\cancelObject(), ilObjPortfolioTemplateGUI\initDidacticTemplate(), ilObjExerciseVerificationGUI\save(), ilObjSCORMVerificationGUI\save(), ilObjCmiXapiVerificationGUI\save(), ilObjLTIConsumerVerificationGUI\save(), ilObjTestVerificationGUI\save(), ilObjCourseVerificationGUI\save(), ilObjEmployeeTalkSeriesGUI\saveObject(), and saveObject().

930  : void
931  {
932  $this->tpl->setOnScreenMessage("success", $this->lng->txt("object_added"), true);
933  $this->ctrl->returnToParent($this);
934  }
+ 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 1055 of file class.ilObjectGUI.php.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by ilObjEmployeeTalkGUI\updateObject(), and updateObject().

1055  : void
1056  {
1057  $this->tpl->setOnScreenMessage("success", $this->lng->txt("msg_obj_modified"), true);
1058  $this->ctrl->redirect($this, "edit");
1059  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ assignObject()

ilObjectGUI::assignObject ( )
protected

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

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

Referenced by ilObjLearningModuleGUI\__construct(), ilObjWorkflowEngineGUI\__construct(), and __construct().

267  : void
268  {
269  // TODO: it seems that we always have to pass only the ref_id
270  if ($this->id != 0) {
271  if ($this->call_by_reference) {
272  $this->object = ilObjectFactory::getInstanceByRefId($this->id);
273  } else {
274  $this->object = ilObjectFactory::getInstanceByObjId($this->id);
275  }
276  }
277  }
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id
static getInstanceByObjId(?int $obj_id, bool $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 835 of file class.ilObjectGUI.php.

References ILIAS\Repository\ctrl().

Referenced by ilObjChatroomGUI\executeCommand(), and ilObjLearningSequenceGUI\executeCommand().

835  : void
836  {
837  $this->ctrl->redirectByClass("ilrepositorygui", "");
838  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cancelDeleteObject()

ilObjectGUI::cancelDeleteObject ( )

cancel deletion of object

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

References ilSession\clear(), and ILIAS\Repository\ctrl().

610  : void
611  {
612  ilSession::clear("saved_post");
613  $this->ctrl->returnToParent($this);
614  }
static clear(string $a_var)
+ Here is the call graph for this function:

◆ cancelObject()

ilObjectGUI::cancelObject ( )

cancel action and go back to previous page

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

References ilSession\clear(), and ILIAS\Repository\ctrl().

Referenced by ilObjFileBasedLMGUI\cancel().

620  : void
621  {
622  ilSession::clear("saved_post");
623  $this->ctrl->returnToParent($this);
624  }
static clear(string $a_var)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkPermission()

ilObjectGUI::checkPermission ( string  $perm,
string  $cmd = "",
string  $type = "",
?int  $ref_id = null 
)
protected

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

References $_SERVER, ilLink\_getLink(), checkPermissionBool(), ilSession\clear(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), and ILIAS\Repository\lng().

Referenced by ilObjBibliographicAdminGUI\__construct(), ilObjExerciseGUI\__construct(), ilObjMediaCastGUI\addCastItemObject(), ilObjBadgeAdministrationGUI\addImageTemplate(), ilObjWikiGUI\addImportantPageObject(), ilObjExerciseGUI\addLocatorItems(), ilObjRoleFolderGUI\adjustRoleObject(), ilObjWikiGUI\allPagesObject(), ilObjCategoryGUI\assignRolesObject(), ilObjCategoryGUI\assignSaveObject(), ilObjSessionGUI\attendanceListObject(), ilObjCourseGUI\autoFillObject(), ilObjContentObjectGUI\checkCtrlPath(), ilObjCategoryGUI\checkGlobalRoles(), ilObjLanguageFolderGUI\checkLanguageObject(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjLanguageFolderGUI\confirmRefreshObject(), ilObjLanguageFolderGUI\confirmRefreshSelectedObject(), ilContainerGUI\confirmRemoveFromSystemObject(), ilObjLanguageFolderGUI\confirmUninstallChangesObject(), ilObjLanguageFolderGUI\confirmUninstallObject(), ilObjLTIAdministrationGUI\createLTIConsumer(), ilObjBadgeAdministrationGUI\deleteImageTemplates(), ilObjMediaCastGUI\deleteItemsObject(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjCategoryGUI\deleteUsersObject(), ilObjMediaCastGUI\downloadItemObject(), ilObjWikiGUI\downloadUserHTMLExportObject(), ilObjWikiGUI\downloadUserHTMLExportWithCommentsObject(), ilObjMediaCastGUI\editCastItemObject(), ilObjBadgeAdministrationGUI\editImageTemplate(), ilObjWikiGUI\editImportantPagesObject(), ilObjCourseGUI\editInfoObject(), ilObjCategoryGUI\editInfoObject(), ilObjGroupGUI\editInfoObject(), ilObjUserTrackingGUI\editLPDefaultsObject(), ilObjGroupGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilObjWikiGUI\editSettingsObject(), ilObjMediaCastGUI\editSettingsObject(), ilObjLoggingSettingsGUI\errorSettings(), ilObjLearningSequenceAdminGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjSystemCheckGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSessionGUI\executeCommand(), ilObjLanguageFolderGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjGlossaryGUI\export(), ilObjSurveyQuestionPoolGUI\exportObject(), ilObjUserFolderGUI\exportObject(), ilObjMediaCastGUI\extractPreviewImageObject(), ilContainerGUI\forwardToPageObject(), ilObjExerciseGUI\getService(), ilObjWikiGUI\getUserHTMLExportProgressObject(), ilObjSurveyGUI\importSurveyObject(), ilObjCourseGUI\infoScreen(), ilObjBookingPoolGUI\infoScreen(), ilObjMediaCastGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilObjSurveyQuestionPoolGUI\infoScreenForward(), ilObjWikiGUI\infoScreenObject(), ilObjMediaCastGUI\infoScreenObject(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjWikiGUI\initUserHTMLExportObject(), ilObjLanguageFolderGUI\installLocalObject(), ilObjLanguageFolderGUI\installObject(), ilObjSessionGUI\joinObject(), ilObjGroupGUI\leaveObject(), ilObjCourseGUI\leaveObject(), ilObjWikiGUI\listContributorsObject(), ilObjMediaCastGUI\listItemsObject(), ilObjWikiGUI\newPagesObject(), ilObjWikiGUI\orphanedPagesObject(), ilObjCategoryGUI\performDeleteUsersObject(), ilObjUserFolderGUI\performExportObject(), ilObjWikiGUI\performSearchObject(), ilObjCourseGUI\performUnsubscribeObject(), ilObjWikiGUI\popularPagesObject(), ilObjSessionGUI\printAttendanceListObject(), ilObjGlossaryGUI\properties(), ilObjSurveyGUI\propertiesObject(), ilObjWikiGUI\randomPageObject(), ilObjWikiGUI\recentChangesObject(), ilObjLanguageFolderGUI\refreshObject(), ilObjLanguageFolderGUI\refreshSelectedObject(), ilObjSessionGUI\registerObject(), ilContainerGUI\removeFromSystemObject(), ilObjWikiGUI\removeImportantPagesObject(), ilObjFolderGUI\renderObject(), ilObjCourseGUI\renderObject(), ilObjLoggingSettingsGUI\resetComponentLevels(), ilObjCalendarSettingsGUI\save(), ilObjMediaCastGUI\saveCastItemObject(), ilObjAdvancedEditingGUI\saveCharSelectorSettingsObject(), ilObjLoggingSettingsGUI\saveComponentLevels(), ilObjAdvancedEditingGUI\saveGeneralPageSettingsObject(), ilObjWikiGUI\saveGradingObject(), ilObjBadgeAdministrationGUI\saveImageTemplate(), ilObjUserTrackingGUI\saveLPDefaultsObject(), ilObjAdvancedEditingGUI\saveObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjExerciseAdministrationGUI\saveSettings(), ilObjForumAdministrationGUI\saveSettings(), ilObjBlogAdministrationGUI\saveSettings(), ilObjStudyProgrammeAdminGUI\saveSettings(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjWebResourceAdministrationGUI\saveSettings(), ilMembershipAdministrationGUI\saveSettings(), ilObjAwarenessAdministrationGUI\saveSettings(), ilObjTaggingSettingsGUI\saveSettings(), ilObjBadgeAdministrationGUI\saveSettings(), ilObjLearningResourcesSettingsGUI\saveSettings(), ilObjAdvancedEditingGUI\saveSettingsObject(), ilObjUserTrackingGUI\saveSettingsObject(), ilObjWikiGUI\saveSettingsObject(), ilObjMediaCastGUI\saveSettingsObject(), ilObjAdvancedEditingGUI\saveTags(), ilObjWikiGUI\setAsStartPageObject(), ilObjLanguageFolderGUI\setSystemLanguageObject(), ilObjLanguageFolderGUI\setUserLanguageObject(), ilObjSessionGUI\showJoinRequestButton(), ilObjTaggingSettingsGUI\showUsers(), ilObjWikiGUI\startUserHTMLExportObject(), ilObjSystemCheckGUI\trash(), ilContainerGUI\trashObject(), ilObjLanguageFolderGUI\uninstallChangesObject(), ilObjLanguageFolderGUI\uninstallObject(), ilObjGroupGUI\unsubscribeObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjLoggingSettingsGUI\updateErrorSettings(), ilObjBadgeAdministrationGUI\updateImageTemplate(), ilObjCategoryGUI\updateInfoObject(), ilObjCourseGUI\updateInfoObject(), ilObjGroupGUI\updateInfoObject(), ilObjLTIAdministrationGUI\updateLTIConsumer(), ilContainerReferenceGUI\updateObject(), ilObjGroupGUI\updateObject(), ilObjFolderGUI\viewObject(), ilObjRootFolderGUI\viewObject(), ilObjWikiGUI\viewObject(), viewObject(), and ilObjWikiGUI\viewPageObject().

1538  : void
1539  {
1540  if (!$this->checkPermissionBool($perm, $cmd, $type, $ref_id)) {
1541  if (!is_int(strpos($_SERVER["PHP_SELF"], "goto.php"))) {
1542  if ($perm != "create" && !is_object($this->object)) {
1543  return;
1544  }
1545 
1546  ilSession::clear("il_rep_ref_id");
1547 
1548  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('msg_no_perm_read'), true);
1549  $parent_ref_id = (int) $this->tree->getParentNodeData($this->object->getRefId())['ref_id'];
1550  $this->ctrl->redirectToURL(ilLink::_getLink($parent_ref_id));
1551  }
1552 
1553  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('msg_no_perm_read'), true);
1554  self::_gotoRepositoryRoot();
1555  }
1556  }
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
static clear(string $a_var)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkPermissionBool()

ilObjectGUI::checkPermissionBool ( string  $perm,
string  $cmd = "",
string  $type = "",
?int  $ref_id = null 
)
protected

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

References $requested_ref_id, and ILIAS\Repository\access().

Referenced by ilObjExerciseGUI\__construct(), ilObjBadgeAdministrationGUI\activateTypes(), ilObjExerciseGUI\addContentSubTabs(), ilObjBookingPoolGUI\addExternalEditFormCustom(), ilObjSurveyGUI\addToNavigationHistory(), checkPermission(), ilObjLoggingSettingsGUI\components(), ilObjFileBasedLMGUI\createFromDirectory(), createObject(), ilObjTestGUI\createQuestionPoolAndCopyObject(), ilObjBadgeAdministrationGUI\deactivateTypes(), ilObjBookingPoolGUI\editObject(), ilObjFolderGUI\editObject(), editObject(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjSystemCheckGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilObjRootFolderGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjObjectTemplateAdministrationGUI\getAdminTabs(), ilObjExerciseAdministrationGUI\getAdminTabs(), ilObjBlogAdministrationGUI\getAdminTabs(), ilObjPortfolioAdministrationGUI\getAdminTabs(), ilObjSystemCheckGUI\getAdminTabs(), getAdminTabs(), ilObjEmployeeTalkGUI\getAdminTabs(), ilObjRoleFolderGUI\getAdminTabs(), ilContainerGUI\getAdminTabs(), ilObjRootFolderGUI\getEditFormValues(), ilObjForumGUI\getSafePostCommands(), ilObjExerciseGUI\getService(), ilObjLearningResourcesSettingsGUI\getSettingsForm(), ilObjForumAdministrationGUI\getSettingsForm(), ilObjUserTrackingGUI\getTabs(), ilObjSurveyAdministrationGUI\getTabs(), ilObjSurveyGUI\getTabs(), ilObjLanguageFolderGUI\getTabs(), ilObjSurveyQuestionPoolGUI\getTabs(), ilObjAdvancedEditingGUI\getTinyForm(), ilObjCourseGUI\hasAdminPermission(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjTestGUI\importFileObject(), importFileObject(), ilObjQuestionPoolGUI\importFileObject(), ilObjQuestionPoolGUI\importVerifiedFileObject(), ilObjTestGUI\importVerifiedFileObject(), ilObjCourseGUI\infoScreen(), ilObjBookingPoolGUI\infoScreen(), ilObjMediaCastGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilObjSAHSLearningModuleGUI\infoScreenForward(), ilObjSurveyQuestionPoolGUI\infoScreenForward(), ilObjMediaCastGUI\infoScreenObject(), ilObjAdvancedEditingGUI\initCharSelectorSettingsForm(), ilObjSessionGUI\initForm(), ilObjExerciseAdministrationGUI\initFormSettings(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjCalendarSettingsGUI\initFormSettings(), ilObjAwarenessAdministrationGUI\initFormSettings(), ilObjAdvancedEditingGUI\initGeneralPageSettingsForm(), ilObjUserTrackingGUI\initLPDefaultsForm(), ilObjAdvancedEditingGUI\initPageEditorForm(), ilObjPrivacySecurityGUI\initPrivacyForm(), ilObjUserTrackingGUI\initSettingsForm(), isVisible(), ilObjExerciseGUI\listAssignmentsObject(), ilObjLTIAdministrationGUI\listConsumers(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjContentPageAdministrationGUI\save(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjGlossaryGUI\saveObject(), saveObject(), ilObjRoleFolderGUI\saveSettingsObject(), ilObjUserFolderGUI\searchUserAccessFilterCallable(), setColumnSettings(), ilObjSystemCheckGUI\setMainSubTabs(), ilObjCategoryGUI\updateObject(), updateObject(), ilObjTestGUI\uploadObject(), ilObjUserFolderGUI\usrExportCsvObject(), ilObjUserFolderGUI\usrExportX86Object(), ilObjUserFolderGUI\usrExportXmlObject(), ilObjLanguageFolderGUI\viewObject(), and viewObject().

1558  : bool
1559  {
1560  if ($perm == "create") {
1561  if (!$ref_id) {
1563  }
1564  return $this->access->checkAccess($perm . "_" . $type, $cmd, $ref_id);
1565  }
1566 
1567  if (!is_object($this->object)) {
1568  return false;
1569  }
1570 
1571  if (!$ref_id) {
1572  $ref_id = $this->object->getRefId();
1573  }
1574 
1575  return $this->access->checkAccess($perm, $cmd, $ref_id);
1576  }
+ Here is the call graph for this function:
+ Here is the caller 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 591 of file class.ilObjectGUI.php.

References ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), and ILIAS\Repository\refinery().

591  : void
592  {
593  if ($this->post_wrapper->has("mref_id")) {
594  $mref_id = $this->post_wrapper->retrieve(
595  "mref_id",
596  $this->refinery->kindlyTo()->listOf($this->refinery->kindlyTo()->int())
597  );
598  $_SESSION["saved_post"] = array_unique(array_merge($_SESSION["saved_post"], $mref_id));
599  }
600 
601  $ru = new ilRepositoryTrashGUI($this);
602  $ru->deleteObjects($this->requested_ref_id, ilSession::get("saved_post") ?? []);
603  ilSession::clear("saved_post");
604  $this->ctrl->returnToParent($this);
605  }
static get(string $a_var)
Repository GUI Utilities.
static clear(string $a_var)
+ Here is the call graph for this function:

◆ createObject()

ilObjectGUI::createObject ( )

create new object form

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

References $requested_new_type, checkPermissionBool(), ILIAS\Repository\ctrl(), getCreationFormsHTML(), initCreationForms(), and ILIAS\Repository\lng().

Referenced by ilObjLTIConsumerGUI\applyProviderFilter(), ilContainerGUI\cloneAllObject(), ilObjGlossaryGUI\importObject(), ilObjLTIConsumerGUI\resetProviderFilter(), ilObjRoleTemplateGUI\saveObject(), ilObjSessionGUI\saveObject(), and ilObjTestGUI\uploadTst().

629  : void
630  {
631  $new_type = $this->requested_new_type;
632 
633  // add new object to custom parent container
634  $this->ctrl->saveParameter($this, "crtptrefid");
635  // use forced callback after object creation
636  $this->ctrl->saveParameter($this, "crtcb");
637 
638  if (!$this->checkPermissionBool("create", "", $new_type)) {
639  $this->error->raiseError($this->lng->txt("permission_denied"), $this->error->MESSAGE);
640  } else {
641  $this->lng->loadLanguageModule($new_type);
642  $this->ctrl->setParameter($this, "new_type", $new_type);
643 
644  $forms = $this->initCreationForms($new_type);
645 
646  // copy form validation error: do not show other creation forms
647  if ($this->request_wrapper->has("cpfl") && isset($forms[self::CFORM_CLONE])) {
648  $forms = array(self::CFORM_CLONE => $forms[self::CFORM_CLONE]);
649  }
650  $this->tpl->setContent($this->getCreationFormsHTML($forms));
651  }
652  }
getCreationFormsHTML(array $forms)
Get HTML for creation forms (accordion)
string $requested_new_type
initCreationForms(string $new_type)
Init creation forms.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteObject()

ilObjectGUI::deleteObject ( bool  $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)

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

References $id, ILIAS\Repository\ctrl(), ILIAS\Repository\refinery(), and ilSession\set().

Referenced by ilObjLearningSequenceGUI\executeCommand().

1338  : void
1339  {
1340  $request_ids = [];
1341  if ($this->post_wrapper->has("id")) {
1342  $request_ids = $this->post_wrapper->retrieve(
1343  "id",
1344  $this->refinery->kindlyTo()->listOf($this->refinery->kindlyTo()->int())
1345  );
1346  }
1347 
1348  if (
1349  $this->request_wrapper->has("item_ref_id") &&
1350  $this->request_wrapper->retrieve("item_ref_id", $this->refinery->kindlyTo()->string()) != ""
1351  ) {
1352  $request_ids = [$this->request_wrapper->retrieve("item_ref_id", $this->refinery->kindlyTo()->int())];
1353  }
1354 
1355  $ids = [];
1356  if (count($request_ids) > 0) {
1357  foreach ($request_ids as $idx => $id) {
1358  $ids["id"][$idx] = $id;
1359  }
1360  }
1361 
1362  // SAVE POST VALUES (get rid of this
1363  ilSession::set("saved_post", $ids["id"] ?? []);
1364 
1365  $ru = new ilRepositoryTrashGUI($this);
1366  if (!$ru->showDeleteConfirmation($ids["id"] ?? [], $error)) {
1367  $this->ctrl->returnToParent($this);
1368  }
1369  }
Repository GUI Utilities.
ilErrorHandling $error
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ editObject()

ilObjectGUI::editObject ( )

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

References addExternalEditFormCustom(), checkPermissionBool(), getEditFormValues(), initEditForm(), and ILIAS\Repository\lng().

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

936  : void
937  {
938  if (!$this->checkPermissionBool("write")) {
939  $this->error->raiseError($this->lng->txt("msg_no_perm_write"), $this->error->MESSAGE);
940  }
941 
942  $this->tabs_gui->activateTab("settings");
943 
944  $form = $this->initEditForm();
945  $values = $this->getEditFormValues();
946  if ($values) {
947  $form->setValuesByArray($values);
948  }
949 
950  $this->addExternalEditFormCustom($form);
951 
952  $this->tpl->setContent($form->getHTML());
953  }
addExternalEditFormCustom(ilPropertyFormGUI $form)
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ 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 1624 of file class.ilObjectGUI.php.

Referenced by prepareOutput().

1624  : void
1625  {
1626  $this->tpl->setFileUploadRefId($this->ref_id);
1627  }
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjectGUI::executeCommand ( )

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

References ILIAS\Repository\ctrl(), and prepareOutput().

Referenced by ilObjAccessibilitySettingsGUI\__construct(), ilObjExerciseGUI\__construct(), ilObjContentObjectGUI\checkCtrlPath(), ilObjAssessmentFolderGUI\getAssessmentFolder(), ilObjQuestionPoolGUI\getQueryParamInt(), ilObjForumGUI\getSafePostCommands(), ilObjForumGUI\performThreadsActionObject(), and ilObjMediaObjectGUI\returnToContextObject().

231  : void
232  {
233  $cmd = $this->ctrl->getCmd();
234 
235  $this->prepareOutput();
236  if (!$cmd) {
237  $cmd = "view";
238  }
239  $cmd .= "Object";
240  $this->$cmd();
241  }
prepareOutput(bool $show_sub_objects=true)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillCloneTemplate()

ilObjectGUI::fillCloneTemplate ( ?string  $tpl_name,
string  $type 
)
protected

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

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

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

References ILIAS\Repository\refinery().

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

1447  {
1448  $cp = new ilObjectCopyGUI($this);
1449  $cp->setType($type);
1450  $target = $this->request_wrapper->has("ref_id")
1451  ? $this->request_wrapper->retrieve("ref_id", $this->refinery->kindlyTo()->int())
1452  : 0;
1453  $cp->setTarget($target);
1454  if ($tpl_name) {
1455  $cp->showSourceSearch($tpl_name);
1456  }
1457 
1458  return $cp->showSourceSearch(null);
1459  }
GUI class for the workflow of copying objects.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAdminMode()

ilObjectGUI::getAdminMode ( )

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

References $admin_mode.

Referenced by ilObjRoleGUI\addAdminLocatorItems(), ilObjRoleGUI\addLocatorItems(), ilObjRoleGUI\getTabs(), ilObjRoleGUI\userassignmentObject(), and ilObjGroupGUI\viewObject().

216  : string
217  {
218  return $this->admin_mode;
219  }
+ Here is the caller graph for this function:

◆ getAdminTabs()

ilObjectGUI::getAdminTabs ( )

administration tabs show only permissions and trash folder

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

References checkPermissionBool(), and ILIAS\Repository\ctrl().

Referenced by setAdminTabs(), and ilObjBibliographicAdminGUI\view().

482  : void
483  {
484  if ($this->checkPermissionBool("visible,read")) {
485  $this->tabs_gui->addTarget(
486  "view",
487  $this->ctrl->getLinkTarget($this, "view"),
488  array("", "view"),
489  get_class($this)
490  );
491  }
492 
493  if ($this->checkPermissionBool("edit_permission")) {
494  $this->tabs_gui->addTarget(
495  "perm_settings",
496  $this->ctrl->getLinkTargetByClass(array(get_class($this), 'ilpermissiongui'), "perm"),
497  "",
498  "ilpermissiongui"
499  );
500  }
501  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ 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 1464 of file class.ilObjectGUI.php.

References ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilColumnGUI\getCmdSide(), ILIAS\UI\Implementation\Component\Input\ViewControl\getContent(), ilColumnGUI\getScreenMode(), ILIAS\Repository\html(), IL_COL_LEFT, IL_COL_RIGHT, IL_SCREEN_SIDE, ILIAS\Repository\object(), and setColumnSettings().

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

1464  : string
1465  {
1466  $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1467  $obj_type = ilObject::_lookupType($obj_id);
1468 
1469  if ($this->ctrl->getNextClass() != "ilcolumngui") {
1470  // normal command processing
1471  return $this->getContent();
1472  } else {
1473  if (!$this->ctrl->isAsynch()) {
1474  //if ($column_gui->getScreenMode() != IL_SCREEN_SIDE)
1476  // right column wants center
1478  $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1479  $this->setColumnSettings($column_gui);
1480  $this->html = $this->ctrl->forwardCommand($column_gui);
1481  }
1482  // left column wants center
1484  $column_gui = new ilColumnGUI($obj_type, IL_COL_LEFT);
1485  $this->setColumnSettings($column_gui);
1486  $this->html = $this->ctrl->forwardCommand($column_gui);
1487  }
1488  } else {
1489  // normal command processing
1490  return $this->getContent();
1491  }
1492  }
1493  }
1494  return "";
1495  }
static getCmdSide()
Get Column Side of Current Command.
const IL_COL_RIGHT
static _lookupObjId(int $ref_id)
Column user interface class.
static getScreenMode()
setColumnSettings(ilColumnGUI $column_gui)
static _lookupType(int $id, bool $reference=false)
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  $forms)
protected

Get HTML for creation forms (accordion)

Parameters
array<int,ilPropertyFormGUI>$forms

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

References ilAccordionGUI\FIRST_OPEN, and ILIAS\Repository\lng().

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

674  : string
675  {
676  // #13168- sanity check
677  foreach ($forms as $id => $form) {
678  if (!$form instanceof ilPropertyFormGUI) {
679  unset($forms[$id]);
680  }
681  }
682 
683  // no accordion if there is just one form
684  if (sizeof($forms) == 1) {
685  $form_type = key($forms);
686  $forms = array_shift($forms);
687 
688  // see bug #0016217
689  if (method_exists($this, "getCreationFormTitle")) {
690  $form_title = $this->getCreationFormTitle($form_type);
691  if ($form_title != "") {
692  $forms->setTitle($form_title);
693  }
694  }
695  return $forms->getHTML();
696  } else {
697  $acc = new ilAccordionGUI();
698  $acc->setBehaviour(ilAccordionGUI::FIRST_OPEN);
699  $cnt = 1;
700  foreach ($forms as $form_type => $cf) {
701  $htpl = new ilTemplate("tpl.creation_acc_head.html", true, true, "Services/Object");
702 
703  // using custom form titles (used for repository plugins)
704  $form_title = "";
705  if (method_exists($this, "getCreationFormTitle")) {
706  $form_title = $this->getCreationFormTitle($form_type);
707  }
708  if (!$form_title) {
709  $form_title = $cf->getTitle();
710  }
711 
712  // move title from form to accordion
713  $htpl->setVariable("TITLE", $this->lng->txt("option") . " " . $cnt . ": " . $form_title);
714  $cf->setTitle('');
715  $cf->setTitleIcon('');
716  $cf->setTableWidth("100%");
717 
718  $acc->addItem($htpl->get(), $cf->getHTML());
719 
720  $cnt++;
721  }
722 
723  return "<div class='ilCreationFormSection'>" . $acc->getHTML() . "</div>";
724  }
725  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCreationMode()

◆ getDidacticTemplateVar()

ilObjectGUI::getDidacticTemplateVar ( string  $type)

Get didactic template setting from creation screen.

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

References ILIAS\Repository\refinery().

Referenced by ilObjTestGUI\addDidacticTemplateOptions(), ilObjSurveyGUI\afterSave(), ilContainerGUI\afterUpdate(), ilObjBookingPoolGUI\afterUpdate(), ilObjSessionGUI\createRecurringSessions(), ilObjLTIConsumerGUI\saveCustom(), ilObjGlossaryGUI\saveObject(), ilObjSessionGUI\saveObject(), and saveObject().

879  : int
880  {
881  if (!$this->post_wrapper->has("didactic_type")) {
882  return 0;
883  }
884 
885  $tpl = $this->post_wrapper->retrieve("didactic_type", $this->refinery->kindlyTo()->string());
886  if (substr($tpl, 0, strlen($type) + 1) != $type . "_") {
887  return 0;
888  }
889 
890  return (int) substr($tpl, strlen($type) + 1);
891  }
ilGlobalTemplateInterface $tpl
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEditFormCustomValues()

ilObjectGUI::getEditFormCustomValues ( array &  $a_values)
protected

Add values to custom edit fields.

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

Referenced by ilObjEmployeeTalkGUI\cancelDeleteObject(), and getEditFormValues().

1007  : void
1008  {
1009  }
+ Here is the caller graph for this function:

◆ getEditFormValues()

ilObjectGUI::getEditFormValues ( )
protected

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

References getEditFormCustomValues().

Referenced by ilObjMediaPoolGUI\edit(), ilObjEmployeeTalkGUI\editObject(), ilObjBookingPoolGUI\editObject(), ilObjBibliographicGUI\editObject(), ilObjDataCollectionGUI\editObject(), and editObject().

996  : array
997  {
998  $values["title"] = $this->object->getTitle();
999  $values["desc"] = $this->object->getLongDescription();
1000  $this->getEditFormCustomValues($values);
1001  return $values;
1002  }
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 ( string  $cmd,
string  $default_form_action = "" 
)

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

"perm").

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

Referenced by ilObjCourseGUI\redirectLocToTestConfirmation().

1223  : string
1224  {
1225  if ($this->form_action[$cmd] != "") {
1226  return $this->form_action[$cmd];
1227  }
1228 
1229  return $default_form_action;
1230  }
+ Here is the caller graph for this function:

◆ getHTML()

ilObjectGUI::getHTML ( )

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

References $html.

503  : string
504  {
505  return $this->html;
506  }

◆ getObject()

ilObjectGUI::getObject ( )

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

References $object.

Referenced by ilForumDraftsTableGUI\__construct(), ilOrgUnitExportGUI\__construct(), ilContainerByTypeContentGUI\__construct(), ilItemGroupItemsTableGUI\__construct(), ilMediaCastTableGUI\__construct(), ilOrgUnitSimpleImportGUI\__construct(), ilExtIdGUI\__construct(), ilContainerNewsSettingsGUI\__construct(), ilContainerSkillGUI\__construct(), ilContainerFilterAdminGUI\__construct(), ilContSkillPresentationGUI\__construct(), ilBookingParticipantGUI\__construct(), ilLocalUserGUI\__construct(), ilBookingObjectGUI\__construct(), ilBookingGatewayGUI\__construct(), ilCourseContentGUI\__construct(), ilObjectTranslationGUI\__construct(), ilContSkillAdminGUI\__construct(), ilDclRecordListGUI\__construct(), ilObjTestSettingsScoringResultsGUI\__construct(), ilObjLearningSequenceGUI\checkLPAccess(), ilObjLearningSequenceGUI\createMailSignature(), ilObjDataCollectionGUI\executeCommand(), ilChatroom\getChatURL(), ilObjLearningSequenceGUI\getTabs(), ilObjLearningSequenceGUI\learningProgress(), ilObjLearningSequenceGUI\manage_members(), assQuestionGUI\outChapterSelector(), assQuestionGUI\outPageSelector(), ilAdministrationSettingsFormHandler\parseFieldValue(), ilObjCourseGUI\performUnsubscribeObject(), ilObjWorkflowEngineGUI\prepareAdminOutput(), ilMediaPoolPageGUI\setMediaPoolPage(), ilObjLearningSequenceGUI\settings(), and ilObjLearningSequenceGUI\unparticipate().

226  : ?ilObject
227  {
228  return $this->object;
229  }
+ Here is the caller graph for this function:

◆ getObjectService()

◆ getRefId()

◆ getReturnLocation()

ilObjectGUI::getReturnLocation ( string  $cmd,
string  $default_location = "" 
)
protected

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

"perm")

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

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

1240  : string
1241  {
1242  if (($this->return_location[$cmd] ?? "") !== "") {
1243  return $this->return_location[$cmd];
1244  } else {
1245  return $default_location;
1246  }
1247  }
+ Here is the caller graph for this function:

◆ getRightColumnHTML()

ilObjectGUI::getRightColumnHTML ( )
protected

Display right column.

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

References $html, ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\ctrl(), IL_COL_RIGHT, IL_SCREEN_FULL, IL_SCREEN_SIDE, ILIAS\Repository\object(), and setColumnSettings().

Referenced by ilObjForumGUI\setSideBlocks().

1500  : string
1501  {
1502  $obj_id = ilObject::_lookupObjId($this->object->getRefId());
1503  $obj_type = ilObject::_lookupType($obj_id);
1504 
1505  $column_gui = new ilColumnGUI($obj_type, IL_COL_RIGHT);
1506 
1507  if ($column_gui->getScreenMode() == IL_SCREEN_FULL) {
1508  return "";
1509  }
1510 
1511  $this->setColumnSettings($column_gui);
1512 
1513  $html = "";
1514  if (
1515  $this->ctrl->getNextClass() == "ilcolumngui" &&
1516  $column_gui->getCmdSide() == IL_COL_RIGHT &&
1517  $column_gui->getScreenMode() == IL_SCREEN_SIDE
1518  ) {
1519  return $this->ctrl->forwardCommand($column_gui);
1520  }
1521 
1522  if (!$this->ctrl->isAsynch()) {
1523  return $this->ctrl->getHTML($column_gui);
1524  }
1525 
1526  return $html;
1527  }
const IL_COL_RIGHT
static _lookupObjId(int $ref_id)
const IL_SCREEN_FULL
Column user interface class.
setColumnSettings(ilColumnGUI $column_gui)
static _lookupType(int $id, bool $reference=false)
const IL_SCREEN_SIDE
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTabs()

ilObjectGUI::getTabs ( )
protected

overwrite in derived GUI class of your object type

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

Referenced by ilObjExerciseGUI\addContentSubTabs(), and setTabs().

1418  : void
1419  {
1420  }
+ Here is the caller graph for this function:

◆ getTargetFrame()

ilObjectGUI::getTargetFrame ( string  $cmd,
string  $default_target_frame = "" 
)
protected

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

"perm")

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

1260  : string
1261  {
1262  if (isset($this->target_frame[$cmd]) && $this->target_frame[$cmd] != "") {
1263  return $this->target_frame[$cmd];
1264  }
1265 
1266  if (!empty($default_target_frame)) {
1267  return "target=\"" . $default_target_frame . "\"";
1268  }
1269 
1270  return "";
1271  }

◆ importFileObject()

ilObjectGUI::importFileObject ( int  $parent_id = null)
protected

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

References Vendor\Package\$e, $requested_new_type, $requested_ref_id, ilObject\_getAllReferences(), afterImport(), ILIAS\Object\ImplementsCreationCallback\callCreationCallback(), checkPermissionBool(), ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByObjId(), initImportForm(), ILIAS\Repository\lng(), putObjectInTree(), ILIAS\Repository\refinery(), ilImportDirectoryFactory\TYPE_EXPORT, and ILIAS\Repository\user().

Referenced by ilObjOrgUnitGUI\executeCommand(), and ilObjLearningSequenceGUI\executeCommand().

1117  : void
1118  {
1119  if (!$parent_id) {
1120  $parent_id = $this->requested_ref_id;
1121  }
1122  $new_type = $this->requested_new_type;
1123  $upload_type = self::UPLOAD_TYPE_LOCAL;
1124  if ($this->post_wrapper->has("upload_type")) {
1125  $upload_type = $this->post_wrapper->retrieve("upload_type", $this->refinery->kindlyTo()->int());
1126  }
1127 
1128  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
1129  if (!$this->checkPermissionBool("create", "", $new_type)) {
1130  $this->error->raiseError($this->lng->txt("no_create_permission"));
1131  }
1132 
1133  $this->lng->loadLanguageModule($new_type);
1134  $this->ctrl->setParameter($this, "new_type", $new_type);
1135 
1136  $form = $this->initImportForm($new_type);
1137  if ($form->checkInput()) {
1138  // :todo: make some check on manifest file
1139  if ($this->obj_definition->isContainer($new_type)) {
1140  $imp = new ilImportContainer((int) $parent_id);
1141  } else {
1142  $imp = new ilImport((int) $parent_id);
1143  }
1144 
1145  try {
1146  if ($upload_type == self::UPLOAD_TYPE_LOCAL) {
1147  $new_id = $imp->importObject(
1148  null,
1149  $_FILES["importfile"]["tmp_name"],
1150  $_FILES["importfile"]["name"],
1151  $new_type
1152  );
1153  } else {
1154  $hash = $this->request->getParsedBody()['uploadFile'] ?? '';
1155  $upload_factory = new ilImportDirectoryFactory();
1156  $export_upload = $upload_factory->getInstanceForComponent(ilImportDirectoryFactory::TYPE_EXPORT);
1157  $file = $export_upload->getAbsolutePathForHash($this->user->getId(), $new_type, $hash);
1158 
1159  $new_id = $imp->importObject(
1160  null,
1161  $file,
1162  basename($file),
1163  $new_type,
1164  '',
1165  true
1166  );
1167  }
1168  } catch (ilException $e) {
1169  $this->tmp_import_dir = $imp->getTemporaryImportDir();
1170  $this->lng->loadLanguageModule('obj');
1171 
1172  $this->tpl->setOnScreenMessage(
1173  "failure",
1174  $this->lng->txt("obj_import_file_error") . " <br />" . $e->getMessage()
1175  );
1176  $form->setValuesByPost();
1177  $this->tpl->setContent($form->getHTML());
1178  return;
1179  }
1180 
1181  if ($new_id > 0) {
1182  $this->ctrl->setParameter($this, "new_type", "");
1183 
1184  $newObj = ilObjectFactory::getInstanceByObjId($new_id);
1185  // put new object id into tree - already done in import for containers
1186  if (!$this->obj_definition->isContainer($new_type)) {
1187  $this->putObjectInTree($newObj);
1188  } else {
1189  $ref_ids = ilObject::_getAllReferences($newObj->getId());
1190  if (count($ref_ids) === 1) {
1191  $newObj->setRefId((int) current($ref_ids));
1192  }
1193  $this->callCreationCallback($newObj, $this->obj_definition, $this->requested_crtcb); // see #24244
1194  }
1195 
1196  $this->afterImport($newObj);
1197  } else {
1198  if ($this->obj_definition->isContainer($new_type)) {
1199  $this->tpl->setOnScreenMessage("failure", $this->lng->txt("container_import_zip_file_invalid"));
1200  } else {
1201  // not enough information here...
1202  return;
1203  }
1204  }
1205  }
1206 
1207  $form->setValuesByPost();
1208  $this->tpl->setContent($form->getHTML());
1209  }
initImportForm(string $new_type)
static _getAllReferences(int $id)
get all reference ids for object ID
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
string $requested_new_type
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
callCreationCallback(\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
afterImport(ilObject $new_object)
Post (successful) object import hook.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
putObjectInTree(ilObject $obj, int $parent_node_id=null)
Add object to tree at given position.
static getInstanceByObjId(?int $obj_id, bool $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:

◆ initCreateForm()

ilObjectGUI::initCreateForm ( string  $new_type)
protected

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

References ILIAS\Repository\ctrl(), initDidacticTemplate(), ILIAS\Repository\lng(), ilObject\LONG_DESC_LENGTH, ilTextAreaInputGUI\setCols(), and ilObject\TITLE_LENGTH.

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

728  {
729  $form = new ilPropertyFormGUI();
730  $form->setTarget("_top");
731  $form->setFormAction($this->ctrl->getFormAction($this, "save"));
732  $form->setTitle($this->lng->txt($new_type . "_new"));
733 
734  $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
735  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
736  $ti->setMaxLength(ilObject::TITLE_LENGTH);
737  $ti->setRequired(true);
738  $form->addItem($ti);
739 
740  $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
741  $ta->setCols(40);
742  $ta->setRows(2);
743  $ta->setMaxNumOfChars(ilObject::LONG_DESC_LENGTH);
744  $form->addItem($ta);
745 
746  $form = $this->initDidacticTemplate($form);
747 
748  $form->addCommandButton("save", $this->lng->txt($new_type . "_add"));
749  $form->addCommandButton("cancel", $this->lng->txt("cancel"));
750 
751  return $form;
752  }
const TITLE_LENGTH
const LONG_DESC_LENGTH
initDidacticTemplate(ilPropertyFormGUI $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 ( string  $new_type)
protected

Init creation forms.

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

Returns
array<int, ilPropertyFormGUI>

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

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

Referenced by createObject().

659  : array
660  {
661  $forms = [
662  self::CFORM_NEW => $this->initCreateForm($new_type),
663  self::CFORM_IMPORT => $this->initImportForm($new_type),
664  self::CFORM_CLONE => $this->fillCloneTemplate(null, $new_type)
665  ];
666 
667  return $forms;
668  }
initImportForm(string $new_type)
fillCloneTemplate(?string $tpl_name, string $type)
Fill object clone template This method can be called from any object GUI class that wants to offer ob...
initCreateForm(string $new_type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initDidacticTemplate()

ilObjectGUI::initDidacticTemplate ( ilPropertyFormGUI  $form)
protected

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

References $data, $keys, addDidacticTemplateOptions(), ilPropertyFormGUI\addItem(), getCreationMode(), ilDidacticTemplateSettings\getInstanceByObjectType(), ILIAS\Repository\lng(), ilDidacticTemplateObjSettings\lookupTemplateId(), and ILIAS\Repository\object().

Referenced by ilObjCmiXapiGUI\initCreateForm(), ilObjEmployeeTalkSeriesGUI\initCreateForm(), ilObjGlossaryGUI\initCreateForm(), initCreateForm(), ilObjBookingPoolGUI\initEditCustomForm(), ilObjFolderGUI\initEditForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), and ilObjSessionGUI\initForm().

755  {
756  $this->lng->loadLanguageModule('didactic');
757  $existing_exclusive = false;
758  $options = [];
759  $options['dtpl_0'] = [
760  $this->lng->txt('didactic_default_type'),
761  sprintf(
762  $this->lng->txt('didactic_default_type_info'),
763  $this->lng->txt('objs_' . $this->type)
764  )
765  ];
766 
767  $templates = ilDidacticTemplateSettings::getInstanceByObjectType($this->type)->getTemplates();
768  if ($templates) {
769  foreach ($templates as $template) {
770  if ($template->isEffective((int) $this->requested_ref_id)) {
771  $options["dtpl_" . $template->getId()] = array(
772  $template->getPresentationTitle(),
773  $template->getPresentationDescription()
774  );
775 
776  if ($template->isExclusive()) {
777  $existing_exclusive = true;
778  }
779  }
780  }
781  }
782 
783  $this->addDidacticTemplateOptions($options);
784 
785  if (sizeof($options) > 1) {
787  $this->lng->txt('type'),
788  'didactic_type'
789  );
790  // workaround for containers in edit mode
791  if (!$this->getCreationMode()) {
792  $value = 'dtpl_' . ilDidacticTemplateObjSettings::lookupTemplateId($this->object->getRefId());
793 
794  $type->setValue($value);
795 
796  if (!in_array($value, array_keys($options)) || ($existing_exclusive && $value == "dtpl_0")) {
797  //add or rename actual value to not available
798  $options[$value] = [$this->lng->txt('not_available')];
799  }
800  } else {
801  if ($existing_exclusive) {
802  //if an exclusive template exists use the second template as default value
803  $keys = array_keys($options);
804  $type->setValue($keys[1]);
805  } else {
806  $type->setValue('dtpl_0');
807  }
808  }
809  $form->addItem($type);
810 
811  foreach ($options as $id => $data) {
812  $option = new ilRadioOption($data[0] ?? '', (string) $id, $data[1] ?? '');
813  if ($existing_exclusive && $id == 'dtpl_0') {
814  //set default disabled if an exclusive template exists
815  $option->setDisabled(true);
816  }
817 
818  $type->addOption($option);
819  }
820  }
821 
822  return $form;
823  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a property in a property form.
$keys
Definition: metadata.php:204
addDidacticTemplateOptions(array &$a_options)
Add custom templates.
static getInstanceByObjectType(string $a_obj_type)
+ 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.

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

Referenced by ilObjEmployeeTalkGUI\cancelDeleteObject(), initEditForm(), ilContainerGUI\initEditForm(), and ilObjExerciseGUI\listAssignmentsObject().

992  : void
993  {
994  }
+ Here is the caller graph for this function:

◆ initEditForm()

ilObjectGUI::initEditForm ( )
protected

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

References $lng, ILIAS\Repository\ctrl(), initEditCustomForm(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ilObject\LONG_DESC_LENGTH, ILIAS\Repository\object(), ilTextAreaInputGUI\setCols(), and ilObject\TITLE_LENGTH.

Referenced by ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjMediaPoolGUI\edit(), ilObjEmployeeTalkGUI\editObject(), ilObjBookingPoolGUI\editObject(), editObject(), ilObjIndividualAssessmentGUI\getBaseEditForm(), ilObjEmployeeTalkGUI\updateObject(), and updateObject().

961  {
962  $lng = $this->lng;
963 
964  $lng->loadLanguageModule($this->object->getType());
965 
966  $form = new ilPropertyFormGUI();
967  $form->setFormAction($this->ctrl->getFormAction($this, "update"));
968  $form->setTitle($this->lng->txt($this->object->getType() . "_edit"));
969 
970  $ti = new ilTextInputGUI($this->lng->txt("title"), "title");
971  $ti->setSize(min(40, ilObject::TITLE_LENGTH));
972  $ti->setMaxLength(ilObject::TITLE_LENGTH);
973  $ti->setRequired(true);
974  $form->addItem($ti);
975 
976  $ta = new ilTextAreaInputGUI($this->lng->txt("description"), "desc");
977  $ta->setCols(40);
978  $ta->setRows(2);
979  $ta->setMaxNumOfChars(ilObject::LONG_DESC_LENGTH);
980  $form->addItem($ta);
981 
982  $this->initEditCustomForm($form);
983 
984  $form->addCommandButton("update", $this->lng->txt("save"));
985 
986  return $form;
987  }
const TITLE_LENGTH
loadLanguageModule(string $a_module)
Load language module.
const LONG_DESC_LENGTH
ilLanguage $lng
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 ( ?string  $sub_type = null,
?int  $sub_id = null 
)
protected

Add header action menu.

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

References $ref_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\object(), ilObjectListGUI\prepareJsLinks(), ilCommonActionDispatcherGUI\setSubObject(), and ilCommonActionDispatcherGUI\TYPE_REPOSITORY.

Referenced by addHeaderAction(), and redrawHeaderActionObject().

377  : ?ilObjectListGUI
378  {
379  if (!$this->creation_mode && $this->object) {
380  $dispatcher = new ilCommonActionDispatcherGUI(
382  $this->access,
383  $this->object->getType(),
385  $this->object->getId()
386  );
387 
388  $dispatcher->setSubObject($sub_type, $sub_id);
389 
391  $this->ctrl->getLinkTarget($this, "redrawHeaderAction", "", true),
392  "",
393  $this->ctrl->getLinkTargetByClass(["ilcommonactiondispatchergui", "iltagginggui"], "", "", true)
394  );
395 
396  $lg = $dispatcher->initHeaderAction();
397 
398  if (is_object($lg)) {
399  // to enable add to desktop / remove from desktop
400  if ($this instanceof ilDesktopItemHandling) {
401  $lg->setContainerObject($this);
402  }
403  // enable multi download
404  $lg->enableMultiDownload(true);
405 
406  // comments settings are always on (for the repository)
407  // should only be shown if active or permission to toggle
408  if (
409  $this->access->checkAccess("write", "", $this->ref_id) ||
410  $this->access->checkAccess("edit_permissions", "", $this->ref_id) ||
411  $this->notes_service->domain()->commentsActive($this->object->getId())
412  ) {
413  $lg->enableComments(true);
414  }
415 
416  $lg->enableNotes(true);
417  $lg->enableTags(true);
418  }
419 
420  return $lg;
421  }
422  return null;
423  }
static prepareJsLinks(string $redraw_url, string $notes_url, string $tags_url, ilGlobalTemplateInterface $tpl=null)
Insert js/ajax links into template.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setSubObject(?string $sub_obj_type, ?int $sub_obj_id)
Set sub object attributes.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initImportForm()

ilObjectGUI::initImportForm ( string  $new_type)
protected

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

References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFileInputGUI\setSuffixes(), ilRadioGroupInputGUI\setValue(), ilImportDirectoryFactory\TYPE_EXPORT, and ILIAS\Repository\user().

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

1062  {
1063  $import_directory_factory = new ilImportDirectoryFactory();
1064  $export_directory = $import_directory_factory->getInstanceForComponent(ilImportDirectoryFactory::TYPE_EXPORT);
1065  $upload_files = $export_directory->getFilesFor($this->user->getId(), $new_type);
1066  $has_upload_files = false;
1067  if (count($upload_files)) {
1068  $has_upload_files = true;
1069  }
1070 
1071  $form = new ilPropertyFormGUI();
1072  $form->setTarget("_top");
1073  $form->setFormAction($this->ctrl->getFormAction($this, "importFile"));
1074  $form->setTitle($this->lng->txt($new_type . "_import"));
1075 
1076  $fi = new ilFileInputGUI($this->lng->txt("import_file"), "importfile");
1077  $fi->setSuffixes(array("zip"));
1078  $fi->setRequired(true);
1079  if ($has_upload_files) {
1080  $this->lng->loadLanguageModule('content');
1081  $option = new ilRadioGroupInputGUI(
1082  $this->lng->txt('cont_choose_file_source'),
1083  'upload_type'
1084  );
1085  $option->setValue((string) self::UPLOAD_TYPE_LOCAL);
1086  $form->addItem($option);
1087 
1088  $direct = new ilRadioOption($this->lng->txt('cont_choose_local'), (string) self::UPLOAD_TYPE_LOCAL);
1089  $option->addOption($direct);
1090 
1091  $direct->addSubItem($fi);
1092  $upload = new ilRadioOption(
1093  $this->lng->txt('cont_choose_upload_dir'),
1094  (string) self::UPLOAD_TYPE_UPLOAD_DIRECTORY
1095  );
1096  $option->addOption($upload);
1097  $files = new ilSelectInputGUI(
1098  $this->lng->txt('cont_choose_upload_dir'),
1099  'uploadFile'
1100  );
1101  $upload_files[''] = $this->lng->txt('cont_select_from_upload_dir');
1102  $files->setOptions($upload_files);
1103  $files->setRequired(true);
1104  $upload->addSubItem($files);
1105  }
1106 
1107  if (!$has_upload_files) {
1108  $form->addItem($fi);
1109  }
1110 
1111  $form->addCommandButton("importFile", $this->lng->txt("import"));
1112  $form->addCommandButton("cancel", $this->lng->txt("cancel"));
1113 
1114  return $form;
1115  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This class represents a file property in a property form.
setSuffixes(array $a_suffixes)
This class represents a property in a property form.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ insertHeaderAction()

ilObjectGUI::insertHeaderAction ( ?ilObjectListGUI  $list_gui = null)
protected

Insert header action into main template.

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

References ilContainer\_lookupContainerSetting(), and ILIAS\Repository\object().

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

428  : void
429  {
430  if (
431  !is_object($this->object) ||
432  ilContainer::_lookupContainerSetting($this->object->getId(), "hide_top_actions")
433  ) {
434  return;
435  }
436 
437  if (is_object($list_gui)) {
438  $this->tpl->setHeaderActionMenu($list_gui->getHeaderAction());
439  }
440  }
static _lookupContainerSetting(int $a_id, string $a_keyword, string $a_default_value=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isVisible()

ilObjectGUI::isVisible ( int  $ref_id,
string  $type 
)

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

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

1281  : bool
1282  {
1283  $visible = $this->checkPermissionBool("visible,read", "", "", $ref_id);
1284 
1285  if ($visible && $type == 'crs') {
1286  $tree = $this->tree;
1287  if ($crs_id = $tree->checkForParentType($ref_id, 'crs')) {
1288  if (!$this->checkPermissionBool("write", "", "", $crs_id)) {
1289  // Show only activated courses
1290  $tmp_obj = ilObjectFactory::getInstanceByRefId($crs_id, false);
1291 
1292  if (!$tmp_obj->isActivated()) {
1293  unset($tmp_obj);
1294  $visible = false;
1295  }
1296  }
1297  }
1298  }
1299 
1300  return $visible;
1301  }
checkForParentType(int $a_ref_id, string $a_type, bool $a_exclude_source_check=false)
Check for parent type e.g check if a folder (ref_id 3) is in a parent course obj => checkForParentTyp...
static getInstanceByRefId(int $ref_id, bool $stop_on_error=true)
get an instance of an Ilias object by reference id
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:

◆ omitLocator()

ilObjectGUI::omitLocator ( bool  $omit = true)
protected

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

Referenced by ilObjEmployeeTalkGUI\__construct(), and ilObjEmployeeTalkSeriesGUI\__construct().

544  : void
545  {
546  $this->omit_locator = $omit;
547  }
+ Here is the caller graph for this function:

◆ prepareOutput()

ilObjectGUI::prepareOutput ( bool  $show_sub_objects = true)

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

References ilObject\_lookupType(), addAdminLocatorItems(), ILIAS\Repository\ctrl(), enableDragDropFileUpload(), getCreationMode(), ILIAS\Repository\refinery(), setAdminTabs(), setLocator(), setTabs(), and setTitleAndDescription().

Referenced by ilObjAccessibilitySettingsGUI\__construct(), ilObjExerciseGUI\__construct(), __construct(), ilObjContentObjectGUI\checkCtrlPath(), ilObjFileBasedLMGUI\edit(), ilObjObjectTemplateAdministrationGUI\executeCommand(), ilObjUserTrackingGUI\executeCommand(), ilObjNewsSettingsGUI\executeCommand(), ilObjStudyProgrammeAdminGUI\executeCommand(), ilObjStyleSettingsGUI\executeCommand(), ilObjECSSettingsGUI\executeCommand(), ilObjExerciseAdministrationGUI\executeCommand(), ilObjMailGUI\executeCommand(), ilObjBlogAdministrationGUI\executeCommand(), ilObjTaxonomyAdministrationGUI\executeCommand(), ilObjCalendarSettingsGUI\executeCommand(), ilObjSurveyAdministrationGUI\executeCommand(), ilObjWebDAVGUI\executeCommand(), ilObjCourseReferenceGUI\executeCommand(), ilObjCertificateSettingsGUI\executeCommand(), ilObjNotificationAdminGUI\executeCommand(), ilObjForumAdministrationGUI\executeCommand(), ilObjWebResourceAdministrationGUI\executeCommand(), ilObjLTIAdministrationGUI\executeCommand(), ilObjAdvancedEditingGUI\executeCommand(), ilObjLearningResourcesSettingsGUI\executeCommand(), ilObjMediaObjectsSettingsGUI\executeCommand(), ilMembershipAdministrationGUI\executeCommand(), ilObjSearchSettingsGUI\executeCommand(), ilObjPortfolioAdministrationGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilObjAwarenessAdministrationGUI\executeCommand(), ilObjChatroomAdminGUI\executeCommand(), ilObjMediaCastSettingsGUI\executeCommand(), ilObjLearningHistorySettingsGUI\executeCommand(), ilObjRoleTemplateGUI\executeCommand(), ilObjBadgeAdministrationGUI\executeCommand(), ilObjFileAccessSettingsGUI\executeCommand(), ilObjLoggingSettingsGUI\executeCommand(), ilObjBibliographicAdminGUI\executeCommand(), ilObjRoleFolderGUI\executeCommand(), ilObjCmiXapiAdministrationGUI\executeCommand(), ilObjCommentsSettingsGUI\executeCommand(), ilObjRepositorySettingsGUI\executeCommand(), ilObjTaggingSettingsGUI\executeCommand(), ilObjNotesSettingsGUI\executeCommand(), ilObjPersonalWorkspaceSettingsGUI\executeCommand(), ilContainerReferenceGUI\executeCommand(), ilObjPrivacySecurityGUI\executeCommand(), ilObjLearningSequenceAdminGUI\executeCommand(), ilObjDashboardSettingsGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjSystemCheckGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilObjContentPageAdministrationGUI\executeCommand(), ilObjObjectFolderGUI\executeCommand(), ilObjRoleGUI\executeCommand(), ilObjMDSettingsGUI\executeCommand(), ilObjIndividualAssessmentGUI\executeCommand(), ilObjUserGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjComponentSettingsGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjStyleSheetGUI\executeCommand(), ilObjSkillManagementGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjSurveyGUI\executeCommand(), ilObjSystemFolderGUI\executeCommand(), ilObjUserFolderGUI\executeCommand(), ilObjSkillTreeGUI\executeCommand(), ilObjChatroomGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjExternalToolsSettingsGUI\executeCommand(), executeCommand(), ilObjLanguageFolderGUI\executeCommand(), ilObjAuthSettingsGUI\executeCommand(), ilObjChatroomGUI\fallback(), ilObjTestGUI\forwardToEvaluationGUI(), ilObjAssessmentFolderGUI\getAssessmentFolder(), ilObjQuestionPoolGUI\getQueryParamInt(), ilObjForumGUI\getSafePostCommands(), ilObjChatroomGUI\settings(), ilChatroomObjectGUI\switchToVisibleMode(), ilObjLearningModuleGUI\view(), and ilObjContentObjectGUI\view().

279  : bool
280  {
281  $this->tpl->loadStandardTemplate();
282  // administration prepare output
283  $base_class = $this->request_wrapper->retrieve("baseClass", $this->refinery->kindlyTo()->string());
284  if (strtolower($base_class) == "iladministrationgui") {
285  $this->addAdminLocatorItems();
286  $this->tpl->setLocator();
287 
288  $this->setTitleAndDescription();
289 
290  if ($this->getCreationMode() != true) {
291  $this->setAdminTabs();
292  }
293 
294  return false;
295  }
296  $this->setLocator();
297 
298  // in creation mode (parent) object and gui object do not fit
299  if ($this->getCreationMode() === true) {
300  // repository vs. workspace
301  if ($this->call_by_reference) {
302  // get gui class of parent and call their title and description method
303  $obj_type = ilObject::_lookupType($this->requested_ref_id, true);
304  $class_name = $this->obj_definition->getClassName($obj_type);
305  $class = strtolower("ilObj" . $class_name . "GUI");
306  $class_path = $this->ctrl->lookupClassPath($class);
307  $class_name = $this->ctrl->getClassForClasspath($class_path);
308 
309  // $parent_gui_obj = new $class_name($this->requested_ref_id, true, false); // TODO: this fails in many cases since the parameters of the constructor are not known
310  // the next line prevents the header action menu being shown
311  // $parent_gui_obj->setCreationMode(true);
312  // $parent_gui_obj->setTitleAndDescription();
313  }
314  } else {
315  $this->setTitleAndDescription();
316 
317  // set tabs
318  $this->setTabs();
319 
320  $file_upload_dropzone = new ilObjFileUploadDropzone($this->ref_id);
321  if ($file_upload_dropzone->isUploadAllowed($this->object->getType())) {
322  $this->enableDragDropFileUpload();
323  }
324  }
325 
326  return true;
327  }
enableDragDropFileUpload()
Enables the file upload into this object by dropping files.
setTabs()
set admin tabs
addAdminLocatorItems(bool $do_not_add_object=false)
should be overwritten to add object specific items (repository items are preloaded) ...
static _lookupType(int $id, bool $reference=false)
setAdminTabs()
set admin tabs
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ putObjectInTree()

ilObjectGUI::putObjectInTree ( ilObject  $obj,
int  $parent_node_id = null 
)

Add object to tree at given position.

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

References $requested_crtptrefid, $requested_ref_id, ilChangeEvent\_recordWriteEvent(), ilRbacLog\add(), ILIAS\Object\ImplementsCreationCallback\callCreationCallback(), ilRbacLog\CREATE_OBJECT, ilObject\createReference(), ilRbacLog\gatherFaPa(), ilObject\getId(), ilObject\getRefId(), ilObject\putInTree(), ilObject\setPermissions(), and ILIAS\Repository\user().

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

896  : void
897  {
898  if (!$parent_node_id) {
899  $parent_node_id = $this->requested_ref_id;
900  }
901 
902  // add new object to custom parent container
903  if ($this->requested_crtptrefid > 0) {
904  $parent_node_id = $this->requested_crtptrefid;
905  }
906 
907  $obj->createReference();
908  $obj->putInTree($parent_node_id);
909  $obj->setPermissions($parent_node_id);
910 
911  $this->obj_id = $obj->getId();
912  $this->ref_id = $obj->getRefId();
913 
914  // BEGIN ChangeEvent: Record save object.
915  ilChangeEvent::_recordWriteEvent($this->obj_id, $this->user->getId(), 'create');
916  // END ChangeEvent: Record save object.
917 
918  // rbac log
919  $rbac_log_roles = $this->rbac_review->getParentRoleIds($this->ref_id, false);
920  $rbac_log = ilRbacLog::gatherFaPa($this->ref_id, array_keys($rbac_log_roles), true);
921  ilRbacLog::add(ilRbacLog::CREATE_OBJECT, $this->ref_id, $rbac_log);
922 
923  // use forced callback after object creation
924  $this->callCreationCallback($obj, $this->obj_definition, $this->requested_crtcb);
925  }
static gatherFaPa(int $a_ref_id, array $a_role_ids, bool $a_add_action=false)
setPermissions(int $parent_ref_id)
createReference()
creates reference for object
const CREATE_OBJECT
static add(int $a_action, int $a_ref_id, array $a_diff, bool $a_source_ref_id=false)
callCreationCallback(\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
static _recordWriteEvent(int $obj_id, int $usr_id, string $action, ?int $parent_obj_id=null)
Records a write event.
putInTree(int $parent_ref_id)
maybe this method should be in tree object!?
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ redirectAfterCreation()

ilObjectGUI::redirectAfterCreation ( )

Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen.

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

References ilLink\_getLink(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().

1672  : void
1673  {
1674  $link = ilLink::_getLink($this->object->getRefId());
1675  $this->ctrl->redirectToURL($link);
1676  }
+ Here is the call graph for this function:

◆ redirectToRefId()

ilObjectGUI::redirectToRefId ( int  $ref_id,
string  $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 ["ref_id"] value of the request

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

References ilObject\_lookupType(), and ILIAS\Repository\ctrl().

Referenced by ilObjFolderGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilObjCloudGUI\executeCommand(), and ilObjSessionGUI\unregisterObject().

1429  : void
1430  {
1431  $obj_type = ilObject::_lookupType($ref_id, true);
1432  $class_name = $this->obj_definition->getClassName($obj_type);
1433  $class = strtolower("ilObj" . $class_name . "GUI");
1434  $this->ctrl->setParameterByClass("ilrepositorygui", "ref_id", $ref_id);
1435  $this->ctrl->redirectByClass(array("ilrepositorygui", $class), $cmd);
1436  }
static _lookupType(int $id, bool $reference=false)
+ 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 453 of file class.ilObjectGUI.php.

References exit, and initHeaderAction().

Referenced by ilObjLearningSequenceGUI\executeCommand(), and ilObjFileBasedLMGUI\redrawHeaderAction().

453  : void
454  {
455  $lg = $this->initHeaderAction();
456  echo $lg->getHeaderAction();
457 
458  // we need to add onload code manually (rating, comments, etc.)
459  echo $this->tpl->getOnLoadCodeForAsynch();
460  exit;
461  }
exit
Definition: login.php:28
initHeaderAction(?string $sub_type=null, ?int $sub_id=null)
Add header action menu.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeFromDeskObject()

ilObjectGUI::removeFromDeskObject ( )

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

References ilLink\_getLink(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().

1689  : void
1690  {
1691  $this->lng->loadLanguageModule("rep");
1692  $item_ref_id = $this->request_wrapper->retrieve("item_ref_id", $this->refinery->kindlyTo()->int());
1693  $this->favourites->remove($this->user->getId(), $item_ref_id);
1694  $this->tpl->setOnScreenMessage("success", $this->lng->txt("rep_removed_from_favourites"), true);
1695  $this->ctrl->redirectToURL(ilLink::_getLink($this->requested_ref_id));
1696  }
+ Here is the call graph for this function:

◆ saveObject()

ilObjectGUI::saveObject ( )

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

References afterSave(), checkPermissionBool(), ILIAS\Repository\ctrl(), getDidacticTemplateVar(), initCreateForm(), ILIAS\Repository\lng(), and putObjectInTree().

Referenced by ilObjSessionGUI\saveAndAssignMaterialsObject().

840  : void
841  {
842  // create permission is already checked in createObject. This check here is done to prevent hacking attempts
843  if (!$this->checkPermissionBool("create", "", $this->requested_new_type)) {
844  $this->error->raiseError($this->lng->txt("no_create_permission"), $this->error->MESSAGE);
845  }
846 
847  $this->lng->loadLanguageModule($this->requested_new_type);
848  $this->ctrl->setParameter($this, "new_type", $this->requested_new_type);
849 
850  $form = $this->initCreateForm($this->requested_new_type);
851  if ($form->checkInput()) {
852  $this->ctrl->setParameter($this, "new_type", "");
853 
854  $class_name = "ilObj" . $this->obj_definition->getClassName($this->requested_new_type);
855  $newObj = new $class_name();
856  $newObj->setType($this->requested_new_type);
857  $newObj->setTitle($form->getInput("title"));
858  $newObj->setDescription($form->getInput("desc"));
859  $newObj->processAutoRating();
860  $newObj->create();
861 
862  $this->putObjectInTree($newObj);
863 
864  $dtpl = $this->getDidacticTemplateVar("dtpl");
865  if ($dtpl) {
866  $newObj->applyDidacticTemplate($dtpl);
867  }
868 
869  $this->afterSave($newObj);
870  }
871 
872  $form->setValuesByPost();
873  $this->tpl->setContent($form->getHTML());
874  }
getDidacticTemplateVar(string $type)
Get didactic template setting from creation screen.
afterSave(ilObject $new_object)
Post (successful) object creation hook.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
putObjectInTree(ilObject $obj, int $parent_node_id=null)
Add object to tree at given position.
initCreateForm(string $new_type)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setAdminMode()

ilObjectGUI::setAdminMode ( string  $mode)

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

204  : void
205  {
206  if (!in_array($mode, [
207  self::ADMIN_MODE_NONE,
208  self::ADMIN_MODE_REPOSITORY,
209  self::ADMIN_MODE_SETTINGS
210  ])) {
211  throw new ilObjectException("Unknown Admin Mode $mode.");
212  }
213  $this->admin_mode = $mode;
214  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ setAdminTabs()

ilObjectGUI::setAdminTabs ( )
finalprotected

set admin tabs

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

References getAdminTabs().

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

474  : void
475  {
476  $this->getAdminTabs();
477  }
getAdminTabs()
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 ( ilColumnGUI  $column_gui)

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

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

Referenced by getCenterColumnHTML(), and getRightColumnHTML().

1529  : void
1530  {
1531  $column_gui->setRepositoryMode(true);
1532  $column_gui->setEnableEdit(false);
1533  if ($this->checkPermissionBool("write")) {
1534  $column_gui->setEnableEdit(true);
1535  }
1536  }
setRepositoryMode(bool $a_repositorymode)
setEnableEdit(bool $a_enableedit)
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setCreationMode()

ilObjectGUI::setCreationMode ( bool  $mode = true)

if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI

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

Referenced by ilObjTestGUI\__construct(), ilObjTalkTemplateGUI\executeCommand(), ilContainerReferenceGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), and ilObjStyleSheetGUI\executeCommand().

257  : void
258  {
259  $this->creation_mode = $mode;
260  }
+ Here is the caller graph for this function:

◆ setFormAction()

ilObjectGUI::setFormAction ( string  $cmd,
string  $form_action 
)
protected

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

References $form_action.

1232  : void
1233  {
1234  $this->form_action[$cmd] = $form_action;
1235  }

◆ setLocator()

ilObjectGUI::setLocator ( )
protected

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

References $locator, $requested_ref_id, $tpl, addLocatorItems(), and ilGlobalTemplateInterface\setLocator().

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

508  : void
509  {
510  $ilLocator = $this->locator;
511  $tpl = $this->tpl;
512 
513  if ($this->omit_locator) {
514  return;
515  }
516 
517  // repository vs. workspace
518  if ($this->call_by_reference) {
519  // todo: admin workaround
520  // in the future, object gui classes should not be called in
521  // admin section anymore (rbac/trash handling in own classes)
523  if ($this->requested_ref_id === 0) {
524  $ref_id = $this->object->getRefId();
525  }
526  $ilLocator->addRepositoryItems($ref_id);
527  }
528 
529  if (!$this->creation_mode) {
530  $this->addLocatorItems();
531  }
532 
533  $tpl->setLocator();
534  }
setLocator()
Insert locator.
ilGlobalTemplateInterface $tpl
ilLocatorGUI $locator
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 ( string  $cmd,
string  $location 
)
protected

set specific return location for command

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

References $location.

Referenced by ilObjEmployeeTalkGUI\__construct(), and ilObjEmployeeTalkSeriesGUI\__construct().

1252  : void
1253  {
1254  $this->return_location[$cmd] = $location;
1255  }
$location
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: buildRTE.php:22
+ Here is the caller graph for this function:

◆ setTabs()

◆ setTargetFrame()

ilObjectGUI::setTargetFrame ( string  $cmd,
string  $target_frame 
)
protected

Set specific target frame for command.

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

1276  : void
1277  {
1278  $this->target_frame[$cmd] = "target=\"" . $target_frame . "\"";
1279  }

◆ setTitleAndDescription()

ilObjectGUI::setTitleAndDescription ( )
protected

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

References ilObject\_getIcon(), ilObjectListGUIFactory\_getListGUIByType(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\refinery().

Referenced by ilObjContentObjectGUI\checkCtrlPath(), prepareOutput(), ilObjTestGUI\prepareSubGuiOutput(), and ilObjFileBasedLMGUI\setTabs().

329  : void
330  {
331  if (!is_object($this->object)) {
332  if ($this->requested_crtptrefid > 0) {
333  $cr_obj_id = ilObject::_lookupObjId($this->requested_crtcb);
334  $this->tpl->setTitle(
335  strip_tags(
336  ilObject::_lookupTitle($cr_obj_id),
337  self::ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
338  )
339  );
340  $this->tpl->setTitleIcon(ilObject::_getIcon($cr_obj_id));
341  }
342  return;
343  }
344  $this->tpl->setTitle(
345  strip_tags(
346  $this->object->getPresentationTitle(),
347  self::ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
348  )
349  );
350  $this->tpl->setDescription(
351  strip_tags(
352  $this->object->getLongDescription(),
353  self::ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
354  )
355  );
356 
357  $base_class = $this->request_wrapper->retrieve("baseClass", $this->refinery->kindlyTo()->string());
358  if (strtolower($base_class) == "iladministrationgui") {
359  // alt text would be same as heading -> empty alt text
360  $this->tpl->setTitleIcon(ilObject::_getIcon(0, "big", $this->object->getType()));
361  } else {
362  $this->tpl->setTitleIcon(
363  ilObject::_getIcon(0, "big", $this->object->getType()),
364  $this->lng->txt("obj_" . $this->object->getType())
365  );
366  }
367  if (!$this->obj_definition->isAdministrationObject($this->object->getType())) {
368  $lgui = ilObjectListGUIFactory::_getListGUIByType($this->object->getType());
369  $lgui->initItem($this->object->getRefId(), $this->object->getId(), $this->object->getType());
370  $this->tpl->setAlertProperties($lgui->getAlertProperties());
371  }
372  }
static _getIcon(int $obj_id=0, string $size="big", string $type="", bool $offline=false)
Get icon for repository item.
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
static _getListGUIByType(string $type, int $context=ilObjectListGUI::CONTEXT_REPOSITORY)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showCustomIconsEditing()

ilObjectGUI::showCustomIconsEditing (   $input_colspan = 1,
ilPropertyFormGUI  $form = null,
  $as_section = true 
)
protected

show edit section of custom icons for container

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

References ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\settings().

Referenced by ilObjRootFolderGUI\initEditForm().

1636  : void {
1637  if ($this->settings->get("custom_icons")) {
1638  if ($form) {
1639  $customIcon = $this->custom_icon_factory->getByObjId($this->object->getId(), $this->object->getType());
1640 
1641  if ($as_section) {
1642  $title = new ilFormSectionHeaderGUI();
1643  $title->setTitle($this->lng->txt("icon_settings"));
1644  } else {
1645  $title = new ilCustomInputGUI($this->lng->txt("icon_settings"), "");
1646  }
1647  $form->addItem($title);
1648 
1649  $caption = $this->lng->txt("cont_custom_icon");
1650  $icon = new ilImageFileInputGUI($caption, "cont_icon");
1651 
1652  $icon->setSuffixes($customIcon->getSupportedFileExtensions());
1653  $icon->setUseCache(false);
1654  if ($customIcon->exists()) {
1655  $icon->setImage($customIcon->getFullPath());
1656  } else {
1657  $icon->setImage('');
1658  }
1659  if ($as_section) {
1660  $form->addItem($icon);
1661  } else {
1662  $title->addSubItem($icon);
1663  }
1664  }
1665  }
1666  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showPossibleSubObjects()

ilObjectGUI::showPossibleSubObjects ( )
protected

show possible sub objects (pull down menu)

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

References $i, $ref_id, $sub_objects, ilLegacyFormElementsUtil\formSelect(), ILIAS\Repository\lng(), ilObjectDefinition\MODE_REPOSITORY, and ILIAS\Repository\object().

1374  : void
1375  {
1376  if ($this->sub_objects == "") {
1377  $sub_objects = $this->obj_definition->getCreatableSubObjects(
1378  $this->object->getType(),
1381  );
1382  } else {
1384  }
1385 
1386  $subobj = [];
1387  if (count($sub_objects) > 0) {
1388  foreach ($sub_objects as $row) {
1389  $count = 0;
1390  if ($row["max"] > 0) {
1391  //how many elements are present?
1392  for ($i = 0; $i < count($this->data["ctrl"]); $i++) {
1393  if ($this->data["ctrl"][$i]["type"] == $row["name"]) {
1394  $count++;
1395  }
1396  }
1397  }
1398 
1399  if ($row["max"] == "" || $count < $row["max"]) {
1400  $subobj[] = $row["name"];
1401  }
1402  }
1403  }
1404 
1405  if (count($subobj) > 0) {
1406  $opts = ilLegacyFormElementsUtil::formSelect(12, "new_type", $subobj);
1407  $this->tpl->setCurrentBlock("add_object");
1408  $this->tpl->setVariable("SELECT_OBJTYPE", $opts);
1409  $this->tpl->setVariable("BTN_NAME", "create");
1410  $this->tpl->setVariable("TXT_ADD", $this->lng->txt("add"));
1411  $this->tpl->parseCurrentBlock();
1412  }
1413  }
static formSelect( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false)
Builds a select form field with options and shows the selected option first.
$i
Definition: metadata.php:41
+ Here is the call graph for this function:

◆ updateCustom()

ilObjectGUI::updateCustom ( ilPropertyFormGUI  $form)
protected

Insert custom update form values into object.

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

Referenced by ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjEmployeeTalkGUI\updateObject(), and updateObject().

1048  : void
1049  {
1050  }
+ Here is the caller graph for this function:

◆ updateObject()

ilObjectGUI::updateObject ( )

updates object entry in object_data

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

References afterUpdate(), checkPermissionBool(), initEditForm(), ILIAS\Repository\lng(), updateCustom(), and validateCustom().

Referenced by ilObjRootFolderGUI\getEditFormValues(), ilObjUserGUI\loadUserDefinedDataFromForm(), and ilObjFileBasedLMGUI\update().

1014  : void
1015  {
1016  if (!$this->checkPermissionBool("write")) {
1017  $this->error->raiseError($this->lng->txt("permission_denied"), $this->error->MESSAGE);
1018  }
1019 
1020  $form = $this->initEditForm();
1021  if ($form->checkInput() && $this->validateCustom($form)) {
1022  $this->object->setTitle($form->getInput("title"));
1023  $this->object->setDescription($form->getInput("desc"));
1024  $this->updateCustom($form);
1025  $this->object->update();
1026 
1027  $this->afterUpdate();
1028  return;
1029  }
1030 
1031  // display form again to correct errors
1032  $this->tabs_gui->activateTab("settings");
1033  $form->setValuesByPost();
1034  $this->tpl->setContent($form->getHTML());
1035  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
validateCustom(ilPropertyFormGUI $form)
Validate custom values (if not possible with checkInput())
afterUpdate()
Post (successful) object update hook.
updateCustom(ilPropertyFormGUI $form)
Insert custom update form values into object.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validateCustom()

ilObjectGUI::validateCustom ( ilPropertyFormGUI  $form)
protected

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

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

Referenced by updateObject().

1040  : bool
1041  {
1042  return true;
1043  }
+ Here is the caller graph for this function:

◆ viewObject()

ilObjectGUI::viewObject ( )

viewObject container presentation for "administration -> repository, trash, permissions"

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

References ilChangeEvent\_recordReadEvent(), checkPermission(), checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\object(), ILIAS\Repository\user(), and withReferences().

Referenced by ilObjUserFolderGUI\applyFilterObject(), ilObjLanguageExtGUI\applyFilterObject(), ilObjLanguageExtGUI\cancelObject(), ilObjUserFolderGUI\deactivateUsersObject(), ilObjUserFolderGUI\deleteUsersObject(), ilObjTalkTemplateGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjCourseGUI\gatewayObject(), ilObjUserFolderGUI\initAccessRestrictionForm(), ilObjCourseGUI\leaveObject(), ilObjCourseGUI\renderObject(), ilObjUserFolderGUI\resetFilterObject(), ilObjLanguageExtGUI\resetFilterObject(), ilObjCourseGUI\resetObject(), ilObjLanguageExtGUI\saveObject(), ilObjUserFolderGUI\showActionConfirmation(), and ilObjContentObjectGUI\view().

1306  : void
1307  {
1308  $this->checkPermission('visible') && $this->checkPermission('read');
1309 
1310  $this->tabs_gui->activateTab('view');
1311 
1313  $this->object->getType(),
1314  $this->object->getRefId(),
1315  $this->object->getId(),
1316  $this->user->getId()
1317  );
1318 
1319  if (!$this->withReferences()) {
1320  $this->ctrl->setParameter($this, 'obj_id', $this->obj_id);
1321  }
1322 
1323  $itab = new ilAdminSubItemsTableGUI(
1324  $this,
1325  "view",
1326  $this->requested_ref_id,
1327  $this->checkPermissionBool('write')
1328  );
1329 
1330  $this->tpl->setContent($itab->getHTML());
1331  }
TableGUI class for sub items listed in repository administration.
static _recordReadEvent(string $a_type, int $a_ref_id, int $obj_id, int $usr_id, bool $isCatchupWriteEvents=true, $a_ext_rc=null, $a_ext_time=null)
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
withReferences()
determines whether objects are referenced or not (got ref ids or not)
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ withReferences()

ilObjectGUI::withReferences ( )

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

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

References $call_by_reference.

Referenced by viewObject().

246  : bool
247  {
249  }
+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilAccessHandler ilObjectGUI::$access
protected

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

Referenced by ilObjCourseReferenceGUI\_goto(), ilObjMediaCastGUI\addContentSubTabs(), ilObjRoleGUI\adoptPermSaveObject(), ilObjBadgeAdministrationGUI\applyObjectFilter(), ilObjContentObjectGUI\checkCtrlPath(), ilObjSurveyGUI\checkRbacOrPositionPermission(), ilObjUserFolderGUI\checkUserManipulationAccessBool(), ilContainerGUI\cloneAllObject(), ilContainerReferenceGUI\createObject(), ilObjContentObjectGUI\editPublicSection(), ilObjRepositorySettingsGUI\executeCommand(), ilObjEmployeeTalkSeriesGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjUserFolderGUI\executeCommand(), ilObjUserFolderGUI\filterUserIdsByRbacOrPositionOfCurrentUser(), ilObjUserFolderGUI\getActionUserIds(), ilObjMediaObjectsSettingsGUI\getAdminTabs(), ilObjSkillManagementGUI\getAdminTabs(), ilObjSkillTreeGUI\getAdminTabs(), ilObjMediaCastSettingsGUI\getForm(), ilObjExternalToolsSettingsGUI\getMapsForm(), ilObjBadgeAdministrationGUI\getObjectBadgesFromMultiAction(), ilObjNewsSettingsGUI\getSettingsForm(), ilObjCategoryGUI\getTabs(), ilObjFolderGUI\getTabs(), ilObjFileBasedLMGUI\getTabs(), ilObjWikiGUI\getTabs(), ilObjUserFolderGUI\getTabs(), ilObjUserFolderGUI\importUserFormObject(), ilObjFolderGUI\infoScreen(), ilObjWikiGUI\infoScreen(), ilObjCategoryGUI\infoScreen(), ilObjRepositorySettingsGUI\initCustomIconsForm(), ilObjCourseReferenceGUI\initForm(), ilObjBadgeAdministrationGUI\initFormSettings(), ilObjTaggingSettingsGUI\initFormSettings(), ilObjBookingPoolGUI\initHeaderAction(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjSurveyAdministrationGUI\initSettingsForm(), ilObjRepositorySettingsGUI\initSettingsForm(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjMediaCastGUI\listItemsObject(), ilObjRepositorySettingsGUI\listModules(), ilObjRepositorySettingsGUI\listNewItemGroups(), ilObjBadgeAdministrationGUI\listObjectBadges(), ilObjBadgeAdministrationGUI\listTypes(), ilContainerReferenceGUI\loadPropertiesFromSettingsForm(), ilObjBadgeAdministrationGUI\resetObjectFilter(), ilObjUserGUI\roleassignmentObject(), ilObjRepositorySettingsGUI\saveCustomIcons(), ilObjRepositorySettingsGUI\saveModules(), ilObjStudyProgrammeReferenceGUI\saveObject(), ilContainerReferenceGUI\saveObject(), ilObjMediaCastSettingsGUI\saveSettings(), ilObjPersonalWorkspaceSettingsGUI\saveSettings(), ilObjNewsSettingsGUI\saveSettings(), ilObjRepositorySettingsGUI\saveSettings(), ilObjSurveyAdministrationGUI\saveSettingsObject(), ilObjUserFolderGUI\searchUserAccessFilterCallable(), ilContainerGUI\setColumnSettings(), ilObjWikiGUI\setSettingsSubTabs(), ilObjMediaCastGUI\setTabs(), ilContainerGUI\showAdministrationPanel(), ilObjFileBasedLMGUI\showInfoScreen(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSystemFolderGUI\viewObject(), ilObjUserFolderGUI\viewObject(), and ilObjWikiGUI\viewPageObject().

◆ $admin_mode

string ilObjectGUI::$admin_mode = self::ADMIN_MODE_NONE
protected

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

Referenced by getAdminMode().

◆ $call_by_reference

◆ $creation_mode

bool ilObjectGUI::$creation_mode = false
protected

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

Referenced by getCreationMode().

◆ $ctrl

ilCtrl ilObjectGUI::$ctrl
protected

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

Referenced by ilObjExerciseGUI\__construct(), ilObjCourseReferenceGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjWikiGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjContentObjectGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjExerciseGUI\addContentSubTabs(), ilObjWikiGUI\addImportantPageObject(), ilObjContentObjectGUI\addMenuEntry(), ilObjMediaCastGUI\addMobsToCast(), ilObjWikiGUI\addPagesSubTabs(), ilContainerGUI\addPageTabs(), ilObjWikiGUI\addPageTabs(), ilContainerGUI\addStandardContainerSubTabs(), ilObjContentObjectGUI\addTooltip(), ilObjExerciseGUI\afterSave(), ilObjSystemFolderGUI\benchmarkObject(), ilObjSystemFolderGUI\benchmarkSubTabs(), ilObjExerciseAdministrationGUI\cancel(), ilObjBlogAdministrationGUI\cancel(), ilObjMediaCastSettingsGUI\cancel(), ilObjPortfolioAdministrationGUI\cancel(), ilObjTaggingSettingsGUI\cancel(), ilObjAwarenessAdministrationGUI\cancel(), ilObjStyleSheetGUI\cancelColorDeletionObject(), ilObjStyleSheetGUI\cancelColorSavingObject(), ilObjFileBasedLMGUI\cancelCreationObject(), ilObjWikiGUI\cancelCreationPageUsingTemplateObject(), ilContainerGUI\cancelMoveLinkObject(), ilObjStyleSheetGUI\cancelTemplateDeletionObject(), ilObjStyleSheetGUI\cancelTemplateSavingObject(), ilObjContentObjectGUI\chapters(), ilObjContentObjectGUI\checkCtrlPath(), ilContainerGUI\clipboardObject(), ilContainerGUI\cloneAllObject(), ilContainerGUI\competencesObject(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjSkillManagementGUI\confirmedDelete(), ilObjSkillTreeGUI\confirmedDeleteTrees(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjContentObjectGUI\copyItems(), ilContainerGUI\copyObject(), ilObjStyleSheetGUI\copyStyleObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjContentObjectGUI\cutItems(), ilContainerGUI\cutObject(), ilObjSkillTreeGUI\delete(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObjStyleSheetGUI\deleteColorObject(), ilObjSystemFolderGUI\deleteHeaderTitlesObject(), ilObjBadgeAdministrationGUI\deleteImageTemplates(), ilObjMediaCastGUI\deleteItemsObject(), ilObjStyleSheetGUI\deleteMediaQueriesObject(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), ilObjStyleSheetGUI\deleteObject(), ilObjBadgeAdministrationGUI\deleteObjectBadges(), ilObjMediaObjectGUI\deleteSrtFilesObject(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjStyleSheetGUI\deleteTemplateKeepClassesObject(), ilObjStyleSheetGUI\deleteTemplateObject(), ilObjContentObjectGUI\deleteTooltips(), ilObjMediaCastGUI\determinePlaytimeObject(), ilObjMediaCastGUI\downloadItemObject(), ilObjMediaCastGUI\editCastItemObject(), ilObjStyleSheetGUI\editColorObject(), ilObjContentObjectGUI\editGlossaries(), ilObjBadgeAdministrationGUI\editImageTemplate(), ilObjWikiGUI\editImportantPagesObject(), ilObjContentObjectGUI\editMasterLanguage(), ilObjStyleSheetGUI\editMediaQueryObject(), ilObjContentObjectGUI\editMenuEntry(), ilObjContentObjectGUI\editMenuProperties(), ilObjStyleSheetGUI\editObject(), ilObjSkillManagementGUI\editSettings(), ilObjSkillTreeGUI\editSkills(), ilObjSkillManagementGUI\editSkillTemplates(), ilObjSkillTreeGUI\editSkillTemplates(), ilObjStyleSheetGUI\editTemplateObject(), ilObjLearningHistorySettingsGUI\executeCommand(), ilObjCommentsSettingsGUI\executeCommand(), ilContainerReferenceGUI\executeCommand(), ilObjNotesSettingsGUI\executeCommand(), ilObjPersonalWorkspaceSettingsGUI\executeCommand(), ilObjCategoryGUI\executeCommand(), ilObjWikiGUI\executeCommand(), ilObjStyleSheetGUI\executeCommand(), ilObjMediaCastGUI\extractPreviewImageObject(), ilObjContentObjectGUI\filterHelpChapters(), ilObjContentObjectGUI\filterTooltips(), ilObjLearningSequenceGUI\forwardByClass(), ilContainerGUI\forwardToPageObject(), ilObjLearningHistorySettingsGUI\getAdminTabs(), ilObjCommentsSettingsGUI\getAdminTabs(), ilObjNotesSettingsGUI\getAdminTabs(), ilObjPersonalWorkspaceSettingsGUI\getAdminTabs(), ilObjWikiGUI\getAssignmentButtons(), ilObjStyleSheetGUI\getCloneForm(), ilObjStyleSheetGUI\getCreateForm(), ilObjStyleSheetGUI\getImportForm(), ilObjExternalToolsSettingsGUI\getMapsForm(), ilObjBadgeAdministrationGUI\getObjectBadgesFromMultiAction(), ilObjContentObjectGUI\getPublicAccessColValue(), ilObjNewsSettingsGUI\getSettingsForm(), ilObjLearningResourcesSettingsGUI\getSettingsForm(), ilObjPersonalWorkspaceSettingsGUI\getSettingsForm(), ilObjFolderGUI\getTabs(), ilObjWikiGUI\getTabs(), ilContainerGUI\getTabs(), ilObjWikiGUI\gotoPageObject(), ilObjCategoryGUI\infoScreen(), ilObjBookingPoolGUI\infoScreen(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjPortfolioAdministrationGUI\initAuthorshipForm(), ilObjStyleSheetGUI\initColorForm(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilObjLearningHistorySettingsGUI\initForm(), ilObjCommentsSettingsGUI\initForm(), ilObjNotesSettingsGUI\initForm(), ilObjMediaObjectGUI\initForm(), ilObjBookingPoolGUI\initHeaderAction(), ilObjBadgeAdministrationGUI\initImageTemplateForm(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjStyleSheetGUI\initMediaQueryForm(), ilObjContentObjectGUI\initMenuEntryForm(), ilObjContentObjectGUI\initMenuForm(), ilObjStyleSheetGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjContentObjectGUI\initSetPageLayoutForm(), ilObjSurveyAdministrationGUI\initSettingsForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilObjStyleSheetGUI\initTemplateForm(), ilObjStyleSheetGUI\initTemplateGenerationForm(), ilObjWikiGUI\initTemplateSelectionForm(), ilObjSkillTreeGUI\initTreeForm(), ilObjContentObjectGUI\insertChapter(), ilObjContentObjectGUI\insertChapterClip(), ilContainerGUI\keepObjectsInClipboardObject(), ilContainerGUI\linkObject(), ilObjExerciseGUI\listAssignmentsObject(), ilObjStyleSheetGUI\listColorsObject(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjStyleSheetGUI\listMediaQueriesObject(), ilObjBadgeAdministrationGUI\listObjectBadgeUsers(), ilObjStyleSheetGUI\listTemplatesObject(), ilObjContentObjectGUI\pages(), ilContainerGUI\pasteObject(), ilObjWikiGUI\performSearchObject(), ilObjContentObjectGUI\proceedDragDrop(), ilObjContentObjectGUI\publishExportFile(), ilObjFileBasedLMGUI\redirectAfterCreation(), ilContainerReferenceGUI\redirectObject(), ilObjWikiGUI\removeImportantPagesObject(), ilObjContentObjectGUI\removeLMGlossary(), ilContainerGUI\renderObject(), ilObjContentObjectGUI\resetNumberOfTries(), ilObjStyleSheetGUI\returnToUpperContextObject(), ilObjSkillTreeGUI\save(), ilObjAccessibilitySettingsGUI\saveAccessibilitySettings(), ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillTreeGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), ilObjSkillTreeGUI\saveAllTitles(), ilObjContentObjectGUI\saveAllTitles(), ilObjPortfolioAdministrationGUI\saveAuthorship(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjStyleSheetGUI\saveColorObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjContentObjectGUI\saveExportIds(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjWikiGUI\saveGradingObject(), ilObjSystemFolderGUI\saveHeaderTitlesObject(), ilObjContentObjectGUI\saveHelpMapping(), ilObjBadgeAdministrationGUI\saveImageTemplate(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjExternalToolsSettingsGUI\saveMapsObject(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjStyleSheetGUI\saveMediaQueryOrderObject(), ilObjRepositorySettingsGUI\saveModules(), ilObjMediaObjectGUI\saveMultiSrtObject(), ilObjBookingPoolGUI\saveNotificationObject(), ilObjStyleSheetGUI\saveObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjContentObjectGUI\savePageLayout(), ilObjExerciseAdministrationGUI\saveSettings(), ilObjBlogAdministrationGUI\saveSettings(), ilObjMediaCastSettingsGUI\saveSettings(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjPortfolioAdministrationGUI\saveSettings(), ilObjAwarenessAdministrationGUI\saveSettings(), ilObjLearningHistorySettingsGUI\saveSettings(), ilObjTaggingSettingsGUI\saveSettings(), ilObjNotesSettingsGUI\saveSettings(), ilObjBadgeAdministrationGUI\saveSettings(), ilObjPersonalWorkspaceSettingsGUI\saveSettings(), ilObjCommentsSettingsGUI\saveSettings(), ilObjLearningResourcesSettingsGUI\saveSettings(), ilObjNewsSettingsGUI\saveSettings(), ilObjSurveyAdministrationGUI\saveSettingsObject(), ilObjWikiGUI\saveSettingsObject(), ilObjMediaCastGUI\saveSettingsObject(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjContentObjectGUI\saveTooltips(), ilObjDashboardSettingsGUI\saveViewSettings(), ilObjContentObjectGUI\selectLMGlossary(), ilObjContentObjectGUI\sendMailToBlockedUsers(), ilObjWikiGUI\setAsStartPageObject(), ilObjContentObjectGUI\setContentSubTabs(), ilObjSystemFolderGUI\setGeneralSettingsSubTabs(), ilObjContentObjectGUI\setPageLayout(), ilObjContentObjectGUI\setPageLayoutInHierarchy(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjContentObjectGUI\setQuestionsSubTabs(), ilObjSystemFolderGUI\setServerInfoSubTabs(), ilObjDashboardSettingsGUI\setSettingsSubTabs(), ilObjWikiGUI\setSettingsSubTabs(), ilObjSystemFolderGUI\setSystemCheckSubTabs(), ilObjStyleSheetGUI\setTemplatesSubTabs(), ilObjMediaObjectGUI\showAllUsagesObject(), ilContainerGUI\showContainerPageTabs(), ilObjContentObjectGUI\showEntrySelector(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjMediaCastGUI\showGallery(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjSkillTreeGUI\showLocator(), ilObjBookingPoolGUI\showProfileObject(), ilObjGlossaryGUI\showTaxonomy(), ilObjWikiGUI\showTemplateSelectionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjSkillManagementGUI\showTree(), ilObjSkillTreeGUI\showTree(), ilObjTaggingSettingsGUI\showUsers(), ilObjExerciseGUI\startAssignmentObject(), ilObjContentObjectGUI\switchToLanguage(), ilObjStyleSheetGUI\templateGenerationObject(), ilObjFileBasedLMGUI\toFilesystem(), ilObjBadgeAdministrationGUI\toggleObjectBadges(), ilObjContentObjectGUI\unlockQuestion(), ilObjMediaCastGUI\updateCastItemObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjBadgeAdministrationGUI\updateImageTemplate(), ilObjStyleSheetGUI\updateMediaQueryObject(), ilObjStyleSheetGUI\updateObject(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjMediaObjectGUI\uploadMultipleSubtitleFileFormObject(), ilObjMediaObjectGUI\uploadSubtitleFileObject(), and ilObjWikiGUI\viewPageObject().

◆ $custom_icon_factory

ilObjectCustomIconFactory ilObjectGUI::$custom_icon_factory
protected

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

◆ $data

ilObjectGUI::$data
protected

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

Referenced by ilObjStudyProgrammeReferenceGUI\__construct(), ilObjTypeDefinitionGUI\__construct(), ilObjChatroomAdminGUI\__construct(), ilObjStudyProgrammeAdminGUI\__construct(), ilObjCertificateSettingsGUI\__construct(), ilObjObjectFolderGUI\__construct(), ilObjChatroomGUI\__construct(), ilObjSAHSLearningModuleGUI\__construct(), ilObjLearningSequenceAdminGUI\__construct(), ilObjSCORMLearningModuleGUI\__construct(), ilObjIndividualAssessmentGUI\__construct(), ilObjComponentSettingsGUI\__construct(), ilObjForumGUI\__construct(), __construct(), ilContainerGUI\_buildPath(), ilObjTestGUI\addQuestionObject(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilContainerGUI\clipboardObject(), ilObjSurveyQuestionPoolGUI\confirmDeleteExportFileObject(), ilObjLTIConsumerGUI\contentSelectionRequest(), ilObjEmployeeTalkSeriesGUI\copyTemplateValues(), ilObjSurveyQuestionPoolGUI\deleteQuestionsObject(), ilObjTypeDefinitionGUI\displayList(), ilObjTypeDefinitionGUI\editObject(), ilObjSurveyQuestionPoolGUI\exportObject(), ilContainerGUI\getAsynchItemListObject(), ilObjSessionGUI\getAttendanceListUserData(), ilObjLearningSequenceAdminGUI\getForm(), ilObjSystemFolderGUI\getServerStatusInfo(), ilObjUserGUI\getValues(), initDidacticTemplate(), ilObjAssessmentFolderGUI\logAdminObject(), ilObjSessionGUI\materialsObject(), ilObjQuestionPoolGUI\printObject(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilObjRoleGUI\readRoleProperties(), ilObjTestGUI\removeQuestionsForm(), ilObjLearningSequenceAdminGUI\save(), ilObjContentPageAdministrationGUI\save(), ilObjSkillTreeGUI\save(), ilObjPortfolioAdministrationGUI\saveAuthorship(), ilObjLTIConsumerGUI\saveContentSelection(), ilObjMDSettingsGUI\saveEntry(), ilObjSystemFolderGUI\saveHeaderTitleObject(), ilObjNotificationAdminGUI\saveOSDSettings(), ilObjLearningHistorySettingsGUI\saveSettings(), ilObjNotesSettingsGUI\saveSettings(), ilObjCommentsSettingsGUI\saveSettings(), ilObjSystemFolderGUI\showHeaderTitleObject(), ilObjForumGUI\showStatisticsObject(), ilObjLanguageExtGUI\statisticsObject(), ilObjFileGUI\update(), ilObjMDSettingsGUI\updateEntry(), ilObjLinkResourceGUI\updateLinks(), ilCourseContentGUI\updateManagedTimings(), ilCourseContentGUI\updatePersonalTimings(), and ilObjLanguageExtGUI\viewObject().

◆ $error

ilErrorHandling ilObjectGUI::$error
protected

◆ $favourites

ilFavouritesManager ilObjectGUI::$favourites
protected

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

◆ $form_action

◆ $html

◆ $id

int ilObjectGUI::$id
protected

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

Referenced by ilObjChatroomAdminGUI\__construct(), ilObjTestVerificationGUI\__construct(), ilObjCertificateSettingsGUI\__construct(), ilObjChatroomGUI\__construct(), ilObjFileServicesGUI\__construct(), ilObjIndividualAssessmentGUI\__construct(), ilObjLinkResourceGUI\__construct(), ilObjContentObjectGUI\__construct(), ilObjForumGUI\__construct(), ilObject2GUI\__construct(), __construct(), ilObjLearningSequenceGUI\_goto(), ilObjCmiXapiVerificationGUI\_goto(), ilObjLTIConsumerVerificationGUI\_goto(), ilObjSCORMVerificationGUI\_goto(), ilObjTestVerificationGUI\_goto(), ilObjCourseVerificationGUI\_goto(), ilObjBibliographicGUI\_goto(), ilObjCmiXapiGUI\_goto(), ilObjPollGUI\_goto(), ilObjLTIConsumerGUI\_goto(), ilObjStudyProgrammeGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilObjWorkspaceFolderGUI\_goto(), ilObjPortfolioGUI\_goto(), ilObjBlogGUI\_goto(), ilObjContentObjectGUI\activatePages(), ilObjLanguageExtGUI\addNewEntryObject(), ilObjRoleGUI\adoptPermObject(), ilObjAuthSettingsGUI\authSettingsObject(), ilObjTestGUI\buildPageViewToolbar(), ilObjUserFolderGUI\confirmaccessFreeObject(), ilObjUserFolderGUI\confirmaccessRestrictObject(), ilObjUserFolderGUI\confirmactivateObject(), ilObjUserFolderGUI\confirmdeactivateObject(), ilObjUserFolderGUI\confirmdeleteObject(), ilObjSkillManagementGUI\confirmedDelete(), ilObjTaxonomyGUI\confirmedDelete(), ilObjSkillTreeGUI\confirmedDelete(), ilObjContentObjectGUI\confirmedDelete(), ilObjSkillTreeGUI\confirmedDeleteTrees(), ilObjPortfolioBaseGUI\confirmPortfolioPageDeletion(), ilObjGlossaryGUI\confirmTermDeletion(), ilObjTestGUI\copyQuestionObject(), ilObjGlossaryGUI\copyTerms(), ilObjPortfolioTemplateGUI\createFromTemplate(), ilObjContentObjectGUI\delete(), ilObjSessionGUI\deleteFilesObject(), ilObjTaxonomyGUI\deleteItems(), ilObjStyleSheetGUI\deleteMediaQueriesObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), deleteObject(), ilObjPortfolioBaseGUI\deletePortfolioPages(), ilObjRoleFolderGUI\deleteRoleObject(), ilObjGlossaryGUI\deleteTerms(), ilObjContentObjectGUI\deleteTooltips(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), ilObjTypeDefinitionGUI\displayList(), ilObjExerciseVerificationGUI\downloadFromPortfolioPage(), ilObjTypeDefinitionGUI\editObject(), ilObjEmployeeTalkSeriesGUI\executeCommand(), ilObjBlogGUI\filterInactivePostings(), ilObjLanguageExtGUI\getId(), ilObjLinkResourceGUI\getLinkToListModal(), ilObjBlogGUI\getListItems(), ilObjTestGUI\getQuestionpoolCreationForm(), ilObjTestGUI\getTargetQuestionpoolForm(), ilObjLanguageExtGUI\initAddNewEntryForm(), ilObjPortfolioTemplateGUI\initCopyPageFormOptions(), ilObjUserGUI\initForm(), ilObjForumGUI\initHeaderAction(), ilObjBadgeAdministrationGUI\initImageTemplateForm(), ilObjCmiXapiGUI\initMetadata(), ilObjLTIConsumerGUI\initMetadata(), ilObjRepositorySettingsGUI\initNewItemGroupForm(), ilObjContentObjectGUI\initSetPageLayoutForm(), ilObjUserFolderGUI\initUserRoleAssignmentForm(), ilObjMediaPoolGUI\insertFromClipboard(), ilObjMediaPoolGUI\move(), ilContainerGUI\redrawListItemObject(), ilObjGlossaryGUI\referenceTerms(), ilObjBlogGUI\renderNavigationByAuthors(), ilObjBlogGUI\renderNavigationByDate(), ilObjForumGUI\renderSplitButton(), ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillTreeGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), ilObjSkillTreeGUI\saveAllTitles(), ilObjLanguageExtGUI\saveNewEntryObject(), ilObjTestGUI\saveOrderAndObligationsObject(), ilObjMediaCastGUI\saveOrderObject(), ilObjContentObjectGUI\savePageLayout(), ilObjFileServicesGUI\saveSettings(), ilObjContentObjectGUI\saveTooltips(), ilObjUserFolderGUI\showActionConfirmation(), ilObjBibliographicGUI\showDetails(), ilObjWorkspaceFolderGUI\showMoveIntoObjectTree(), and ilObjObjectFolderGUI\viewObject().

◆ $ilias

◆ $link_params

string ilObjectGUI::$link_params
protected

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

◆ $lng

ilLanguage ilObjectGUI::$lng
protected

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

Referenced by ilObjSurveyAdministrationGUI\__construct(), ilObjExternalToolsSettingsGUI\__construct(), ilObjFileBasedLMGUI\__construct(), ilObjSAHSLearningModuleGUI\__construct(), ilObjDashboardSettingsGUI\__construct(), ilObjSCORM2004LearningModuleGUI\__construct(), ilObjUserGUI\__construct(), ilObjMediaCastGUI\__construct(), ilObjWikiGUI\__construct(), ilObjExerciseGUI\__construct(), ilObjMediaObjectGUI\__construct(), ilObjQuestionPoolGUI\__construct(), ilObjLanguageExtGUI\__construct(), ilObjOrgUnitGUI\__construct(), ilObjStudyProgrammeGUI\__construct(), ilObjContentObjectGUI\__construct(), ilObjTestGUI\__construct(), ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjStyleSheetGUI\_getTemplatePreview(), ilObjLearningSequenceGUI\_goto(), ilObjFolderGUI\_goto(), ilObjBookingPoolGUI\_goto(), ilObjFileBasedLMGUI\_goto(), ilObjSAHSLearningModuleGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjExerciseGUI\_goto(), ilObjSurveyQuestionPoolGUI\_goto(), ilObjWikiGUI\_goto(), ilObjCategoryGUI\_goto(), ilObjGlossaryGUI\_goto(), ilObjMediaCastGUI\_goto(), ilObjGroupGUI\_goto(), ilObjForumGUI\_goto(), ilObjQuestionPoolGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjContentObjectGUI\_goto(), ilObjCourseGUI\_goto(), ilObjUserFolderGUI\_goto(), ilObjCourseGUI\_modifyItemGUI(), ilObjTestGUI\accessViolationRedirect(), ilObjBadgeAdministrationGUI\activateTypes(), ilObjExerciseGUI\addContentSubTabs(), ilObjMediaCastGUI\addContentSubTabs(), ilObjWikiGUI\addImportantPageObject(), ilObjTestGUI\addQuestionObject(), ilContainerGUI\addStandardContainerSubTabs(), ilObjContentObjectGUI\addTabs(), ilObjContentObjectGUI\addTooltip(), ilObjGlossaryGUI\addUsagesToInfo(), ilObjSystemFolderGUI\benchmarkObject(), ilObjSystemFolderGUI\benchmarkSubTabs(), ilObjTestGUI\buildPageViewToolbar(), ilObjQuestionPoolGUI\buildQuestionBrowserTableGUI(), ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjStyleSheetGUI\cancelObject(), ilObjContentObjectGUI\chapters(), ilObjContentObjectGUI\checkCtrlPath(), ilContainerGUI\clipboardObject(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjContentObjectGUI\confirmGlossarySelection(), ilContainerGUI\confirmRemoveFromSystemObject(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjTestGUI\copyAndLinkToQuestionpoolObject(), ilObjContentObjectGUI\copyItems(), ilObjSkillTreeGUI\create(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjTestGUI\createQuestionObject(), ilObjContentObjectGUI\cutItems(), ilObjBadgeAdministrationGUI\deactivateTypes(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObjSystemFolderGUI\deleteHeaderTitlesObject(), ilObjBadgeAdministrationGUI\deleteImageTemplates(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), ilObjBadgeAdministrationGUI\deleteObjectBadges(), ilObjMediaObjectGUI\deleteSrtFilesObject(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjContentObjectGUI\deleteTooltips(), ilObjMediaCastGUI\determinePlaytimeObject(), ilObjContentObjectGUI\editGlossaries(), ilObjWikiGUI\editImportantPagesObject(), ilObjContentObjectGUI\editMenuProperties(), ilObjMediaCastGUI\editOrderObject(), ilObjBlogAdministrationGUI\editSettings(), ilObjSkillManagementGUI\editSettings(), ilObjSkillTreeGUI\editSkills(), ilObjSkillManagementGUI\editSkillTemplates(), ilObjSkillTreeGUI\editSkillTemplates(), ilObjForumGUI\eventsFormBuilder(), ilObjTestGUI\executeCommand(), ilContainerGUI\forwardToPageObject(), ilObjPortfolioAdministrationGUI\getAdminTabs(), ilObjLearningHistorySettingsGUI\getAdminTabs(), ilObjCommentsSettingsGUI\getAdminTabs(), ilObjNotesSettingsGUI\getAdminTabs(), ilObjPersonalWorkspaceSettingsGUI\getAdminTabs(), ilObjSkillManagementGUI\getAdminTabs(), ilObjSkillTreeGUI\getAdminTabs(), ilObjWikiGUI\getAssignmentButtons(), ilObjMediaCastGUI\getCastItemValues(), ilObjMediaCastSettingsGUI\getForm(), ilObjSystemCheckGUI\getLang(), ilObjContentObjectGUI\getLayoutOption(), ilObjExternalToolsSettingsGUI\getMapsForm(), ilObjContentObjectGUI\getMultiLangHeader(), ilObjContentObjectGUI\getPublicAccessColValue(), ilObjQuestionPoolGUI\getQueryParamInt(), ilObjTestGUI\getQuestionpoolCreationForm(), ilObjSystemFolderGUI\getServerStatusInfo(), ilObjExerciseGUI\getService(), ilObjNewsSettingsGUI\getSettingsForm(), ilObjLearningResourcesSettingsGUI\getSettingsForm(), ilObjPersonalWorkspaceSettingsGUI\getSettingsForm(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), ilObjStyleSheetGUI\getStyleExampleHTML(), ilObjRootFolderGUI\getTabs(), ilObjSurveyAdministrationGUI\getTabs(), ilObjCategoryGUI\getTabs(), ilObjFolderGUI\getTabs(), ilObjFileBasedLMGUI\getTabs(), ilObjWikiGUI\getTabs(), ilObjStyleSheetGUI\getTabs(), ilObjAssessmentFolderGUI\getTabs(), ilObjSAHSLearningModuleGUI\getTemplate(), ilObjDashboardSettingsGUI\getViewSettingsForm(), ilObjFolderGUI\importFileObject(), ilObjWikiGUI\infoScreen(), ilObjMediaCastGUI\initAddCastItemForm(), ilObjPortfolioAdministrationGUI\initAuthorshipForm(), ilObjStyleSheetGUI\initColorForm(), ilObjSystemFolderGUI\initContactInformationForm(), ilObjFolderGUI\initEditForm(), initEditForm(), ilContainerGUI\initEditForm(), ilObjPrivacySecurityGUI\initErrorMessages(), ilObjTaggingSettingsGUI\initForbiddenTagsForm(), ilObjLearningHistorySettingsGUI\initForm(), ilObjDashboardSettingsGUI\initForm(), ilObjCommentsSettingsGUI\initForm(), ilObjNotesSettingsGUI\initForm(), ilObjMediaObjectGUI\initForm(), ilObjUserGUI\initForm(), ilObjExerciseAdministrationGUI\initFormSettings(), ilObjBlogAdministrationGUI\initFormSettings(), ilObjPortfolioAdministrationGUI\initFormSettings(), ilObjTaggingSettingsGUI\initFormSettings(), ilObjAwarenessAdministrationGUI\initFormSettings(), ilObjBookingPoolGUI\initHeaderAction(), ilObjBadgeAdministrationGUI\initImageTemplateForm(), ilObjSystemFolderGUI\initJavaServerForm(), ilObjMediaObjectsSettingsGUI\initMediaObjectsSettingsForm(), ilObjStyleSheetGUI\initMediaQueryForm(), ilObjContentObjectGUI\initMenuEntryForm(), ilObjContentObjectGUI\initMenuForm(), ilObjUserFolderGUI\initNewAccountMailForm(), ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjStyleSheetGUI\initPropertiesForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjSystemFolderGUI\initServerInfoForm(), ilObjContentObjectGUI\initSetPageLayoutForm(), ilObjSurveyAdministrationGUI\initSettingsForm(), ilObjFileAccessSettingsGUI\initSettingsForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjMediaCastGUI\initSettingsForm(), ilObjStyleSheetGUI\initTemplateForm(), ilObjStyleSheetGUI\initTemplateGenerationForm(), ilObjWikiGUI\initTemplateSelectionForm(), ilObjSkillTreeGUI\initTreeForm(), ilObjSAHSLearningModuleGUI\initUploadForm(), ilObjUserFolderGUI\initUserImportForm(), ilObjContentObjectGUI\insertChapter(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjMediaCastGUI\listItemsObject(), ilObjBadgeAdministrationGUI\listObjectBadgeUsers(), ilObjTestGUI\movePageFormObject(), ilObjUserFolderGUI\newAccountMailObject(), ilObjContentObjectGUI\pages(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), ilObjWikiGUI\performSearchObject(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjContentObjectGUI\properties(), ilObjWikiGUI\removeImportantPagesObject(), ilObjContentObjectGUI\removeLMGlossary(), ilContainerGUI\renderObject(), ilObjWikiGUI\renderSideBlock(), ilObjContentObjectGUI\resetNumberOfTries(), ilObjSkillTreeGUI\save(), ilObjAccessibilitySettingsGUI\saveAccessibilitySettings(), ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillTreeGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), ilObjSkillTreeGUI\saveAllTitles(), ilObjPortfolioAdministrationGUI\saveAuthorship(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjStyleSheetGUI\saveColorObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjContentObjectGUI\saveExportIds(), ilObjTaggingSettingsGUI\saveForbiddenTags(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjWikiGUI\saveGradingObject(), ilObjSystemFolderGUI\saveHeaderTitlesObject(), ilObjContentObjectGUI\saveHelpMapping(), ilObjBadgeAdministrationGUI\saveImageTemplate(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjRepositorySettingsGUI\saveModules(), ilObjUserFolderGUI\saveNewAccountMailObject(), ilObjWikiGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), ilObjWikiGUI\saveOrderingAndIndentObject(), ilObjMediaCastGUI\saveOrderObject(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjContentObjectGUI\savePageLayout(), ilObjContentObjectGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjMediaObjectsSettingsGUI\saveSettings(), ilObjLearningHistorySettingsGUI\saveSettings(), ilObjNotesSettingsGUI\saveSettings(), ilObjCommentsSettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjContentObjectGUI\saveTooltips(), ilObjDashboardSettingsGUI\saveViewSettings(), ilObjContentObjectGUI\selectLMGlossary(), ilObjWikiGUI\setAsStartPageObject(), ilObjContentObjectGUI\setContentSubTabs(), ilObjCourseGUI\setContentSubTabs(), ilContainerGUI\setPageEditorTabs(), ilObjContentObjectGUI\setPageLayout(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjContentObjectGUI\setQuestionsSubTabs(), ilObjDashboardSettingsGUI\setSettingsSubTabs(), ilObjWikiGUI\setSettingsSubTabs(), ilObjSAHSLearningModuleGUI\setSettingsSubTabs(), ilObjFolderGUI\setSubTabs(), ilObjSCORMLearningModuleGUI\setSubTabs(), ilObjMediaCastGUI\setTabs(), ilObjUserFolderGUI\settingsObject(), ilObjRootFolderGUI\setTitleAndDescription(), ilObjContentObjectGUI\showActions(), ilContainerGUI\showAdministrationPanel(), ilObjMediaObjectGUI\showAllUsagesObject(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjContentObjectGUI\showExportIDsOverview(), ilContainerGUI\showLinkListObject(), ilObjFileAccessSettingsGUI\showPreviewRenderers(), ilObjWikiGUI\showTemplateSelectionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjSkillManagementGUI\showTree(), ilObjSkillTreeGUI\showTree(), ilObjTaggingSettingsGUI\showUsers(), ilObjStyleSheetGUI\templateGenerationObject(), ilObjBadgeAdministrationGUI\toggleObjectBadges(), ilObjContentObjectGUI\unlockQuestion(), ilObjStyleSheetGUI\updateColorObject(), ilObjBadgeAdministrationGUI\updateImageTemplate(), ilObjStyleSheetGUI\updateObject(), ilObjStyleSheetGUI\updateTemplateObject(), ilObjMediaObjectGUI\uploadMultipleSubtitleFileFormObject(), ilObjMediaObjectGUI\uploadSubtitleFileObject(), and ilObjWikiGUI\viewPageObject().

◆ $locator

◆ $maxcount

int ilObjectGUI::$maxcount
protected

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

◆ $notes_service

ILIAS Notes Service ilObjectGUI::$notes_service
protected

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

◆ $obj_definition

ilObjectDefinition ilObjectGUI::$obj_definition
protected

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

◆ $obj_id

◆ $object

ilObject ilObjectGUI::$object = null
protected

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

Referenced by ilObjAccessibilitySettingsGUI\__construct(), ilObjLearningModuleGUI\__construct(), ilObjExerciseGUI\__construct(), ilObjMediaPoolGUI\__construct(), ilObjCmiXapiGUI\_goto(), ilObjBookingPoolGUI\addExternalEditFormCustom(), ilObjExerciseGUI\addLocatorItems(), ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjLearningSequenceGUI\createMailSignature(), ilObject2GUI\deleteConfirmedObjects(), ilObjPortfolioBaseGUI\deletePortfolioPages(), ilContainerGUI\downloadObject(), ilObjEmployeeTalkGUI\executeCommand(), ilObjStyleSheetGUI\executeCommand(), ilObjGlossaryGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjSurveyQuestionPoolGUI\exportObject(), ilObjBlogGUI\exportWithComments(), ilObjTermsOfServiceGUI\getAdminTabs(), ilObjAssessmentFolderGUI\getAssessmentFolder(), ilObjForumGUI\getForumObjects(), getObject(), ilObjForumGUI\getSafePostCommands(), ilObjExerciseGUI\getService(), ilObjTermsOfServiceGUI\getType(), ilObjUserGUI\handleIgnoredRequiredFields(), ilContainerGUI\linkObject(), ilObjExerciseGUI\listAssignmentsObject(), ilObjUserGUI\loadUserDefinedDataFromForm(), ilObjUserGUI\loadValuesFromForm(), ilObjSessionGUI\membersObject(), ilObjCourseGUI\renderObject(), ilObjForumGUI\renderPostContent(), ilObjMediaObjectGUI\returnToContextObject(), ilObjWikiGUI\setAsStartPageObject(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjContentPageGUI\setTabs(), ilObjMediaObjectGUI\showAllUsagesObject(), ilObjExerciseGUI\startAssignmentObject(), ilObjTestGUI\uploadTst(), and ilObjPortfolioBaseGUI\view().

◆ $object_service

◆ $omit_locator

bool ilObjectGUI::$omit_locator = false
protected

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

◆ $post_wrapper

ArrayBasedRequestWrapper ilObjectGUI::$post_wrapper
protected

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

◆ $prepare_output

◆ $rbac_admin

ilRbacAdmin ilObjectGUI::$rbac_admin
protected

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

◆ $rbac_review

ilRbacReview ilObjectGUI::$rbac_review
protected

◆ $rbac_system

◆ $ref_id

int ilObjectGUI::$ref_id
protected

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

Referenced by ilObjLearningModuleGUI\__construct(), ilObjRoleTemplateGUI\__construct(), ilObjUserGUI\__construct(), ilObjStyleSheetGUI\__construct(), ilObjStudyProgrammeGUI\__construct(), ilObjForumGUI\__construct(), __construct(), ilObjChatroomAdminGUI\_goto(), ilObjChatroomGUI\_goto(), ilObjStudyProgrammeAdminGUI\_goto(), ilObjItemGroupGUI\_goto(), ilObjectPluginGUI\_goto(), ilObjPollGUI\_goto(), ilObjSurveyGUI\_goto(), ilObjWikiGUI\_goto(), ilObjMediaPoolGUI\_goto(), ilObjForumGUI\_goto(), ilObjRoleTemplateGUI\addAdminLocatorItems(), ilObjIndividualAssessmentGUI\addToNavigationHistory(), ilObjStudyProgrammeGUI\addToNavigationHistory(), ilObjLearningSequenceGUI\checkLPAccess(), ilObject2GUI\checkPermission(), ilObjWikiGUI\checkPermissionBool(), ilContainerGUI\clipboardObject(), ilContainerGUI\cloneAllObject(), ilObjForumGUI\confirmDeleteThreadDraftsObject(), ilObjLTIConsumerGUI\contentSelectionRequest(), ilObjLTIConsumerGUI\contentSelectionResponse(), ilContainerGUI\copyObject(), ilObjPortfolioTemplateGUI\createFromTemplate(), ilObjTestGUI\createQuestionPoolAndCopyObject(), ilContainerGUI\cutObject(), ilObjForumGUI\deleteSelectedDraft(), ilObjTypeDefinitionGUI\displayList(), ilObjForumGUI\doHistoryCheck(), ilObjTypeDefinitionGUI\editObject(), ilObjQuestionPoolGUI\editQuestionForTestObject(), ilRemoteObjectBaseGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilContainerGUI\getAsynchItemListObject(), ilObjForumGUI\getContent(), ilObjQuestionPoolGUI\getQueryParamInt(), getRefId(), ilObjForumGUI\getSafePostCommands(), ilObjItemGroupGUI\gotoParent(), ilRemoteObjectBaseGUI\infoScreen(), initHeaderAction(), ilObjForumGUI\initHeaderAction(), ilObjForumGUI\isUserAllowedToDeactivateNotification(), ilContainerGUI\linkObject(), ilObjAssessmentFolderGUI\logAdminObject(), ilContainerGUI\pasteObject(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), ilObjRoleTemplateGUI\permSaveObject(), ilObjQuestionPoolGUI\questionsObject(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\saveAsDraftObject(), ilObjTypeDefinitionGUI\saveObject(), ilObjForumGUI\savePostObject(), ilObjOrgUnitGUI\setContentSubTabs(), ilOrgUnitExtensionGUI\setLocator(), ilObject2GUI\setLocator(), ilContainerGUI\showAdministrationPanel(), showPossibleSubObjects(), ilCourseContentGUI\showStartObjects(), ilObjForumGUI\showUserObject(), ilObjForumGUI\updateDraftObject(), ilCourseContentGUI\updateManagedTimings(), ilCourseContentGUI\updatePersonalTimings(), and ilObjForumGUI\viewThreadObject().

◆ $refinery

Factory ilObjectGUI::$refinery
protected

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

Referenced by __construct().

◆ $request

◆ $request_wrapper

RequestWrapper ilObjectGUI::$request_wrapper
protected

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

◆ $requested_crtcb

int ilObjectGUI::$requested_crtcb = 0
protected

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

◆ $requested_crtptrefid

int ilObjectGUI::$requested_crtptrefid = 0
protected

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

Referenced by putObjectInTree().

◆ $requested_new_type

string ilObjectGUI::$requested_new_type = ""
protected

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

Referenced by createObject(), and importFileObject().

◆ $requested_ref_id

◆ $retriever

ilObjectRequestRetriever ilObjectGUI::$retriever
private

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

◆ $return_location

array ilObjectGUI::$return_location = []
protected

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

◆ $settings

ilSetting ilObjectGUI::$settings
protected

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

Referenced by ilObjAccessibilitySettingsGUI\__construct(), ilObjMediaCastGUI\__construct(), ilObjHelpSettingsGUI\activateModule(), ilContainerGUI\addHeaderRow(), ilObjPortfolioAdministrationGUI\addToExternalSettingsForm(), ilObjRepositorySettingsGUI\addToExternalSettingsForm(), ilObjStudyProgrammeGUI\afterSave(), ilObjWikiGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilObjAuthSettingsGUI\apacheAuthSettingsObject(), ilObjSystemFolderGUI\benchmarkObject(), ilObjEmployeeTalkGUI\cancelDeleteObject(), ilObjSystemFolderGUI\checkObject(), ilObjPortfolioGUI\createPortfolioFromAssignment(), ilObjPortfolioGUI\createPortfolioFromTemplateProcess(), ilObjHelpSettingsGUI\deactivateModule(), ilObjPortfolioBaseGUI\deletePortfolioPages(), ilObjAuthSettingsGUI\editScriptObject(), ilObjBlogAdministrationGUI\editSettings(), ilObjHelpSettingsGUI\editSettings(), ilObjECSSettingsGUI\executeCommand(), ilObjUserFolderGUI\generalSettingsObject(), ilContainerGUI\getContainerPageHTML(), ilObjNewsSettingsGUI\getSettingsForm(), ilObjPersonalWorkspaceSettingsGUI\getSettingsForm(), ilObjSystemFolderGUI\initContactInformationForm(), ilObjPortfolioGUI\initCreateForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), ilObjRepositorySettingsGUI\initCustomIconsForm(), ilObjBlogGUI\initEditCustomForm(), ilObjCourseGUI\initEditForm(), ilObjUserGUI\initForm(), ilObjPortfolioAdministrationGUI\initFormSettings(), ilObjSystemFolderGUI\initJavaServerForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjSystemFolderGUI\initServerInfoForm(), ilObjRepositorySettingsGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilContainerGUI\initSortingForm(), ilObjUserGUI\isSettingChangeable(), ilObjCourseGUI\prepareOutput(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjBlogGUI\renderNavigation(), ilContainerGUI\renderObject(), ilObjLearningSequenceAdminGUI\save(), ilObjContentPageAdministrationGUI\save(), ilObjSearchSettingsGUI\saveAdvancedLuceneSettingsObject(), ilObjAuthSettingsGUI\saveApacheSettingsObject(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjSystemFolderGUI\saveCheckCronObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjRepositorySettingsGUI\saveCustomIcons(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjRepositorySettingsGUI\saveModules(), ilObjRepositorySettingsGUI\saveNewItemGroupOrder(), ilObjNotificationAdminGUI\saveOSDSettings(), ilObjAdvancedEditingGUI\savePageEditorSettingsObject(), ilObjSCORM2004LearningModuleGUI\saveProperties(), ilObjContentObjectGUI\saveProperties(), ilObjPortfolioAdministrationGUI\saveSettings(), ilObjTaggingSettingsGUI\saveSettings(), ilObjPersonalWorkspaceSettingsGUI\saveSettings(), ilObjNewsSettingsGUI\saveSettings(), ilObjRepositorySettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilContainerGUI\saveSortingSettings(), ilObjHelpSettingsGUI\setMode(), ilObjContentObjectGUI\setSubTabs(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjNotificationAdminGUI\showOSDSettings(), ilObjCourseGUI\updateObject(), ilObjEmployeeTalkGUI\validateCustom(), and ilObjPortfolioBaseGUI\view().

◆ $sub_objects

string ilObjectGUI::$sub_objects = ""
protected

◆ $tabs_gui

◆ $target_frame

array ilObjectGUI::$target_frame = []
protected

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

Referenced by ilObject2GUI\getTargetFrame().

◆ $tmp_import_dir

string ilObjectGUI::$tmp_import_dir
protected

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

◆ $toolbar

ilToolbarGUI ilObjectGUI::$toolbar
protected

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

Referenced by ilObjExerciseGUI\addLocatorItems(), ilObjContentObjectGUI\addMenuEntry(), ilObjCmiXapiAdministrationGUI\buildLrsTypesToolbarGUI(), ilContainerGUI\clipboardObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), ilObjMediaCastGUI\editCastItemObject(), ilObjContentObjectGUI\editGlossaries(), ilObjWikiGUI\editImportantPagesObject(), ilObjContentObjectGUI\editMenuEntry(), ilObjContentObjectGUI\editMenuProperties(), ilObjContentObjectGUI\editPublicSection(), ilObjSurveyQuestionPoolGUI\exportObject(), ilObjUserFolderGUI\exportObject(), ilObjTestGUI\infoScreen(), ilObjBadgeAdministrationGUI\listImageTemplates(), ilObjMediaCastGUI\listItemsObject(), ilObjRepositorySettingsGUI\listNewItemGroups(), ilObjCategoryGUI\listUsersObject(), ilObjContentObjectGUI\pages(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilContainerGUI\renderObject(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjSystemFolderGUI\setServerInfoSubTabs(), ilContainerGUI\showAdministrationPanel(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjFileBasedLMGUI\showInfoScreen(), ilObjCmiXapiAdministrationGUI\showLrsTypesListCmd(), ilObjContentObjectGUI\showMaintenance(), ilContainerGUI\showPasswordInstructionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjTaggingSettingsGUI\showUsers(), ilObjMediaObjectGUI\uploadMultipleSubtitleFileFormObject(), and ilObjForumGUI\viewThreadObject().

◆ $tpl

ilGlobalTemplateInterface ilObjectGUI::$tpl
protected

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

Referenced by ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObjMediaCastGUI\addCastItemObject(), ilObjStyleSheetGUI\addColorObject(), ilObjBadgeAdministrationGUI\addImageTemplate(), ilObjExerciseGUI\addLocatorItems(), ilObjStyleSheetGUI\addMediaQueryObject(), ilObjIndividualAssessmentGUI\addMemberDataToInfo(), ilObjLanguageExtGUI\addNewEntryObject(), ilObjTestGUI\addQuestionObject(), ilObjStyleSheetGUI\addTemplateObject(), ilObjWikiGUI\allPagesObject(), ilObjSystemFolderGUI\benchmarkObject(), ilContainerGUI\clipboardObject(), ilObjBadgeAdministrationGUI\confirmDeleteImageTemplates(), ilObjBadgeAdministrationGUI\confirmDeleteObjectBadges(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilObjContentObjectGUI\confirmGlossarySelection(), ilObjWikiGUI\confirmRemoveImportantPagesObject(), ilObjMediaObjectGUI\confirmSrtDeletionObject(), ilObjStyleSheetGUI\createObject(), ilObjMediaObjectGUI\createObject(), ilObjUserGUI\createObject(), ilObjWikiGUI\createPageUsingTemplateObject(), ilObjForumGUI\createThreadObject(), ilObjStyleSheetGUI\deleteColorConfirmationObject(), ilObjStyleSheetGUI\deleteMediaQueryConfirmationObject(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), ilObjStyleSheetGUI\deleteObject(), ilObjStyleSheetGUI\deleteTemplateConfirmationObject(), ilObjStyleSheetGUI\displayTemplateEditForm(), ilObjForumGUI\doHistoryCheck(), ilObjMediaCastGUI\editCastItemObject(), ilObjStyleSheetGUI\editColorObject(), ilObjPortfolioAdministrationGUI\editDeclarationOfAuthorship(), ilObjTaggingSettingsGUI\editForbiddenTags(), ilObjContentObjectGUI\editGlossaries(), ilObjBadgeAdministrationGUI\editImageTemplate(), ilObjWikiGUI\editImportantPagesObject(), ilObjExternalToolsSettingsGUI\editMapsObject(), ilObjStyleSheetGUI\editMediaQueryObject(), ilObjContentObjectGUI\editMenuProperties(), ilObjMediaObjectGUI\editObject(), ilObjMediaCastGUI\editOrderObject(), ilObjMediaObjectsSettingsGUI\editSettings(), ilObjWikiGUI\editSettingsObject(), ilObjMediaCastGUI\editSettingsObject(), ilObjSkillTreeGUI\editSkills(), ilObjSkillManagementGUI\editSkillTemplates(), ilObjSkillTreeGUI\editSkillTemplates(), ilObjWikiGUI\executeCommand(), ilContainerGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjLearningSequenceGUI\executeCommand(), ilObjStyleSheetGUI\generateTemplateObject(), ilObjQuestionPoolGUI\getQueryParamInt(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjContentObjectGUI\importFileObject(), ilObjSurveyQuestionPoolGUI\importQuestionsObject(), ilObjSurveyGUI\importSurveyObject(), ilObjUserFolderGUI\importUserFormObject(), ilObjUserFolderGUI\importUserRoleAssignmentObject(), ilObjStyleSheetGUI\includeCSS(), ilObjMediaObjectGUI\includePresentationJS(), ilObjCourseGUI\infoScreen(), ilObjContentObjectGUI\listBlockedUsers(), ilObjStyleSheetGUI\listColorsObject(), ilObjWikiGUI\listContributorsObject(), ilObjMediaCastGUI\listItemsObject(), ilObjContentObjectGUI\listLinks(), ilObjStyleSheetGUI\listMediaQueriesObject(), ilObjBadgeAdministrationGUI\listObjectBadges(), ilObjBadgeAdministrationGUI\listObjectBadgeUsers(), ilObjContentObjectGUI\listQuestions(), ilObjStyleSheetGUI\listTemplatesObject(), ilObjTestGUI\movePageFormObject(), ilObjWikiGUI\newPagesObject(), ilObjWikiGUI\orphanedPagesObject(), ilObjContentObjectGUI\pages(), ilObjWikiGUI\performSearchObject(), ilObjWikiGUI\popularPagesObject(), ilObjMediaCastGUI\populateFormFromPost(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjFileBasedLMGUI\properties(), ilObjStyleSheetGUI\propertiesObject(), ilObjWikiGUI\recentChangesObject(), ilContainerGUI\redrawListItemObject(), ilObjWikiGUI\renderSideBlock(), ilObjMediaObjectGUI\returnToContextObject(), ilObjTestGUI\reviewobject(), ilObjSkillTreeGUI\save(), ilObjAccessibilitySettingsGUI\saveAccessibilitySettings(), ilObjSystemFolderGUI\saveBasicSettingsObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjStyleSheetGUI\saveColorObject(), ilObjSystemFolderGUI\saveContactInformationObject(), ilObjSystemFolderGUI\saveJavaServerObject(), ilObjStyleSheetGUI\saveMediaQueryObject(), ilObjWikiGUI\saveObject(), ilObjUserGUI\saveObject(), ilObjMediaObjectGUI\saveObject(), ilObjFileBasedLMGUI\saveProperties(), ilObjMediaObjectGUI\savePropertiesObject(), ilObjStyleSheetGUI\saveTemplateObject(), ilObjGlossaryGUI\setContentStyleSheet(), ilObjWikiGUI\setContentStyleSheet(), setLocator(), ilObjContentObjectGUI\setPageLayout(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjSystemFolderGUI\setServerInfoSubTabs(), ilObjSurveyAdministrationGUI\settingsObject(), ilObjAdvancedEditingGUI\settingsObject(), ilObjUserFolderGUI\settingsObject(), ilObjMediaObjectGUI\showAllUsagesObject(), ilObjSystemFolderGUI\showBasicSettingsObject(), ilObjSystemFolderGUI\showContactInformationObject(), ilContainerGUI\showContainerFilter(), ilObjMediaCastGUI\showContentObject(), ilObjSystemFolderGUI\showDbBenchResults(), ilObjContentObjectGUI\showExportIDsOverview(), ilObjUserFolderGUI\showFieldChangeComponentsListeningConfirmDialog(), ilObjMediaCastGUI\showGallery(), ilObjSystemFolderGUI\showHeaderTitleObject(), ilObjSystemFolderGUI\showJavaServerObject(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjMediaObjectGUI\showMultiSubtitleConfirmationTableObject(), ilContainerGUI\showPasswordInstructionObject(), ilContainerGUI\showPermanentLink(), ilObjFileAccessSettingsGUI\showPreviewRenderers(), ilObjBookingPoolGUI\showProfileObject(), ilObjWikiGUI\showTemplateSelectionObject(), ilObjContentObjectGUI\showTooltipList(), ilObjSkillManagementGUI\showTree(), ilObjSkillTreeGUI\showTree(), ilObjTaggingSettingsGUI\showUsers(), ilObjStyleSheetGUI\templateGenerationObject(), ilContainerGUI\trashObject(), ilObjStyleSheetGUI\updateColorObject(), ilObjStyleSheetGUI\updateMediaQueryObject(), ilObjStyleSheetGUI\updateObject(), ilObjSurveyQuestionPoolGUI\uploadQuestionsObject(), ilObjLanguageExtGUI\viewObject(), ilObjUserFolderGUI\viewObject(), ilObjWikiGUI\viewPageObject(), and ilObjSurveyGUI\viewUserResultsObject().

◆ $tree

ilTree ilObjectGUI::$tree
protected

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

Referenced by ilObject2GUI\__construct(), ilObjTestGUI\__construct(), ilContainerGUI\_buildPath(), ilObjItemGroupGUI\_goto(), ilObjPollGUI\_goto(), ilObjMediaPoolGUI\addLocatorItems(), ilObjMediaPoolGUI\afterConstructor(), ilObjCategoryGUI\afterSave(), ilContainerGUI\cloneNodes(), ilObjContentObjectGUI\confirmedDelete(), ilObjSkillTreeGUI\confirmedDeleteTrees(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilObjTestGUI\createQuestionPool(), ilObjPortfolioBaseGUI\deletePortfolioPages(), ilObjContentObjectGUI\editPublicSection(), ilObjMediaPoolGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjFolderGUI\forwardToTimingsView(), ilObjPortfolioGUI\getCreateInfoMessage(), ilObjCategoryGUI\getTaxonomiesForRefId(), ilObjItemGroupGUI\gotoParent(), ilObjMediaPoolGUI\handleUploadResult(), ilObjPortfolioGUI\initBlogForm(), ilObjPortfolioGUI\initCreateForm(), ilObjPortfolioGUI\initCreatePortfolioFromTemplateForm(), isVisible(), ilObjItemGroupGUI\listMaterials(), ilObjTaxonomyGUI\listNodes(), ilObjFolderGUI\modifyItemGUI(), ilObjTaxonomyGUI\pasteItems(), ilContainerGUI\pasteObject(), ilObjWorkspaceFolderGUI\performPasteIntoMultipleObjects(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), ilObjSCORM2004LearningModuleGUI\properties(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjBlogGUI\renderFullScreen(), ilObjMediaPoolGUI\returnFromItem(), ilObjPortfolioGUI\saveBlog(), ilObjBlogGUI\setSettingsSubTabs(), ilObjItemGroupGUI\setTabs(), ilContainerGUI\showLinkListObject(), ilObjContentObjectGUI\showLMGlossarySelector(), ilObjWorkspaceFolderGUI\showMoveIntoObjectTree(), and ilOrgUnitExtensionGUI\showTree().

◆ $type

◆ $user

ilObjUser ilObjectGUI::$user
protected

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

Referenced by ilObjBookingPoolGUI\addExternalEditFormCustom(), ilObjExerciseGUI\addLocatorItems(), ilObjMediaCastGUI\addMobsToCast(), ilContainerGUI\addStandardContainerSubTabs(), ilObjCategoryGUI\checkGlobalRoles(), ilObjSystemFolderGUI\checkObject(), ilObjSurveyQuestionPoolGUI\createQuestionObject(), ilObjRoleGUI\deassignUserObject(), ilObjSCORMLearningModuleGUI\deleteTrackingForUser(), ilObjCategoryGUI\deleteUsersObject(), ilObjMediaCastGUI\downloadItemObject(), ilObjCourseReferenceGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilObjFolderGUI\executeCommand(), ilObjMediaCastGUI\executeCommand(), ilObjTestGUI\executeCommand(), ilObjCategoryGUI\getAssignableRoles(), ilContainerGUI\getContainerPageHTML(), ilObjExerciseGUI\getEditFormCustomValues(), ilObjMailGUI\getExternalSettingsForm(), ilObjContentObjectGUI\getPropertiesFormValues(), ilObjForumGUI\getSafePostCommands(), ilObjExerciseGUI\getService(), ilObjSurveyGUI\getTabs(), ilObjSurveyGUI\getUserResultsPlain(), ilObjUserGUI\handleIgnoredRequiredFields(), ilObjMediaCastGUI\handlePlayerCompletedEventObject(), ilObjMediaCastGUI\handlePlayerEventObject(), ilObjWikiGUI\infoScreen(), ilObjEmployeeTalkSeriesGUI\initCreateForm(), ilObjBookingPoolGUI\initHeaderAction(), ilObjUserTrackingGUI\initSettingsForm(), ilObjRoleFolderGUI\initSettingsForm(), ilObjContentObjectGUI\insertChapterClip(), ilObjCategoryGUI\listUsersObject(), ilObjUserGUI\loadUserDefinedDataFromForm(), ilObjUserGUI\loadValuesFromForm(), ilObjSurveyGUI\mailUserResultsObject(), ilObjExerciseGUI\outCertificateObject(), ilContainerGUI\pasteObject(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), ilObjSurveyQuestionPoolGUI\questionsObject(), ilContainerGUI\renderObject(), ilObjMediaCastGUI\saveCastItemObject(), ilObjBookingPoolGUI\saveNotificationObject(), ilContainerGUI\savePasswordObject(), ilObjContentObjectGUI\saveProperties(), ilObjRoleFolderGUI\saveSettingsObject(), ilObjMediaObjectGUI\setPropertiesSubTabs(), ilObjUserFolderGUI\showActionConfirmation(), ilObjMediaCastGUI\showContentObject(), ilObjFileBasedLMGUI\showLearningModule(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSCORMLearningModuleGUI\showTrackingItems(), ilObjSkillManagementGUI\showTree(), ilObjSkillTreeGUI\showTree(), ilObjExerciseGUI\startAssignmentObject(), ilObjMediaCastGUI\updateCastItemObject(), ilObjExerciseGUI\updateCustom(), ilObjCategoryGUI\updateObject(), ilObjSurveyGUI\viewUserResultsObject(), and ilObjSystemFolderGUI\writeCheckParams().

◆ ADMIN_MODE_NONE

const ilObjectGUI::ADMIN_MODE_NONE = ""

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

◆ ADMIN_MODE_REPOSITORY

const ilObjectGUI::ADMIN_MODE_REPOSITORY = "repository"

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

◆ ADMIN_MODE_SETTINGS

const ilObjectGUI::ADMIN_MODE_SETTINGS = "settings"

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

◆ ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION

const ilObjectGUI::ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION

◆ CFORM_CLONE

const ilObjectGUI::CFORM_CLONE = 3

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

◆ CFORM_IMPORT

const ilObjectGUI::CFORM_IMPORT = 2

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

◆ CFORM_NEW

const ilObjectGUI::CFORM_NEW = 1

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

◆ UPLOAD_TYPE_LOCAL

const ilObjectGUI::UPLOAD_TYPE_LOCAL = 1

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

◆ UPLOAD_TYPE_UPLOAD_DIRECTORY

const ilObjectGUI::UPLOAD_TYPE_UPLOAD_DIRECTORY = 2

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


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