ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilObjLearningSequenceContentGUI Class Reference
+ Inheritance diagram for ilObjLearningSequenceContentGUI:
+ Collaboration diagram for ilObjLearningSequenceContentGUI:

Public Member Functions

 __construct (protected \ilObjLearningSequenceGUI|ilObjLearningSequenceContentGUI $parent_gui, protected \ilCtrl $ctrl, protected \ilGlobalTemplateInterface $tpl, protected \ilLanguage $lng, protected \ilAccessHandler $access, protected \ilConfirmationGUI $confirmation_gui, protected \LSItemOnlineStatus $ls_item_online_status, protected RequestWrapper $query_wrapper, protected RequestWrapper $post_wrapper, protected Factory $refinery, protected \ILIAS\UI\Factory $ui_factory, protected Renderer $ui_renderer, protected ServerRequestInterface $request)
 Creates the content management GUI. More...
 
 setContent (string $html)
 Sets the page content. More...
 
 showPossibleSubObjects ()
 Renders the "add new object" drilldown (AddNewItemGUI) into the toolbar of the content management view. More...
 
 executeCommand ()
 Executes the requested content management command. More...
 
 getUnsafeGetCommands ()
 All commands modifying the learning sequence or its items. More...
 
 getSafePostCommands ()
 @inheritDoc More...
 
 getTableActionHandler ()
 Creates a handler for table actions. More...
 
 setConditionAlways ()
 Sets the selected item's postcondition to always allow proceeding. More...
 
 setConditionLP ()
 Sets the selected item's postcondition to require learning progress. More...
 
 cut ()
 Forwards the cut command to the parent GUI. More...
 
 copy ()
 Forwards the copy command to the parent GUI. More...
 
 link ()
 Forwards the link command to the parent GUI. More...
 
 settings ()
 Opens the settings page of the selected item. More...
 
 setOnline ()
 Sets the selected item online. More...
 
 setOffline ()
 Sets the selected item offline. More...
 
 extractItemRefId ()
 Extracts the selected item reference ID from the request. More...
 
 getUnsafeGetCommands ()
 This method must return a list of unsafe GET commands. More...
 
 getSafePostCommands ()
 This method must return a list of safe POST commands. More...
 

Data Fields

const string CMD_MANAGE_CONTENT = "manageContent"
 
const string CMD_SAVE = "save"
 
const string CMD_DELETE = "delete"
 
const string CMD_CONFIRM_DELETE = "confirmDelete"
 
const string CMD_CANCEL = "cancel"
 
const string CMD_SET_ONLINE = "setOnline"
 
const string CMD_SET_OFFLINE = "setOffline"
 
const string CMD_SET_START_OBJECT = "setStartObject"
 
const string CMD_UNSET_START_OBJECT = "unsetStartObject"
 
const string CMD_SET_END_OBJECT = "setEndObject"
 
const string CMD_UNSET_END_OBJECT = "unsetEndObject"
 
const string CMD_SET_CONDITION_ALWAYS = "setConditionAlways"
 
const string CMD_SET_CONDITION_LP = "setConditionLP"
 
const string CMD_REORDER = "reorder"
 
const string CMD_CUT = "cut"
 
const string CMD_COPY = "copy"
 
const string CMD_LINK = "link"
 
const string CMD_SETTINGS = "settings"
 
const string CMD_VIEW = "view"
 
const string FIELD_ORDER = 'f_order'
 
const string FIELD_ONLINE = 'f_online'
 
const string FIELD_POSTCONDITION_TYPE = 'f_pct'
 

Private Member Functions

 assertWriteAccess ()
 Guards the whole gui: without write permission the user is sent back to the object view. More...
 
 forwardToConditionsGUI ()
 Forwards to the conditions gui when it is the next class in the control flow. More...
 
 resolveCommand ()
 Determines the command to run, resolving the aliases used by the ordering table and the generic "cancel"/"view" commands. More...
 
 dispatchCommand (string $cmd)
 Main controller logic: a command is either delegated to the mode specific content controller or executed by one of the few internal methods of this gui. More...
 
 createContentController ()
 Builds the content controller matching the current LSO mode. More...
 
 setPostConditionOperator (string $operator)
 Sets the postcondition operator of the selected item. More...
 
 forwardClipboardCommand (string $cmd)
 Forwards a clipboard command for the selected item to the parent GUI. More...
 
 getObjectSettingsLink (int $ref_id)
 Determines the "settings" link of the given item by asking its object list gui, so the action points to the object's own settings and not to the content gui. More...
 

Private Attributes

const array INTERNAL_COMMANDS
 Commands handled by this gui itself (a few internal object actions). More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilObjLearningSequenceContentGUI::__construct ( protected \ilObjLearningSequenceGUI|ilObjLearningSequenceContentGUI  $parent_gui,
protected \ilCtrl  $ctrl,
protected \ilGlobalTemplateInterface  $tpl,
protected \ilLanguage  $lng,
protected \ilAccessHandler  $access,
protected \ilConfirmationGUI  $confirmation_gui,
protected \LSItemOnlineStatus  $ls_item_online_status,
protected RequestWrapper  $query_wrapper,
protected RequestWrapper  $post_wrapper,
protected Factory  $refinery,
protected \ILIAS\UI\Factory  $ui_factory,
protected Renderer  $ui_renderer,
protected ServerRequestInterface  $request 
)

Creates the content management GUI.

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

106 {
107 }

Member Function Documentation

◆ assertWriteAccess()

ilObjLearningSequenceContentGUI::assertWriteAccess ( )
private

Guards the whole gui: without write permission the user is sent back to the object view.

Definition at line 145 of file class.ilObjLearningSequenceContentGUI.php.

145 : void
146 {
147 if (!$this->access->checkAccess("write", '', $this->parent_gui->getRefId())) {
148 $this->tpl->setOnScreenMessage('failure', $this->lng->txt('msg_no_perm_write'), true);
149 $this->ctrl->redirect($this->parent_gui, self::CMD_VIEW);
150 }
151 }

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

Referenced by executeCommand().

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

◆ copy()

ilObjLearningSequenceContentGUI::copy ( )

Forwards the copy command to the parent GUI.

Definition at line 361 of file class.ilObjLearningSequenceContentGUI.php.

361 : void
362 {
363 $this->forwardClipboardCommand('copy');
364 }
forwardClipboardCommand(string $cmd)
Forwards a clipboard command for the selected item to the parent GUI.

References forwardClipboardCommand().

+ Here is the call graph for this function:

◆ createContentController()

ilObjLearningSequenceContentGUI::createContentController ( )
private

Builds the content controller matching the current LSO mode.

Definition at line 273 of file class.ilObjLearningSequenceContentGUI.php.

274 {
275 $ref_id = $this->parent_gui->getRefId();
276 $obj_id = $this->parent_gui->getObject()->getId();
277 $mode = $this->parent_gui->getObject()->getLSSettings()->getMode();
278
280 ? LSOAdaptiveContent::class
281 : LSOSequentialContent::class;
282
283 return new $class(
284 $this,
285 $this->ui_factory,
286 $this->ui_renderer,
287 $this->lng,
288 $this->ctrl,
289 $this->request,
290 $this->tpl,
291 $ref_id,
292 $obj_id
293 );
294 }
Contract for the mode specific content controllers (adaptive / sequential).

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

Referenced by dispatchCommand().

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

◆ cut()

ilObjLearningSequenceContentGUI::cut ( )

Forwards the cut command to the parent GUI.

Definition at line 353 of file class.ilObjLearningSequenceContentGUI.php.

References ilObjLearningSequenceGUI\CMD_CUT, and forwardClipboardCommand().

+ Here is the call graph for this function:

◆ dispatchCommand()

ilObjLearningSequenceContentGUI::dispatchCommand ( string  $cmd)
private

Main controller logic: a command is either delegated to the mode specific content controller or executed by one of the few internal methods of this gui.

Definition at line 253 of file class.ilObjLearningSequenceContentGUI.php.

