Definition at line 30 of file AssignRoleTableBuilder.php.
◆ __construct()
ILIAS\Catgory\AssignRoleTableBuilder::__construct |
( |
protected InternalDomainService |
$domain, |
|
|
protected InternalGUIService |
$gui, |
|
|
protected int |
$ref_id, |
|
|
protected int |
$managed_user_id, |
|
|
protected int |
$managing_user_id, |
|
|
object |
$parent_gui, |
|
|
string |
$parent_cmd |
|
) |
| |
◆ build()
Definition at line 83 of file AssignRoleTableBuilder.php.
References $lng, ILIAS\Repository\Table\CommonTableBuilder\$table, ILIAS\Repository\Table\TableAdapterGUI\multiAction(), and ILIAS\Repository\Table\TableAdapterGUI\textColumn().
85 $lng = $this->domain->lng();
88 ->textColumn(
'desc',
$lng->txt(
'description'))
89 ->textColumn(
'type',
$lng->txt(
'type'))
90 ->iconColumn(
'icon',
$lng->txt(
'info_assigned'),
false);
94 $lng->txt(
"change_assignment")
textColumn(string $key, string $title, bool $sortable=false)
multiAction(string $action, string $title)
◆ getId()
ILIAS\Catgory\AssignRoleTableBuilder::getId |
( |
| ) |
|
|
protected |
◆ getRetrieval()
ILIAS\Catgory\AssignRoleTableBuilder::getRetrieval |
( |
| ) |
|
|
protected |
Definition at line 56 of file AssignRoleTableBuilder.php.
58 return $this->domain->assignedRoledRetrieval(
60 $this->managed_user_id,
61 $this->managing_user_id
◆ getTitle()
ILIAS\Catgory\AssignRoleTableBuilder::getTitle |
( |
| ) |
|
|
protected |
Definition at line 49 of file AssignRoleTableBuilder.php.
References $lng.
51 $lng = $this->domain->lng();
52 return $lng->txt(
'role_assignment') .
' (' .
53 $this->domain->profile()->getNamePresentation($this->managed_user_id,
true) .
')';
◆ transformRow()
ILIAS\Catgory\AssignRoleTableBuilder::transformRow |
( |
array |
$data_row | ) |
|
|
protected |
Definition at line 65 of file AssignRoleTableBuilder.php.
References Vendor\Package\$f.
67 $f = $this->gui->ui()->factory();
69 $icon = $data_row[
"assigned"] ??
false 70 ?
$f->symbol()->icon()->custom(
'assets/images/standard/icon_checked.svg',
'',
'small')
71 :
$f->symbol()->icon()->custom(
'assets/images/standard/icon_unchecked.svg',
'',
'small');
74 'id' => $data_row[
'id'],
75 'title' => $data_row[
'title'],
76 'desc' => $data_row[
'desc'],
77 'type' => $data_row[
'type'],
The documentation for this class was generated from the following file: