19 declare(strict_types=1);
    28         protected string $cmd,
    33         protected ILIAS\
UI\Renderer $ui_renderer,
    35         protected string $alert_icon
    41         $this->
lng->loadLanguageModule(
'trac');
    43         $this->
setTitle($this->
lng->txt(
"table_sequence_content"));
    44         $this->
setRowTemplate(
"tpl.content_table.html", 
"Modules/LearningSequence");
    58         if ($this->lp_globally_enabled) {
    66     protected function fillRow(array $a_set): 
void    73             $this->parent_gui->getFieldName($this->parent_gui::FIELD_ORDER, $ls_item->getRefId())
    76         $ni->setValue((
string) (($ls_item->getOrderNumber() + 1) * 10));
    80             $this->parent_gui->getFieldName($this->parent_gui::FIELD_ONLINE, $ls_item->getRefId())
    82         $cb->setChecked($ls_item->isOnline());
    83         if (!$this->ls_item_online_status->hasChangeableOnlineStatus($ls_item->getRefId())) {
    84             $cb->setDisabled(
true);
    86         $this->tpl->setVariable(
"ONLINE", $cb->render());
    90             $this->parent_gui->getFieldName($this->parent_gui::FIELD_POSTCONDITION_TYPE, $ls_item->getRefId())
    92         $options = $this->parent_gui->getPossiblePostConditionsForType($ls_item->getType());
    94         $si->setOptions($options);
    95         $si->setValue($ls_item->getPostCondition()->getConditionOperator());
    98         $obj_link = $this->
getEditLink($ls_item->getRefId(), $ls_item->getType(), $action_items);
   100         $title = $ls_item->getTitle();
   102             '<a href="%s">%s</a>',
   107         $this->tpl->setVariable(
"ID", $ls_item->getRefId());
   109         $this->tpl->setVariable(
   111             $this->ui_renderer->render(
   112                 $this->ui_factory->symbol()->icon()->custom(
   113                     $ls_item->getIconPath(),
   115                 )->withSize(
'medium')
   119         $this->tpl->setVariable(
"ORDER", $ni->render());
   120         $this->tpl->setVariable(
"TITLE", $title);
   121         $this->tpl->setVariable(
"POST_CONDITIONS", $si->render());
   123         if ($this->lp_globally_enabled) {
   126             $this->tpl->setVariable(
"LP_SETTINGS", $lp_setting);
   129         $this->tpl->setVariable(
"ACTIONS", $this->
getItemActionsMenu($ls_item->getRefId(), $ls_item->getType()));
   130         $this->tpl->setVariable(
"TYPE", $ls_item->getType());
   141             $setting = $this->alert_icon . $setting;
   150         $item_list_gui->initItem($ref_id, $item_obj_id, $type);
   152         $item_list_gui->enableCut(
true);
   153         $item_list_gui->enableDelete(
true);
   154         $item_list_gui->enableLink(
true);
   155         $item_list_gui->enableTimings(
false);
   157         $item_list_gui->setContainerObject($this->container_gui);
   159         return $item_list_gui->getCommandsHTML();
   176         $item_list_gui->initItem($ref_id, $item_obj_id, $type);
   177         return $item_list_gui->getCommands();
   183             case $this->ls_item_online_status::S_LEARNMODULE_IL:
   184             case $this->ls_item_online_status::S_LEARNMODULE_HTML:
   185             case $this->ls_item_online_status::S_SURVEY:
   186                 $prop_for_type = 
'properties';
   189             case $this->ls_item_online_status::S_SAHS:
   190             case $this->ls_item_online_status::S_CONTENTPAGE:
   191             case $this->ls_item_online_status::S_EXERCISE:
   192             case $this->ls_item_online_status::S_FILE:
   193                 $prop_for_type = 
'edit';
   196             case $this->ls_item_online_status::S_TEST:
   197                 $prop_for_type = 
'ilObjTestSettingsMainGUI::showForm';
   200             case $this->ls_item_online_status::S_IND_ASSESSMENT:
   205         $props = array_filter(
   207             fn($action_item) => $action_item[
'cmd'] === $prop_for_type
   211             return array_shift($props)[
'link'];
   228         return ilLink::_getLink($ref_id, $type);
 getListGuiFor(string $type)
 
setTopCommands(bool $a_val)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
Class ChatMainBarProvider . 
 
getItemActionsMenu(int $ref_id, string $type)
 
bool $lp_globally_enabled
 
__construct(protected ilObjLearningSequenceContentGUI $parent_gui, protected ilObjLearningSequenceGUI $container_gui, protected string $cmd, ilCtrl $ctrl, ilLanguage $lng, protected ilAccess $access, protected ILIAS\UI\Factory $ui_factory, protected ILIAS\UI\Renderer $ui_renderer, protected LSItemOnlineStatus $ls_item_online_status, protected string $alert_icon)
 
static _lookupObjId(int $ref_id)
 
getActionMenuItems(int $ref_id, string $type)
 
setExternalSorting(bool $a_val)
 
static _enabledLearningProgress()
 
Data holding class LSItem . 
 
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector. 
 
fillRow(array $a_set)
Standard Version of Fill Row. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
getLPSettingsRepresentation(LSItem $ls_item)
 
setEnableAllCommand(bool $a_value)
 
getStdLink(int $ref_id, string $type)
 
static _getListGUIByType(string $type, int $context=ilObjectListGUI::CONTEXT_REPOSITORY)
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
getEditLink(int $ref_id, string $type, array $action_items)
 
setLimit(int $a_limit=0, int $a_default_limit=0)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
Class ilObjLearningSequenceGUI  ilObjLearningSequenceGUI: ilRepositoryGUI  ilObjLearningSequenceGUI: ...
 
setEnableHeader(bool $a_enableheader)
 
static _mode2Text(int $a_mode)