253 : void
254 {
255 $controller = $this->createContentController();
256
257 if (in_array($cmd, $controller->getSupportedCommands(), true)) {
258 $controller->$cmd();
259 return;
260 }
261
262 if (in_array($cmd, self::INTERNAL_COMMANDS, true)) {
263 $this->$cmd();
264 return;
265 }
266
267 throw new \ilException("ilObjLearningSequenceContentGUI: command not supported: $cmd");
268 }
createContentController()
Builds the content controller matching the current LSO mode.

References createContentController().

Referenced by executeCommand().

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

◆ executeCommand()

ilObjLearningSequenceContentGUI::executeCommand ( )

Executes the requested content management command.

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

130 : void
131 {
132 $this->assertWriteAccess();
133
134 if ($this->forwardToConditionsGUI()) {
135 return;
136 }
137
138 $this->dispatchCommand($this->resolveCommand());
139 }
resolveCommand()
Determines the command to run, resolving the aliases used by the ordering table and the generic "canc...
dispatchCommand(string $cmd)
Main controller logic: a command is either delegated to the mode specific content controller or execu...
assertWriteAccess()
Guards the whole gui: without write permission the user is sent back to the object view.
forwardToConditionsGUI()
Forwards to the conditions gui when it is the next class in the control flow.

References assertWriteAccess(), dispatchCommand(), forwardToConditionsGUI(), and resolveCommand().

+ Here is the call graph for this function:

◆ extractItemRefId()

ilObjLearningSequenceContentGUI::extractItemRefId ( )

Extracts the selected item reference ID from the request.

Definition at line 480 of file class.ilObjLearningSequenceContentGUI.php.

480 : int
481 {
482 $query_params = $this->request->getQueryParams();
483 foreach (['lso_content_seq_item_ref_id', 'item_ref_id'] as $key) {
484 $value = $query_params[$key] ?? 0;
485 $ref_id = (int) (is_array($value) ? ($value[0] ?? 0) : $value);
486 if ($ref_id !== 0) {
487 return $ref_id;
488 }
489 }
490 return 0;
491 }

References ILIAS\Repository\int().

Referenced by forwardClipboardCommand(), setOffline(), setOnline(), setPostConditionOperator(), and settings().

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

◆ forwardClipboardCommand()

ilObjLearningSequenceContentGUI::forwardClipboardCommand ( string  $cmd)
private

Forwards a clipboard command for the selected item to the parent GUI.

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

377 : void
378 {
379 $ref_id = $this->extractItemRefId();
380 if ($ref_id <= 0) {
381 $this->tpl->setOnScreenMessage('info', $this->lng->txt('no_checkbox_selected'), true);
382 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
383 }
384
385 $this->ctrl->setParameterByClass(\ilObjLearningSequenceGUI::class, 'item_ref_id', $ref_id);
386 $this->ctrl->redirectByClass(\ilObjLearningSequenceGUI::class, $cmd);
387 }
extractItemRefId()
Extracts the selected item reference ID from the request.

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

Referenced by copy(), cut(), and link().

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

◆ forwardToConditionsGUI()

ilObjLearningSequenceContentGUI::forwardToConditionsGUI ( )
private

Forwards to the conditions gui when it is the next class in the control flow.

Returns true when the command was handled here.

Exceptions
ilCtrlException

Definition at line 158 of file class.ilObjLearningSequenceContentGUI.php.

158 : bool
159 {
160 if ($this->ctrl->getNextClass($this) !== strtolower(ilObjLearningSequenceConditionsGUI::class)) {
161 return false;
162 }
163
164 $lso_di = $this->parent_gui->getObject()->getDI();
166 $this,
167 $this->ctrl,
168 $this->tpl,
169 $this->lng,
170 $this->access,
171 $this->query_wrapper,
172 $this->post_wrapper,
173 $this->ui_factory,
174 $this->ui_renderer,
175 $this->request,
176 $this->refinery,
177 $lso_di["conditions.factory"],
178 $lso_di["conditions.handler"],
179 );
180 $this->ctrl->forwardCommand($gui);
181
182 return true;
183 }
@ilCtrl_isCalledBy ilObjLearningSequenceConditionsGUI: ilObjLearningSequenceContentGUI

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

Referenced by executeCommand().

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

◆ getObjectSettingsLink()

