3 declare(strict_types=1);
30 public function __construct(?
object $a_parent_obj,
string $a_parent_cmd, $a_id)
32 $this->
setId(
'obj_table_' . $a_id);
39 public function init(): void
45 $this->
addColumn($this->
lng->txt(
'type'),
'type',
'30px');
47 $this->
addColumn($this->
lng->txt(
'lti_consumer'),
'consumer',
'30%');
50 $this->
setRowTemplate(
'tpl.lti_object_table_row.html',
'Services/LTI');
57 public function fillRow(array $a_set): void
59 parent::fillRow($a_set);
61 $this->tpl->setVariable(
'CONSUMER_TITLE', $a_set[
'consumer']);
70 foreach (
$rows as $row) {
75 if (
$type ==
'rolf') {
79 $set[$counter][
'ref_id'] =
$ref_id;
83 $set[$counter][
'consumer'] = $row[
'title'];
static readReleaseObjects()
Read released objects.
__construct(?object $a_parent_obj, string $a_parent_cmd, $a_id)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
enabledRowSelectionInput()
__construct(Container $dic, ilPlugin $plugin)
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)
static _lookupType(int $id, bool $reference=false)
setOrderColumn(string $a_order_column="", string $a_default_column="")
fillRow(array $a_set)
Fill row.