ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilContainerReferenceGUI Class Reference
+ Inheritance diagram for ilContainerReferenceGUI:
+ Collaboration diagram for ilContainerReferenceGUI:

Public Member Functions

 __construct ($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
 Constructor. More...
 
 executeCommand ()
 Execute command. More...
 
 redirectObject ()
 redirect to target More...
 
 createObject ()
 Create object. More...
 
 saveObject ()
 save object More...
 
 editReferenceObject ()
 
 editObject (ilPropertyFormGUI $form=null)
 edit title More...
 
 updateObject ()
 update title More...
 
 getTargetType ()
 get target type More...
 
 getReferenceType ()
 get reference type More...
 
 getId ()
 
- Public Member Functions inherited from ilObjectGUI
 executeCommand ()
 execute command More...
 
 withReferences ()
 determines wether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode ($a_mode=true)
 if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More...
 
 getCreationMode ()
 get creation mode More...
 
 prepareOutput ($a_show_subobjects=true)
 prepare output More...
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page @access public More...
 
 createObject ()
 create new object form More...
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 save object More...
 
 getDidacticTemplateVar ($a_type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $a_obj, $a_parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 edit object More...
 
 addExternalEditFormCustom (ilPropertyFormGUI $a_form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction ($a_cmd, $a_formaction="")
 get form action for command (command is method name without "Object", e.g. More...
 
 isVisible ($a_ref_id, $a_type)
 
 viewObject ()
 list childs of current object More...
 
 deleteObject ($a_error=false)
 Display deletion confirmation screen. More...
 
 cloneAllObject ()
 Clone single (not container object) Method is overwritten in ilContainerGUI. More...
 

Data Fields

const MAX_SELECTION_ENTRIES = 50
 
const MODE_CREATE = 1
 
const MODE_EDIT = 2
 
- Data Fields inherited from ilObjectGUI
const COPY_WIZARD_NEEDS_PAGE = 1
 
 $objDefinition
 
 $tpl
 
 $tree
 
 $lng
 
 $data
 
 $object
 
 $ref_id
 
 $obj_id
 
 $maxcount
 
 $formaction
 
 $return_location
 
 $target_frame
 
 $tab_target_script
 
 $actions
 
 $sub_objects
 
 $omit_locator = false
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 

Protected Member Functions

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

Protected Attributes

 $tabs
 
 $locator
 
 $user
 
 $access
 
 $error
 
 $settings
 
 $existing_objects = array()
 
 $target_type
 
 $reference_type
 
 $form
 
- Protected Attributes inherited from ilObjectGUI
 $ilErr
 
 $locator
 
 $user
 
 $access
 
 $settings
 
 $rbacreview
 
 $toolbar
 
 $rbacsystem
 
 $tmp_import_dir
 
 $tabs_gui = null
 
 $ctrl
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot ($a_raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset")
 Goto repository root. More...
 

Detailed Description

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

Definition at line 35 of file class.ilContainerReferenceGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilContainerReferenceGUI::__construct (   $a_data,
  $a_id,
  $a_call_by_reference = true,
  $a_prepare_output = true 
)

Constructor.

Parameters

Reimplemented in ilObjGroupReferenceGUI, ilObjCategoryReferenceGUI, and ilObjCourseReferenceGUI.

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

86 {
87 global $DIC;
88
89 $this->lng = $DIC->language();
90 $this->ctrl = $DIC->ctrl();
91 $this->tabs = $DIC->tabs();
92 $this->locator = $DIC["ilLocator"];
93 $this->user = $DIC->user();
94 $this->access = $DIC->access();
95 $this->error = $DIC["ilErr"];
96 $this->settings = $DIC->settings();
97 $lng = $DIC->language();
98 parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
99
100 $lng->loadLanguageModule('objref');
101 }
user()
Definition: user.php:4
error($a_errmsg)
set error message @access public
global $DIC
Definition: saml.php:7
settings()
Definition: settings.php:2

References $DIC, ilObjectGUI\$lng, error(), settings(), and user().

+ Here is the call graph for this function:

Member Function Documentation

◆ addLocatorItems()

ilContainerReferenceGUI::addLocatorItems ( )
protected

Add locator item @global ilLocatorGUI $ilLocator.

Reimplemented from ilObjectGUI.

Definition at line 153 of file class.ilContainerReferenceGUI.php.

154 {
155 $ilLocator = $this->locator;
156
157 if ($this->object instanceof ilObject) {
158 $ilLocator->addItem($this->object->getPresentationTitle(), $this->ctrl->getLinkTarget($this));
159 }
160 }
Class ilObject Basic functions for all objects.

References $locator.

◆ afterSave()

ilContainerReferenceGUI::afterSave ( ilObject  $a_new_object)
protected
Parameters
ilObject$a_new_object

Reimplemented from ilObjectGUI.

Definition at line 228 of file class.ilContainerReferenceGUI.php.

229 {
230 $target_obj_id = ilObject::_lookupObjId((int) $this->form->getInput('target_id'));
231 $a_new_object->setTargetId($target_obj_id);
232
233 $a_new_object->setTitleType($this->form->getInput('title_type'));
234 if ($this->form->getInput('title_type') == ilContainerReference::TITLE_TYPE_CUSTOM) {
235 $a_new_object->setTitle($this->form->getInput('title'));
236 }
237
238 $a_new_object->update();
239
240 ilUtil::sendSuccess($this->lng->txt("object_added"), true);
241 $this->ctrl->setParameter($this, 'ref_id', $a_new_object->getRefId());
242 $this->ctrl->setParameter($this, 'creation_mode', 0);
243 $this->ctrl->redirect($this, 'firstEdit');
244 }
static _lookupObjId($a_id)
update()
update object in db
setTitle($a_title)
set object title
getRefId()
get reference id @access public
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.

References ilObject\_lookupObjId(), ilObject\getRefId(), ilUtil\sendSuccess(), ilObject\setTitle(), ilContainerReference\TITLE_TYPE_CUSTOM, and ilObject\update().

+ Here is the call graph for this function:

◆ createObject()

ilContainerReferenceGUI::createObject ( )

Create object.

Returns
void

Reimplemented from ilObjectGUI.

Definition at line 179 of file class.ilContainerReferenceGUI.php.

180 {
182 $ilAccess = $this->access;
185
186 $new_type = $_REQUEST["new_type"];
187 if (!$ilAccess->checkAccess("create_" . $this->getReferenceType(), '', $_GET["ref_id"], $new_type)) {
188 $ilErr->raiseError($this->lng->txt("permission_denied"), $ilErr->MESSAGE);
189 }
190 $form = $this->initForm(self::MODE_CREATE);
191 $this->tpl->setContent($form->getHTML());
192 }
$_GET["client_id"]
initForm($a_mode=self::MODE_EDIT)
Init title form.
global $ilSetting
Definition: privfeed.php:17
$ilUser
Definition: imgupload.php:18

References $_GET, $access, $error, $form, ilObjectGUI\$ilErr, $ilSetting, $ilUser, $settings, $user, and initForm().

Referenced by saveObject().

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

◆ editObject()

ilContainerReferenceGUI::editObject ( ilPropertyFormGUI  $form = null)

edit title

Parameters
ilPropertyFormGUI$form

Definition at line 264 of file class.ilContainerReferenceGUI.php.

265 {
266 $ilTabs = $this->tabs;
267
268 $ilTabs->setTabActive('settings');
269
270 if (!$form instanceof ilPropertyFormGUI) {
271 $form = $this->initForm();
272 }
273 $GLOBALS['tpl']->setContent($form->getHTML());
274 }
This class represents a property form user interface.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.

References $form, $GLOBALS, $tabs, and initForm().

+ Here is the call graph for this function:

◆ editReferenceObject()

ilContainerReferenceGUI::editReferenceObject ( )

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

255 {
256 $this->editObject();
257 }
editObject()
edit object

References ilObjectGUI\editObject().

+ Here is the call graph for this function:

◆ executeCommand()

ilContainerReferenceGUI::executeCommand ( )

Execute command.

@access public

Returns
bool|mixed
Exceptions
ilCtrlException

Reimplemented from ilObjectGUI.

Reimplemented in ilObjCategoryReferenceGUI, ilObjCourseReferenceGUI, and ilObjGroupReferenceGUI.

Definition at line 111 of file class.ilContainerReferenceGUI.php.

112 {
114 $ilTabs = $this->tabs;
115
116
117 if (isset($_GET['creation_mode']) && $_GET['creation_mode'] == self::MODE_CREATE) {
118 $this->setCreationMode(true);
119 }
120
121 $next_class = $ilCtrl->getNextClass($this);
122 $cmd = $ilCtrl->getCmd();
123
124 $this->prepareOutput();
125
126 switch ($next_class) {
127 case "ilpropertyformgui":
128 $form = $this->initForm($this->creation_mode ? self::MODE_CREATE : self::MODE_EDIT);
129 $this->ctrl->forwardCommand($form);
130 break;
131
132 case 'ilpermissiongui':
133 $ilTabs->setTabActive('perm_settings');
134 include_once("Services/AccessControl/classes/class.ilPermissionGUI.php");
135 $ilCtrl->forwardCommand(new ilPermissionGUI($this));
136 break;
137
138 default:
139 if (!$cmd || $cmd == 'view') {
140 $cmd = "edit";
141 }
142 $cmd .= "Object";
143 $this->$cmd();
144 break;
145 }
146 return true;
147 }
prepareOutput($a_show_subobjects=true)
prepare output
setCreationMode($a_mode=true)
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class!...
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
global $ilCtrl
Definition: ilias.php:18

References $_GET, ilObjectGUI\$ctrl, $form, $ilCtrl, $tabs, initForm(), ilObjectGUI\prepareOutput(), and ilObjectGUI\setCreationMode().

+ Here is the call graph for this function:

◆ firstEditObject()

ilContainerReferenceGUI::firstEditObject ( )
protected

show edit screen without info message

Definition at line 249 of file class.ilContainerReferenceGUI.php.

250 {
251 $this->editObject();
252 }

References ilObjectGUI\editObject().

+ Here is the call graph for this function:

◆ getId()

ilContainerReferenceGUI::getId ( )
Returns
int

Definition at line 416 of file class.ilContainerReferenceGUI.php.

417 {
418 return $this->obj_id;
419 }

References ilObjectGUI\$obj_id.

◆ getReferenceType()

ilContainerReferenceGUI::getReferenceType ( )

get reference type

@access public

Returns
string

Definition at line 408 of file class.ilContainerReferenceGUI.php.

References $reference_type.

◆ getTargetType()

ilContainerReferenceGUI::getTargetType ( )

get target type

@access public

Returns
string

Definition at line 397 of file class.ilContainerReferenceGUI.php.

References $target_type.

Referenced by initForm().

+ Here is the caller graph for this function:

◆ initCreateForm()

ilContainerReferenceGUI::initCreateForm (   $a_new_type)
protected

Init object creation form.

Parameters
string$a_new_type
Returns
ilPropertyFormGUI

Reimplemented from ilObjectGUI.

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

221 {
222 return $this->initForm(self::MODE_CREATE);
223 }

References initForm().

+ Here is the call graph for this function:

◆ initForm()

ilContainerReferenceGUI::initForm (   $a_mode = self::MODE_EDIT)
protected

Init title form.

Parameters
int$a_mode
Returns
ilPropertyFormGUI

Definition at line 281 of file class.ilContainerReferenceGUI.php.

282 {
283 include_once './Services/Form/classes/class.ilPropertyFormGUI.php';
284 include_once './Services/ContainerReference/classes/class.ilContainerReference.php';
285 $form = new ilPropertyFormGUI();
286
287 if ($a_mode == self::MODE_CREATE) {
288 $form->setTitle($this->lng->txt($this->getReferenceType() . '_new'));
289
290 $this->ctrl->setParameter($this, 'creation_mode', $a_mode);
291 $this->ctrl->setParameter($this, 'new_type', $_REQUEST['new_type']);
292 } else {
293 $form->setTitle($this->lng->txt('edit'));
294 }
295
296 $form->setFormAction($this->ctrl->getFormAction($this));
297 if ($a_mode == self::MODE_CREATE) {
298 $form->addCommandButton('save', $this->lng->txt('create'));
299 $form->addCommandButton('cancel', $this->lng->txt('cancel'));
300 } else {
301 $form->addCommandButton('update', $this->lng->txt('save'));
302 }
303
304 // title type
305 $ttype = new ilRadioGroupInputGUI($this->lng->txt('title'), 'title_type');
306 if ($a_mode == self::MODE_EDIT) {
307 $ttype->setValue($this->object->getTitleType());
308 } else {
310 }
311
312 $reuse = new ilRadioOption($this->lng->txt('objref_reuse_title'));
314 $ttype->addOption($reuse);
315
316 $custom = new ilRadioOption($this->lng->txt('objref_custom_title'));
318
319 // title
320 $title = new ilTextInputGUI($this->lng->txt('title'), 'title');
321 $title->setSize(min(40, ilObject::TITLE_LENGTH));
322 $title->setMaxLength(ilObject::TITLE_LENGTH);
323 $title->setRequired(true);
324
325 if ($a_mode == self::MODE_EDIT) {
326 $title->setValue($this->object->getTitle());
327 }
328
329 $custom->addSubItem($title);
330 $ttype->addOption($custom);
331 $form->addItem($ttype);
332
333 include_once("./Services/Form/classes/class.ilRepositorySelector2InputGUI.php");
334 $repo = new ilRepositorySelector2InputGUI($this->lng->txt("objref_edit_ref"), "target_id");
335 //$repo->setParent($this);
336 $repo->setRequired(true);
337 $repo->getExplorerGUI()->setSelectableTypes(array($this->getTargetType()));
338 $repo->getExplorerGUI()->setTypeWhiteList(
339 array_merge(
340 array($this->getTargetType()),
341 array("root", "cat", "grp", "fold", "crs")
342 )
343 );
344 $repo->setInfo($this->lng->txt($this->getReferenceType() . '_edit_info'));
345
346 if ($a_mode == self::MODE_EDIT) {
347 $repo->getExplorerGUI()->setPathOpen($this->object->getTargetRefId());
348 $repo->setValue($this->object->getTargetRefId());
349 }
350
351 $form->addItem($repo);
352 $this->form = $form;
353 return $form;
354 }
const TITLE_LENGTH
max length of object title
This class represents a property in a property form.
This class represents an option in a radio group.
This class represents a text property in a property form.

References $form, $title, getTargetType(), ilObject\TITLE_LENGTH, ilContainerReference\TITLE_TYPE_CUSTOM, and ilContainerReference\TITLE_TYPE_REUSE.

Referenced by createObject(), editObject(), executeCommand(), initCreateForm(), and updateObject().

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

◆ redirectObject()

ilContainerReferenceGUI::redirectObject ( )

redirect to target

Parameters

Definition at line 166 of file class.ilContainerReferenceGUI.php.

167 {
169
170 $ilCtrl->setParameterByClass("ilrepositorygui", "ref_id", $this->object->getTargetRefId());
171 $ilCtrl->redirectByClass("ilrepositorygui", "");
172 }

References ilObjectGUI\$ctrl, and $ilCtrl.

◆ saveObject()

ilContainerReferenceGUI::saveObject ( )

save object

@access public

Parameters

return

Reimplemented from ilObjectGUI.

Definition at line 202 of file class.ilContainerReferenceGUI.php.

203 {
204 $ilAccess = $this->access;
205
206 if (!(int) $_REQUEST['target_id']) {
207 ilUtil::sendFailure($this->lng->txt('select_one'));
208 $this->createObject();
209 return false;
210 }
211 if (!$ilAccess->checkAccess('visible', '', (int) $_REQUEST['target_id'])) {
212 ilUtil::sendFailure($this->lng->txt('permission_denied'));
213 $this->createObject();
214 return false;
215 }
216
217 parent::saveObject();
218 }
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.

References $access, createObject(), and ilUtil\sendFailure().

+ Here is the call graph for this function:

◆ updateObject()

ilContainerReferenceGUI::updateObject ( )

update title

Reimplemented from ilObjectGUI.

Definition at line 359 of file class.ilContainerReferenceGUI.php.

360 {
361 $ilAccess = $this->access;
362 $form = $this->initForm();
363 if ($form->checkInput()) {
364 $this->object->setTitleType($form->getInput('title_type'));
365 if ($form->getInput('title_type') == ilContainerReference::TITLE_TYPE_CUSTOM) {
366 $this->object->setTitle($form->getInput('title'));
367 }
368
369 if (!$ilAccess->checkAccess('visible', '', (int) $form->getInput('target_id')) ||
370 ilObject::_lookupType($form->getInput('target_id'), true) != $this->target_type) {
371 ilUtil::sendFailure($this->lng->txt('permission_denied'));
372 $this->editObject();
373 return false;
374 }
375 $this->checkPermission('write');
376
377 $target_obj_id = ilObject::_lookupObjId((int) $form->getInput('target_id'));
378 $this->object->setTargetId($target_obj_id);
379
380
381 $this->object->update();
382 ilUtil::sendSuccess($this->lng->txt('settings_saved'), true);
383 $this->ctrl->redirect($this, 'edit');
384 }
385 $form->setValuesByPost();
386 ilUtil::sendFailure($this->lng->txt('err_check_input'));
387 $this->editObject($form);
388 return true;
389 }
checkPermission($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission and redirect on error.
static _lookupType($a_id, $a_reference=false)
lookup object type

References $access, $form, ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectGUI\checkPermission(), ilObjectGUI\editObject(), initForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilContainerReference\TITLE_TYPE_CUSTOM.

+ Here is the call graph for this function:

Field Documentation

◆ $access

ilContainerReferenceGUI::$access
protected

◆ $error

ilContainerReferenceGUI::$error
protected

Definition at line 60 of file class.ilContainerReferenceGUI.php.

Referenced by createObject().

◆ $existing_objects

ilContainerReferenceGUI::$existing_objects = array()
protected

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

◆ $form

ilContainerReferenceGUI::$form
protected

◆ $locator

ilContainerReferenceGUI::$locator
protected

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

Referenced by addLocatorItems().

◆ $reference_type

ilContainerReferenceGUI::$reference_type
protected

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

Referenced by getReferenceType().

◆ $settings

ilContainerReferenceGUI::$settings
protected

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

Referenced by createObject().

◆ $tabs

ilContainerReferenceGUI::$tabs
protected

Definition at line 40 of file class.ilContainerReferenceGUI.php.

Referenced by editObject(), and executeCommand().

◆ $target_type

ilContainerReferenceGUI::$target_type
protected

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

Referenced by getTargetType().

◆ $user

ilContainerReferenceGUI::$user
protected

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

Referenced by createObject().

◆ MAX_SELECTION_ENTRIES

const ilContainerReferenceGUI::MAX_SELECTION_ENTRIES = 50

Definition at line 67 of file class.ilContainerReferenceGUI.php.

◆ MODE_CREATE

const ilContainerReferenceGUI::MODE_CREATE = 1

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

◆ MODE_EDIT

const ilContainerReferenceGUI::MODE_EDIT = 2

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


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