ilObjLearningSequenceContentGUI::getObjectSettingsLink ( int  $ref_id)
private

Determines the "settings" link of the given item by asking its object list gui, so the action points to the object's own settings and not to the content gui.

Definition at line 414 of file class.ilObjLearningSequenceContentGUI.php.

414 : string
415 {
416 $obj_id = \ilObject::_lookupObjId($ref_id);
417 $type = \ilObject::_lookupType($obj_id);
418
420 $list_gui->initItem($ref_id, $obj_id, $type);
421 $list_gui->setContainerObject($this->parent_gui);
422
423 foreach ($list_gui->getCommands() as $cmd) {
424 $key = ($cmd['lang_var'] !== '') ? $cmd['lang_var'] : $cmd['cmd'];
425 if ($key === 'settings') {
426 return (string) $cmd['link'];
427 }
428 }
429
430 return '';
431 }
static _getListGUIByType(string $type, int $context=ilObjectListGUI::CONTEXT_REPOSITORY)
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)

References ilObjectListGUIFactory\_getListGUIByType(), ilObject\_lookupObjId(), and ilObject\_lookupType().

Referenced by settings().

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

◆ getSafePostCommands()

ilObjLearningSequenceContentGUI::getSafePostCommands ( )

@inheritDoc

Implements ilCtrlSecurityInterface.

Definition at line 211 of file class.ilObjLearningSequenceContentGUI.php.

211 : array
212 {
213 return [];
214 }

◆ getTableActionHandler()

ilObjLearningSequenceContentGUI::getTableActionHandler ( )

Creates a handler for table actions.

Definition at line 298 of file class.ilObjLearningSequenceContentGUI.php.

299 {
300 return new \ILIAS\LearningSequence\Content\LSOTableActionHandler(
301 $this,
302 $this->parent_gui,
303 $this->ctrl,
304 $this->lng,
305 $this->access,
306 $this->ls_item_online_status
307 );
308 }

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

+ Here is the call graph for this function:

◆ getUnsafeGetCommands()

ilObjLearningSequenceContentGUI::getUnsafeGetCommands ( )

All commands modifying the learning sequence or its items.

They are reached by links (dropdown entries, table actions) and therefore need to be protected by an ilCtrl CSRF token.

@inheritDoc

Implements ilCtrlSecurityInterface.

Definition at line 192 of file class.ilObjLearningSequenceContentGUI.php.

192 : array
193 {
194 return [
205 ];
206 }

References CMD_DELETE, CMD_REORDER, CMD_SET_CONDITION_ALWAYS, CMD_SET_CONDITION_LP, CMD_SET_END_OBJECT, CMD_SET_OFFLINE, CMD_SET_ONLINE, CMD_SET_START_OBJECT, CMD_UNSET_END_OBJECT, and CMD_UNSET_START_OBJECT.

◆ link()

ilObjLearningSequenceContentGUI::link ( )

Forwards the link command to the parent GUI.

Definition at line 369 of file class.ilObjLearningSequenceContentGUI.php.

References ilObjLearningSequenceGUI\CMD_LINK, and forwardClipboardCommand().

+ Here is the call graph for this function:

◆ resolveCommand()

ilObjLearningSequenceContentGUI::resolveCommand ( )
private

Determines the command to run, resolving the aliases used by the ordering table and the generic "cancel"/"view" commands.

The ordering table's actions carry their command in the query parameter "lso_content_seq_cmd" and target the table's form action (cmd=post with fallback command "reorder"). ilCtrl only resolves "reorder" for such a request if the CSRF token is valid, so the table command is only accepted in that case. Otherwise the token check could be bypassed.

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

226 : string
227 {
228 $query_params = $this->request->getQueryParams();
229 $ctrl_cmd = $this->ctrl->getCmd();
230 $table_cmd = $query_params['lso_content_seq_cmd'] ?? null;
231
232 $cmd = $ctrl_cmd;
233 if (is_string($table_cmd) && $ctrl_cmd === self::CMD_REORDER) {
234 $cmd = $table_cmd;
235 }
236
237 if ($cmd === self::CMD_CANCEL) {
238 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
239 }
240
241 if ($cmd === self::CMD_VIEW || $cmd === '' || $cmd === null) {
243 }
244
245 return $cmd;
246 }

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

