◆ __construct()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::__construct |
( |
protected InternalDomainService |
$domain, |
|
|
protected InternalGUIService |
$gui, |
|
|
protected int |
$user_id, |
|
|
protected string |
$title, |
|
|
protected array |
$objects, |
|
|
protected string |
$selected_type, |
|
|
object |
$parent_gui, |
|
|
string |
$parent_cmd |
|
) |
| |
◆ activeAction()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::activeAction |
( |
string |
$action, |
|
|
array |
$data_row |
|
) |
| |
|
protected |
Definition at line 88 of file OwnershipManagementTableBuilder.php.
90 if (!$data_row[
'readable']) {
94 if ($action ===
'export') {
95 $obj_definition = $this->domain->objectDefinition();
96 $type = $data_row[
'type'];
97 if (in_array($type, [
'crsr',
'catr',
'grpr']) || !$obj_definition->allowExport($type)) {
102 if ($action ===
'show') {
106 if (!method_exists($this->parent_gui,
'isReadOnly')) {
110 return !$this->parent_gui->isReadOnly();
◆ build()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::build |
( |
TableAdapterGUI |
$table | ) |
|
|
protected |
Definition at line 113 of file OwnershipManagementTableBuilder.php.
References $lng, ILIAS\Repository\Table\CommonTableBuilder\$table, ILIAS\Repository\Table\TableAdapterGUI\iconColumn(), and ILIAS\Repository\Table\TableAdapterGUI\singleAction().
115 $lng = $this->domain->lng();
119 ->textColumn(
'title',
$lng->txt(
'title'),
true)
120 ->textColumn(
'path',
$lng->txt(
'path'));
134 $lng->txt(
'change_owner')
iconColumn(string $key, string $title, bool $sortable=false)
singleAction(string $action, string $title, bool $async=false)
◆ getId()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::getId |
( |
| ) |
|
|
protected |
◆ getRetrieval()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::getRetrieval |
( |
| ) |
|
|
protected |
◆ getTitle()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::getTitle |
( |
| ) |
|
|
protected |
◆ transformRow()
ILIAS\Repository\Ownership\OwnershipManagementTableBuilder::transformRow |
( |
array |
$data_row | ) |
|
|
protected |
The documentation for this class was generated from the following file: