ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjStudyProgrammeAutoCategoriesGUI Class Reference

Class ilObjStudyProgrammeAutoCategoriesGUI. More...

+ Collaboration diagram for ilObjStudyProgrammeAutoCategoriesGUI:

Public Member Functions

 __construct (ilGlobalTemplateInterface $tpl, ilCtrl $ilCtrl, ilToolbarGUI $ilToolbar, ilLanguage $lng, Factory $ui_factory, MessageBox\Factory $message_box_factory, Button\Factory $button_factory, Renderer $ui_renderer, Psr\Http\Message\ServerRequestInterface $request, ilTree $tree, ILIAS\HTTP\Wrapper\RequestWrapper $request_wrapper, ILIAS\Refinery\Factory $refinery)
 
 executeCommand ()
 
 setRefId (int $prg_ref_id)
 Set ref-id of StudyProgramme before using this GUI. More...
 

Data Fields

const CHECKBOX_CATEGORY_REF_IDS = 'c_catids'
 
const CMD_GET_ASYNC_MODAL = 'getAsyncModalOutput'
 
ilGlobalTemplateInterface $tpl
 
ilCtrl $ctrl
 
ilToolbarGUI $toolbar
 
ilLanguage $lng
 
int $prg_ref_id
 
ilObjStudyProgramme $object = null
 
ILIAS UI Factory $ui_factory
 
ILIAS UI Renderer $ui_renderer
 

Protected Member Functions

 view (bool $profile_not_public=false)
 Render. More...
 
 save ()
 Store data from (modal-)form. More...
 
 deleteConfirmation ()
 
 delete ()
 
 getObject ()
 Get current StudyProgramme-object. More...
 
 getModal (?int $current_ref_id=null)
 
 getAsyncModalOutput ()
 
 getForm (?int $current_ref_id=null)
 
 getToolbar (Signal $add_cat_signal)
 Setup toolbar. More...
 
 getItemAction (int $cat_ref_id, Signal $signal)
 
 getUserRepresentation (int $usr_id)
 
 getItemPath (int $cat_ref_id)
 

Protected Attributes

MessageBox Factory $message_box_factory
 
Button Factory $button_factory
 
Psr Http Message ServerRequestInterface $request
 
ilTree $tree
 
ILIAS HTTP Wrapper RequestWrapper $request_wrapper
 
ILIAS Refinery Factory $refinery
 

Private Attributes

const F_CATEGORY_REF = 'f_cr'
 
const F_CATEGORY_ORIGINAL_REF = 'f_cr_org'
 
const CMD_VIEW = 'view'
 
const CMD_SAVE = 'save'
 
const CMD_DELETE = 'delete'
 
const CMD_DELETE_CONFIRMATION = 'deleteConfirmation'
 
const CMD_PROFILE_NOT_PUBLIC = 'profile_not_public'
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjStudyProgrammeAutoCategoriesGUI::__construct ( ilGlobalTemplateInterface  $tpl,
ilCtrl  $ilCtrl,
ilToolbarGUI  $ilToolbar,
ilLanguage  $lng,
Factory  $ui_factory,
MessageBox\Factory  $message_box_factory,
Button\Factory  $button_factory,
Renderer  $ui_renderer,
Psr\Http\Message\ServerRequestInterface  $request,
ilTree  $tree,
ILIAS\HTTP\Wrapper\RequestWrapper  $request_wrapper,
ILIAS\Refinery\Factory  $refinery 
)

Definition at line 68 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

81 {
82 $this->tpl = $tpl;
83 $this->ctrl = $ilCtrl;
84 $this->toolbar = $ilToolbar;
85 $this->lng = $lng;
86 $this->ui_factory = $ui_factory;
87 $this->message_box_factory = $message_box_factory;
88 $this->button_factory = $button_factory;
89 $this->ui_renderer = $ui_renderer;
90 $this->request = $request;
91 $this->tree = $tree;
92 $this->request_wrapper = $request_wrapper;
93 $this->refinery = $refinery;
94 }

References $button_factory, $lng, $message_box_factory, $refinery, $request, $request_wrapper, $tpl, $tree, $ui_factory, $ui_renderer, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().

+ Here is the call graph for this function:

Member Function Documentation

◆ delete()

ilObjStudyProgrammeAutoCategoriesGUI::delete ( )
protected

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

246 : void
247 {
249 $get = $this->request->getQueryParams();
250
251 if (!array_key_exists($field, $get)) {
252 $this->tpl->setOnScreenMessage("failure", $this->lng->txt('prg_delete_failure'), true);
253 $this->ctrl->redirect($this, self::CMD_VIEW);
254 }
255
256 $cat_ids = base64_decode($get[$field]);
257 $cat_ids = explode(' ', trim($cat_ids));
258 $cat_ids = array_map('intval', $cat_ids);
259
260 $this->getObject()->deleteAutomaticContentCategories($cat_ids);
261
262 $msg = $this->lng->txt('prg_delete_single_success');
263 if (count($cat_ids) > 1) {
264 $msg = $this->lng->txt('prg_delete_success');
265 }
266
267 $this->tpl->setOnScreenMessage("success", $msg, true);
268 $this->ctrl->redirect($this, self::CMD_VIEW);
269 }

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

+ Here is the call graph for this function:

◆ deleteConfirmation()

ilObjStudyProgrammeAutoCategoriesGUI::deleteConfirmation ( )
protected

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

207 : void
208 {
209 $get = $this->request->getQueryParams();
210 $post = $this->request->getParsedBody();
212
213 $field_ids_in_get = array_key_exists($field, $get);
214 $field_ids_in_post = array_key_exists($field, $post);
215
216 $msg = '';
217 $cat_ids = '';
218 if ($field_ids_in_get) {
219 $cat_ids = $get[$field];
220 $msg = $this->lng->txt('prg_delete_single_confirmation');
221 } elseif ($field_ids_in_post) {
222 $cat_ids = implode(' ', $post[$field]);
223 $msg = $this->lng->txt('prg_delete_confirmation');
224 } else {
225 $this->tpl->setOnScreenMessage("info", $this->lng->txt('prg_delete_nothing_selected'), true);
226 $this->ctrl->redirect($this, self::CMD_VIEW);
227 }
228
229 $cat_ids = base64_encode($cat_ids);
230
231 $this->ctrl->setParameterByClass(self::class, $field, $cat_ids);
232 $delete = $this->ctrl->getFormActionByClass(self::class, self::CMD_DELETE);
233 $cancel = $this->ctrl->getFormActionByClass(self::class, self::CMD_VIEW);
234 $this->ctrl->clearParameterByClass(self::class, $field);
235
236 $buttons = [
237 $this->button_factory->standard($this->lng->txt('prg_confirm_delete'), $delete),
238 $this->button_factory->standard($this->lng->txt('prg_cancel'), $cancel)
239 ];
240
241 $message_box = $this->message_box_factory->confirmation($msg)->withButtons($buttons);
242
243 $this->tpl->setContent($this->ui_renderer->render($message_box));
244 }
$post
Definition: ltitoken.php:46

References $post, CHECKBOX_CATEGORY_REF_IDS, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ executeCommand()

ilObjStudyProgrammeAutoCategoriesGUI::executeCommand ( )

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

96 : void
97 {
98 $cmd = $this->ctrl->getCmd();
99 $next_class = $this->ctrl->getNextClass($this);
100
101 switch ($next_class) {
102 case "ilpropertyformgui":
103 $form = $this->getForm();
104 $this->ctrl->forwardCommand($form);
105 break;
106 default:
107 switch ($cmd) {
108 case self::CMD_VIEW:
109 case self::CMD_DELETE:
112 $this->$cmd();
113 break;
114 case self::CMD_SAVE:
115 $this->$cmd();
116 $this->ctrl->redirect($this, 'view');
117 break;
119 $this->view(true);
120 break;
121 default:
122 throw new ilException("ilObjStudyProgrammeAutoCategoriesGUI: Command not supported: $cmd");
123 }
124 }
125 }
Base class for ILIAS Exception handling.

References CMD_DELETE, CMD_DELETE_CONFIRMATION, CMD_GET_ASYNC_MODAL, CMD_PROFILE_NOT_PUBLIC, CMD_SAVE, CMD_VIEW, ILIAS\Repository\ctrl(), getForm(), and view().