Referenced by executeCommand().

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

◆ setConditionAlways()

ilObjLearningSequenceContentGUI::setConditionAlways ( )

Sets the selected item's postcondition to always allow proceeding.

Definition at line 313 of file class.ilObjLearningSequenceContentGUI.php.

313 : void
314 {
316 }
setPostConditionOperator(string $operator)
Sets the postcondition operator of the selected item.

References ilLSPostCondition\OPERATOR_ALWAYS, and setPostConditionOperator().

+ Here is the call graph for this function:

◆ setConditionLP()

ilObjLearningSequenceContentGUI::setConditionLP ( )

Sets the selected item's postcondition to require learning progress.

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

References ilLSPostCondition\OPERATOR_LP, and setPostConditionOperator().

+ Here is the call graph for this function:

◆ setContent()

ilObjLearningSequenceContentGUI::setContent ( string  $html)

Sets the page content.

Definition at line 112 of file class.ilObjLearningSequenceContentGUI.php.

112 : void
113 {
114 $this->tpl->setContent($html);
115 }

◆ setOffline()

ilObjLearningSequenceContentGUI::setOffline ( )

Sets the selected item offline.

Definition at line 458 of file class.ilObjLearningSequenceContentGUI.php.

458 : void
459 {
460 $ref_id = $this->extractItemRefId();
461 if ($ref_id > 0) {
462 $lso = \ilObjLearningSequence::getInstanceByRefId($this->parent_gui->getRefId());
463 $items = $lso->getLSItems();
464 $updated = [];
465 foreach ($items as $item) {
466 if ($item->getRefId() === $ref_id) {
467 $item = $item->withOnline(false);
468 }
469 $updated[] = $item;
470 }
471 $lso->storeLSItems($updated);
472 $this->tpl->setOnScreenMessage('success', $this->lng->txt('msg_obj_modified'), true);
473 }
474 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
475 }
static getInstanceByRefId(int $ref_id)

References ILIAS\Repository\ctrl(), extractItemRefId(), ilObjLearningSequence\getInstanceByRefId(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ setOnline()

ilObjLearningSequenceContentGUI::setOnline ( )

Sets the selected item online.

Definition at line 436 of file class.ilObjLearningSequenceContentGUI.php.

436 : void
437 {
438 $ref_id = $this->extractItemRefId();
439 if ($ref_id > 0) {
440 $lso = \ilObjLearningSequence::getInstanceByRefId($this->parent_gui->getRefId());
441 $items = $lso->getLSItems();
442 $updated = [];
443 foreach ($items as $item) {
444 if ($item->getRefId() === $ref_id) {
445 $item = $item->withOnline(true);
446 }
447 $updated[] = $item;
448 }
449 $lso->storeLSItems($updated);
450 $this->tpl->setOnScreenMessage('success', $this->lng->txt('msg_obj_modified'), true);
451 }
452 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
453 }

References ILIAS\Repository\ctrl(), extractItemRefId(), ilObjLearningSequence\getInstanceByRefId(), and ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ setPostConditionOperator()

ilObjLearningSequenceContentGUI::setPostConditionOperator ( string  $operator)
private

Sets the postcondition operator of the selected item.

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

329 : void
330 {
331 $ref_id = $this->extractItemRefId();
332 if ($ref_id > 0) {
333 $lso = \ilObjLearningSequence::getInstanceByRefId($this->parent_gui->getRefId());
334 $items = $lso->getLSItems();
335 $updated = [];
336 foreach ($items as $item) {
337 if ($item->getRefId() === $ref_id) {
338 $item = $item->withPostCondition(
339 $item->getPostCondition()->withConditionOperator($operator)
340 );
341 }
342 $updated[] = $item;
343 }
344 $lso->storeLSItems($updated);
345 $this->tpl->setOnScreenMessage('success', $this->lng->txt('msg_obj_modified'), true);
346 }
347 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
348 }

References ILIAS\Repository\ctrl(), extractItemRefId(), ilObjLearningSequence\getInstanceByRefId(), and ILIAS\Repository\lng().

Referenced by setConditionAlways(), and setConditionLP().

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

◆ settings()

ilObjLearningSequenceContentGUI::settings ( )

Opens the settings page of the selected item.

Definition at line 392 of file class.ilObjLearningSequenceContentGUI.php.

392 : void
393 {
394 $ref_id = $this->extractItemRefId();
395 if ($ref_id <= 0) {
396 $this->tpl->setOnScreenMessage('info', $this->lng->txt('no_checkbox_selected'), true);
397 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
398 }
399
400 $link = $this->getObjectSettingsLink($ref_id);
401 if ($link === '') {
402 $this->tpl->setOnScreenMessage('info', $this->lng->txt('msg_no_perm_read'), true);
403 $this->ctrl->redirect($this, self::CMD_MANAGE_CONTENT);
404 }
405
406 $this->ctrl->redirectToURL($link);
407 }
getObjectSettingsLink(int $ref_id)
Determines the "settings" link of the given item by asking its object list gui, so the action points ...

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

+ Here is the call graph for this function:

◆ showPossibleSubObjects()

ilObjLearningSequenceContentGUI::showPossibleSubObjects ( )

Renders the "add new object" drilldown (AddNewItemGUI) into the toolbar of the content management view.

Delegates to the parent object gui which knows the creatable sub object types.

Definition at line 122 of file class.ilObjLearningSequenceContentGUI.php.

122 : void
123 {
124 $this->parent_gui->showPossibleSubObjects();
125 }

Field Documentation

◆ CMD_CANCEL

const string ilObjLearningSequenceContentGUI::CMD_CANCEL = "cancel"

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

◆ CMD_CONFIRM_DELETE

const string ilObjLearningSequenceContentGUI::CMD_CONFIRM_DELETE = "confirmDelete"

◆ CMD_COPY

const string ilObjLearningSequenceContentGUI::CMD_COPY = "copy"

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

◆ CMD_CUT

const string ilObjLearningSequenceContentGUI::CMD_CUT = "cut"

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

◆ CMD_DELETE

◆ CMD_LINK

const string ilObjLearningSequenceContentGUI::CMD_LINK = "link"

Definition at line 66 of file class.ilObjLearningSequenceContentGUI.php.

◆ CMD_MANAGE_CONTENT

◆ CMD_REORDER

◆ CMD_SAVE

const string ilObjLearningSequenceContentGUI::CMD_SAVE = "save"

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

◆ CMD_SET_CONDITION_ALWAYS

const string ilObjLearningSequenceContentGUI::CMD_SET_CONDITION_ALWAYS = "setConditionAlways"

◆ CMD_SET_CONDITION_LP

const string ilObjLearningSequenceContentGUI::CMD_SET_CONDITION_LP = "setConditionLP"

◆ CMD_SET_END_OBJECT

◆ CMD_SET_OFFLINE

const string ilObjLearningSequenceContentGUI::CMD_SET_OFFLINE = "setOffline"

◆ CMD_SET_ONLINE

const string ilObjLearningSequenceContentGUI::CMD_SET_ONLINE = "setOnline"

◆ CMD_SET_START_OBJECT

◆ CMD_SETTINGS

const string ilObjLearningSequenceContentGUI::CMD_SETTINGS = "settings"

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

◆ CMD_UNSET_END_OBJECT

◆ CMD_UNSET_START_OBJECT

◆ CMD_VIEW

const string ilObjLearningSequenceContentGUI::CMD_VIEW = "view"

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

◆ FIELD_ONLINE

const string ilObjLearningSequenceContentGUI::FIELD_ONLINE = 'f_online'

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

◆ FIELD_ORDER

const string ilObjLearningSequenceContentGUI::FIELD_ORDER = 'f_order'

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

◆ FIELD_POSTCONDITION_TYPE

const string ilObjLearningSequenceContentGUI::FIELD_POSTCONDITION_TYPE = 'f_pct'

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

◆ INTERNAL_COMMANDS

const array ilObjLearningSequenceContentGUI::INTERNAL_COMMANDS
private

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