+ Here is the call graph for this function:

◆ getAsyncModalOutput()

ilObjStudyProgrammeAutoCategoriesGUI::getAsyncModalOutput ( )
protected

Definition at line 307 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

307 : void
308 {
309 $current_ref_id = null;
310 if ($this->request_wrapper->has(self::CHECKBOX_CATEGORY_REF_IDS)) {
311 $current_ref_id = $this->request_wrapper->retrieve(
312 self::CHECKBOX_CATEGORY_REF_IDS,
313 $this->refinery->kindlyTo()->int()
314 );
315 }
316 $form = $this->getForm($current_ref_id);
317 $form_id = "form_" . $form->getId();
318 $submit = $this->ui_factory->button()->primary($this->lng->txt('add'), "#")->withOnLoadCode(
319 function ($id) use ($form_id) {
320 return "$('#$id').click(function() { document.getElementById('$form_id').submit(); return false; });";
321 }
322 );
323 $modal = $this->ui_factory->modal()
324 ->roundtrip(
325 $this->lng->txt('modal_categories_title'),
326 $this->ui_factory->legacy()->content($form->getHtml())
327 )
328 ->withActionButtons([$submit])
329 ->withAdditionalOnLoadCode(
330 function ($id) use ($form) {
331 $selector_post_var = self::F_CATEGORY_REF;
332 $js = $form->getItemByPostVar($selector_post_var)->getOnloadCode();
333 $js[] = "
334 document.getElementById('$id').onclose = ()=> {
335 let smodal = document.querySelectorAll('body dialog')
336 .item(document.querySelectorAll('body dialog').length-1);
337 smodal?.remove();
338 }
339 ";
340 return implode(';', $js);
341 }
342 );
343
344 echo $this->ui_renderer->renderAsync($modal);
345 exit;
346 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
exit

References $id, exit, F_CATEGORY_REF, getForm(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

◆ getForm()

ilObjStudyProgrammeAutoCategoriesGUI::getForm ( ?int  $current_ref_id = null)
protected

Definition at line 348 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

349 {
350 $form = new ilPropertyFormGUI();
351
352 $form->setId(uniqid((string) $current_ref_id, true));
353
354 $form->setFormAction($this->ctrl->getFormAction($this, "save"));
356 $this->lng->txt("category"),
357 self::F_CATEGORY_REF,
358 false
359 );
360 $cat->getExplorerGUI()->setSelectableTypes(["cat"]);
361 $cat->getExplorerGUI()->setTypeWhiteList(["root", "cat"]);
362 if ($current_ref_id !== null) {
363 $cat->getExplorerGUI()->setPathOpen($current_ref_id);
364 $cat->setValue($current_ref_id);
365 }
366 $cat->getExplorerGUI()->setRootId(ROOT_FOLDER_ID);
367 $cat->getExplorerGUI()->setAjax(true);
368 $form->addItem($cat);
369
370 $hi = new ilHiddenInputGUI(self::F_CATEGORY_ORIGINAL_REF);
371 $hi->setValue((string) $current_ref_id ?? "");
372 $form->addItem($hi);
373
374 return $form;
375 }
This class represents a hidden form property in a property form.
This class represents a property form user interface.
const ROOT_FOLDER_ID
Definition: constants.php:32

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

Referenced by executeCommand(), getAsyncModalOutput(), and save().

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

◆ getItemAction()

ilObjStudyProgrammeAutoCategoriesGUI::getItemAction ( int  $cat_ref_id,
Signal  $signal 
)
protected

Definition at line 387 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

390 : Standard {
391 $items = [];
392 $items[] = $this->ui_factory
393 ->button()
394 ->shy($this->lng->txt('edit'), '')
395 ->withOnClick($signal)
396 ;
397
398 $this->ctrl->setParameterByClass(self::class, self::CHECKBOX_CATEGORY_REF_IDS, $cat_ref_id);
399 $link = $this->ctrl->getLinkTarget($this, self::CMD_DELETE_CONFIRMATION);
400 $this->ctrl->clearParameterByClass(self::class, self::CHECKBOX_CATEGORY_REF_IDS);
401
402 $items[] = $this->ui_factory
403 ->button()
404 ->shy($this->lng->txt('delete'), $link)
405 ;
406
407 return $this->ui_factory->dropdown()->standard($items);
408 }
This describes a standard button.
Definition: Standard.php:27
withOnClick(Signal $signal)
Get a component like this, triggering a signal of another component on click.

Referenced by view().

+ Here is the caller graph for this function:

◆ getItemPath()

ilObjStudyProgrammeAutoCategoriesGUI::getItemPath ( int  $cat_ref_id)
protected

Definition at line 435 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

435 : array
436 {
437 $url = ilLink::_getStaticLink($cat_ref_id, 'cat');
438
439 $hops = array_map(
440 static function (array $c): string {
441 return ilObject::_lookupTitle((int) $c["obj_id"]);
442 },
443 $this->tree->getPathFull($cat_ref_id)
444 );
445 $path = implode(' > ', $hops);
446 return [$path, $this->ui_factory->link()->standard($path, $url)];
447 }
static _lookupTitle(int $obj_id)
$c
Definition: deliver.php:25
$path
Definition: ltiservices.php:30
$url
Definition: shib_logout.php:68

References $c, $path, $url, ilLink\_getStaticLink(), and ilObject\_lookupTitle().

Referenced by view().

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

◆ getModal()

ilObjStudyProgrammeAutoCategoriesGUI::getModal ( ?int  $current_ref_id = null)
protected

Definition at line 292 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

292 : RoundTrip
293 {
294 if (!is_null($current_ref_id)) {
295 $this->ctrl->setParameter($this, self::CHECKBOX_CATEGORY_REF_IDS, (string) $current_ref_id);
296 }
297 $link = $this->ctrl->getLinkTarget($this, self::CMD_GET_ASYNC_MODAL, "", true);
298 $this->ctrl->setParameter($this, self::CHECKBOX_CATEGORY_REF_IDS, null);
299 return $this->ui_factory->modal()->roundtrip(
300 '',
301 []
302 )->withAsyncRenderUrl(
303 $link
304 );
305 }

References ILIAS\Repository\ctrl().

Referenced by view().

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

◆ getObject()

ilObjStudyProgrammeAutoCategoriesGUI::getObject ( )
protected

Get current StudyProgramme-object.

Definition at line 282 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

283 {
284 if ($this->object === null ||
285 $this->object->getRefId() !== $this->prg_ref_id
286 ) {
287 $this->object = ilObjStudyProgramme::getInstanceByRefId($this->prg_ref_id);
288 }
289 return $this->object;
290 }

References $object, ilObjStudyProgramme\getInstanceByRefId(), and ILIAS\Repository\object().

Referenced by delete(), save(), and view().

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

◆ getToolbar()

ilObjStudyProgrammeAutoCategoriesGUI::getToolbar ( Signal  $add_cat_signal)
protected

Setup toolbar.

Definition at line 380 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

380 : void
381 {
382 $btn = $this->ui_factory->button()->primary($this->lng->txt('add_category'), '')
383 ->withOnClick($add_cat_signal);
384 $this->toolbar->addComponent($btn);
385 }

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

Referenced by view().

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

◆ getUserRepresentation()

ilObjStudyProgrammeAutoCategoriesGUI::getUserRepresentation ( int  $usr_id)
protected

Definition at line 410 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

410 : ?Link
411 {
412 $username = ilObjUser::_lookupName($usr_id);
413 if (array_filter($username) === []) {
414 return null;
415 }
416
417 $editor = implode(' ', [
418 $username['firstname'],
419 $username['lastname'],
420 '(' . $username['login'] . ')'
421 ]);
422
423 $back_url = $this->ctrl->getLinkTarget($this, self::CMD_VIEW);
424 $this->ctrl->setParameterByClass(PublicProfileGUI::class, 'back_url', urlencode($back_url));
425 $this->ctrl->setParameterByClass(PublicProfileGUI::class, 'user_id', $usr_id);
426 $url = $this->ctrl->getLinkTargetByClass(PublicProfileGUI::class, 'view');
427
429 if (!$usr->hasPublicProfile()) {
430 $url = $this->ctrl->getLinkTarget($this, self::CMD_PROFILE_NOT_PUBLIC);
431 }
432 return $this->ui_factory->link()->standard($editor, $url);
433 }
static _lookupName(int $a_user_id)
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id

References $url, ilObjUser\_lookupName(), ILIAS\Repository\ctrl(), and ilObjectFactory\getInstanceByObjId().

Referenced by view().

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

◆ save()

ilObjStudyProgrammeAutoCategoriesGUI::save ( )
protected

Store data from (modal-)form.

Definition at line 181 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

181 : void
182 {
183 $form = $this->getForm();
184 $form->setValuesByPost();
185 $form->checkInput();
186
187 $cat_ref_id = $form->getInput(self::F_CATEGORY_REF);
188 $current_ref_id = $form->getInput(self::F_CATEGORY_ORIGINAL_REF);
189
190 if (ilObject::_lookupType((int) $cat_ref_id, true) !== 'cat') {
191 $this->tpl->setOnScreenMessage(
192 "failure",
193 sprintf($this->lng->txt('not_a_valid_cat_id'), $cat_ref_id),
194 true
195 );
196 return;
197 }
198
199 if (!is_null($current_ref_id) && $current_ref_id !== $cat_ref_id) {
200 $ids = [(int) $current_ref_id];
201 $this->getObject()->deleteAutomaticContentCategories($ids);
202 }
203
204 $this->getObject()->storeAutomaticContentCategory((int) $cat_ref_id);
205 }
static _lookupType(int $id, bool $reference=false)

References ilObject\_lookupType(), getForm(), getObject(), ILIAS\Repository\int(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ setRefId()

ilObjStudyProgrammeAutoCategoriesGUI::setRefId ( int  $prg_ref_id)

Set ref-id of StudyProgramme before using this GUI.

Definition at line 274 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

274 : void
275 {
276 $this->prg_ref_id = $prg_ref_id;
277 }

References $prg_ref_id.

◆ view()

ilObjStudyProgrammeAutoCategoriesGUI::view ( bool  $profile_not_public = false)
protected

Render.

Definition at line 130 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

130 : void
131 {
132 if ($profile_not_public) {
133 $this->tpl->setOnScreenMessage("info", $this->lng->txt('prg_profile_not_public'));
134 }
135
136 $collected_modals = [];
137
138 $modal = $this->getModal();
139 $this->getToolbar($modal->getShowSignal());
140 $collected_modals[] = $modal;
141
142 $data = [];
143 foreach ($this->getObject()->getAutomaticContentCategories() as $ac) {
144 $ref_id = $ac->getCategoryRefId();
145 if (ilObject::_lookupType($ref_id, true) !== 'cat' || $this->tree->isDeleted($ref_id)) {
146 continue;
147 }
148 [$title, $link] = $this->getItemPath($ref_id);
149 $usr = $this->getUserRepresentation($ac->getLastEditorId()) ?? $this->ui_factory->legacy()->content('-');
150 $modal = $this->getModal($ref_id);
151 $collected_modals[] = $modal;
152 $actions = $this->getItemAction(
153 $ac->getCategoryRefId(),
154 $modal->getShowSignal()
155 );
156
157 $data[] = [
158 $ac,
159 $this->ui_renderer->render($link),
160 $this->ui_renderer->render($usr),
161 $this->ui_renderer->render($actions),
162 $title
163 ];
164 }
165 usort($data, static function (array $a, array $b): int {
166 return strnatcasecmp($a[4], $b[4]);
167 });
168
169 $table = new ilStudyProgrammeAutoCategoriesTableGUI($this, "view", "");
170 $table->setData($data);
171
172 $this->tpl->setContent(
173 $this->ui_renderer->render($collected_modals)
174 . $table->getHTML()
175 );
176 }
$ref_id
Definition: ltiauth.php:66
$a
thx to https://mlocati.github.io/php-cs-fixer-configurator for the examples

References Vendor\Package\$a, Vendor\Package\$b, $data, $ref_id, ilObject\_lookupType(), getItemAction(), getItemPath(), getModal(), getObject(), getToolbar(), getUserRepresentation(), and ILIAS\Repository\lng().

Referenced by executeCommand().

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

Field Documentation

◆ $button_factory

Button Factory ilObjStudyProgrammeAutoCategoriesGUI::$button_factory
protected

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

Referenced by __construct().

◆ $ctrl

ilCtrl ilObjStudyProgrammeAutoCategoriesGUI::$ctrl

◆ $lng

ilLanguage ilObjStudyProgrammeAutoCategoriesGUI::$lng

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

Referenced by __construct().

◆ $message_box_factory

MessageBox Factory ilObjStudyProgrammeAutoCategoriesGUI::$message_box_factory
protected

Definition at line 58 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

Referenced by __construct().

◆ $object

ilObjStudyProgramme ilObjStudyProgrammeAutoCategoriesGUI::$object = null

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

Referenced by getObject().

◆ $prg_ref_id

int ilObjStudyProgrammeAutoCategoriesGUI::$prg_ref_id

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

Referenced by setRefId().

◆ $refinery

ILIAS Refinery Factory ilObjStudyProgrammeAutoCategoriesGUI::$refinery
protected

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

Referenced by __construct().

◆ $request

Psr Http Message ServerRequestInterface ilObjStudyProgrammeAutoCategoriesGUI::$request
protected

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

Referenced by __construct().

◆ $request_wrapper

ILIAS HTTP Wrapper RequestWrapper ilObjStudyProgrammeAutoCategoriesGUI::$request_wrapper
protected

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

Referenced by __construct().

◆ $toolbar

ilToolbarGUI ilObjStudyProgrammeAutoCategoriesGUI::$toolbar

◆ $tpl

ilGlobalTemplateInterface ilObjStudyProgrammeAutoCategoriesGUI::$tpl

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

Referenced by __construct().

◆ $tree

ilTree ilObjStudyProgrammeAutoCategoriesGUI::$tree
protected

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

Referenced by __construct().

◆ $ui_factory

ILIAS UI Factory ilObjStudyProgrammeAutoCategoriesGUI::$ui_factory

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

Referenced by __construct().

◆ $ui_renderer

ILIAS UI Renderer ilObjStudyProgrammeAutoCategoriesGUI::$ui_renderer

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

Referenced by __construct().

◆ CHECKBOX_CATEGORY_REF_IDS

const ilObjStudyProgrammeAutoCategoriesGUI::CHECKBOX_CATEGORY_REF_IDS = 'c_catids'

◆ CMD_DELETE

const ilObjStudyProgrammeAutoCategoriesGUI::CMD_DELETE = 'delete'
private

Definition at line 48 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

Referenced by executeCommand().

◆ CMD_DELETE_CONFIRMATION

const ilObjStudyProgrammeAutoCategoriesGUI::CMD_DELETE_CONFIRMATION = 'deleteConfirmation'
private

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

Referenced by executeCommand().

◆ CMD_GET_ASYNC_MODAL

const ilObjStudyProgrammeAutoCategoriesGUI::CMD_GET_ASYNC_MODAL = 'getAsyncModalOutput'

Definition at line 47 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

Referenced by executeCommand().

◆ CMD_PROFILE_NOT_PUBLIC

const ilObjStudyProgrammeAutoCategoriesGUI::CMD_PROFILE_NOT_PUBLIC = 'profile_not_public'
private

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

Referenced by executeCommand().

◆ CMD_SAVE

const ilObjStudyProgrammeAutoCategoriesGUI::CMD_SAVE = 'save'
private

Definition at line 46 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

Referenced by executeCommand().

◆ CMD_VIEW

const ilObjStudyProgrammeAutoCategoriesGUI::CMD_VIEW = 'view'
private

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

Referenced by executeCommand().

◆ F_CATEGORY_ORIGINAL_REF

const ilObjStudyProgrammeAutoCategoriesGUI::F_CATEGORY_ORIGINAL_REF = 'f_cr_org'
private

◆ F_CATEGORY_REF

const ilObjStudyProgrammeAutoCategoriesGUI::F_CATEGORY_REF = 'f_cr'
private

Definition at line 41 of file class.ilObjStudyProgrammeAutoCategoriesGUI.php.

Referenced by getAsyncModalOutput().


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