ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (protected string $id, protected string $title, protected RetrievalInterface $retrieval, protected object $parent_gui, protected string $parent_cmd="tableCommand", protected string $namespace="", protected string $ordering_cmd="", protected ?\Closure $active_action_closure=null, protected ?\Closure $row_transformer=null, protected bool $numeric_ids=true) | |
textColumn (string $key, string $title, bool $sortable=false) | |
iconColumn (string $key, string $title, bool $sortable=false) | |
singleAction (string $action, string $title, bool $async=false) | |
singleRedirectAction (string $action, string $title, array $class_path, string $cmd="", string $id_param="") | |
standardAction (string $action, string $title) | |
multiAction (string $action, string $title) | |
handleCommand () | |
getData () | |
render () | |
Protected Member Functions | |
addAction (int $type, string $action, string $title, bool $async=false) | |
addColumn (string $key, Column $column) | |
getColumnForKey (string $key) | |
getLastColumn () | |
replaceLastColumn (Column $column) | |
getItemIds () | |
getTable () | |
Protected Attributes | |
const | STANDARD = 0 |
const | SINGLE = 1 |
const | MULTI = 2 |
string | $order_cmd = "" |
string | $last_action_key |
URLBuilderToken | $row_id_token |
URLBuilderToken | $action_parameter_token |
URLBuilder | $url_builder |
ILIAS Data Factory | $df |
ilLanguage | $lng |
Table | $table = null |
string | $last_key |
ilCtrlInterface | $ctrl |
ILIAS DI UIServices | $ui |
array | $columns = [] |
array | $actions = [] |
Definition at line 30 of file TableAdapterGUI.php.
ILIAS\Repository\Table\TableAdapterGUI::__construct | ( | protected string | $id, |
protected string | $title, | ||
protected RetrievalInterface | $retrieval, | ||
protected object | $parent_gui, | ||
protected string | $parent_cmd = "tableCommand" , |
||
protected string | $namespace = "" , |
||
protected string | $ordering_cmd = "" , |
||
protected ?\Closure | $active_action_closure = null , |
||
protected ?\Closure | $row_transformer = null , |
||
protected bool | $numeric_ids = true |
||
) |
Definition at line 52 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\$action_parameter_token, $DIC, $namespace, ILIAS\Repository\Table\TableAdapterGUI\$row_id_token, ILIAS\Repository\Table\TableAdapterGUI\$url_builder, ILIAS\Repository\ctrl(), ILIAS\Repository\http(), ILIAS\Repository\initRequest(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\ui().
|
protected |
Definition at line 154 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\multiAction(), ILIAS\Repository\Table\TableAdapterGUI\singleAction(), ILIAS\Repository\Table\TableAdapterGUI\singleRedirectAction(), and ILIAS\Repository\Table\TableAdapterGUI\standardAction().
|
protected |
Definition at line 165 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\iconColumn(), and ILIAS\Repository\Table\TableAdapterGUI\textColumn().
|
protected |
Definition at line 177 of file TableAdapterGUI.php.
ILIAS\Repository\Table\TableAdapterGUI::getData | ( | ) |
Definition at line 323 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\getTable().
|
protected |
Definition at line 197 of file TableAdapterGUI.php.
References ILIAS\Repository\intArray(), and ILIAS\Repository\strArray().
Referenced by ILIAS\Repository\Table\TableAdapterGUI\handleCommand().
|
protected |
Definition at line 185 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\$last_key, and null.
|
protected |
Definition at line 246 of file TableAdapterGUI.php.
References Vendor\Package\$a, ILIAS\Repository\Table\TableAdapterGUI\$row_id_token, ILIAS\Repository\Table\TableAdapterGUI\$table, ILIAS\Repository\ctrl(), ILIAS\Repository\http(), and ILIAS\Repository\ui().
Referenced by ILIAS\Repository\Table\TableAdapterGUI\getData(), ILIAS\LearningModule\Editing\EditSubObjectsGUI\getTable(), and ILIAS\Repository\Table\TableAdapterGUI\render().
ILIAS\Repository\Table\TableAdapterGUI::handleCommand | ( | ) |
Definition at line 218 of file TableAdapterGUI.php.
References $id, $path, ILIAS\Repository\ctrl(), ILIAS\Repository\Table\TableAdapterGUI\getItemIds(), and ILIAS\Repository\str().
ILIAS\Repository\Table\TableAdapterGUI::iconColumn | ( | string | $key, |
string | $title, | ||
bool | $sortable = false |
||
) |
Definition at line 101 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\addColumn(), and ILIAS\Repository\ui().
Referenced by ILIAS\Container\StartObjects\Objects\Table\PossibleObjectsBuilder\build(), ILIAS\Container\StartObjects\Objects\Table\ObjectsBuilder\build(), ILIAS\LearningModule\Editing\SubObjectTableBuilder\build(), and ILIAS\Repository\Ownership\OwnershipManagementTableBuilder\build().
ILIAS\Repository\Table\TableAdapterGUI::multiAction | ( | string | $action, |
string | $title | ||
) |
Definition at line 146 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\addAction().
Referenced by ILIAS\Blog\Contributor\ContributorTableBuilder\build(), and ILIAS\Catgory\AssignRoleTableBuilder\build().
ILIAS\Repository\Table\TableAdapterGUI::render | ( | ) |
Definition at line 328 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\getTable(), and ILIAS\Repository\ui().
|
protected |
Definition at line 190 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\$last_key.
ILIAS\Repository\Table\TableAdapterGUI::singleAction | ( | string | $action, |
string | $title, | ||
bool | $async = false |
||
) |
Definition at line 111 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\addAction().
Referenced by ILIAS\Container\Skills\ContSkillTableBuilder\build(), ILIAS\Repository\Ownership\OwnershipManagementTableBuilder\build(), and ILIAS\Container\Skills\ContSkillMemberTableBuilder\build().
ILIAS\Repository\Table\TableAdapterGUI::singleRedirectAction | ( | string | $action, |
string | $title, | ||
array | $class_path, | ||
string | $cmd = "" , |
||
string | $id_param = "" |
||
) |
Definition at line 120 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\$last_action_key, and ILIAS\Repository\Table\TableAdapterGUI\addAction().
Referenced by ILIAS\Container\Skills\ContProfileTableBuilder\build(), and ILIAS\LearningModule\Editing\SubObjectTableBuilder\build().
ILIAS\Repository\Table\TableAdapterGUI::standardAction | ( | string | $action, |
string | $title | ||
) |
Definition at line 138 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\addAction().
Referenced by ILIAS\LearningModule\Editing\SubObjectTableBuilder\build(), and ILIAS\Container\Skills\ContSkillMemberTableBuilder\build().
ILIAS\Repository\Table\TableAdapterGUI::textColumn | ( | string | $key, |
string | $title, | ||
bool | $sortable = false |
||
) |
Definition at line 91 of file TableAdapterGUI.php.
References ILIAS\Repository\Table\TableAdapterGUI\addColumn(), and ILIAS\Repository\ui().
Referenced by ILIAS\Blog\Contributor\ContributorTableBuilder\build(), ILIAS\Catgory\AssignRoleTableBuilder\build(), ILIAS\Container\Skills\ContSkillTableBuilder\build(), ILIAS\Container\Skills\ContProfileTableBuilder\build(), ILIAS\LearningModule\Editing\SubObjectTableBuilder\build(), and ILIAS\Container\Skills\ContSkillMemberTableBuilder\build().
|
protected |
Definition at line 40 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\__construct().
|
protected |
Definition at line 50 of file TableAdapterGUI.php.
|
protected |
Definition at line 49 of file TableAdapterGUI.php.
|
protected |
Definition at line 47 of file TableAdapterGUI.php.
Definition at line 42 of file TableAdapterGUI.php.
|
protected |
Definition at line 38 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\singleRedirectAction().
|
protected |
Definition at line 46 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\getLastColumn(), and ILIAS\Repository\Table\TableAdapterGUI\replaceLastColumn().
|
protected |
Definition at line 44 of file TableAdapterGUI.php.
|
protected |
Definition at line 37 of file TableAdapterGUI.php.
|
protected |
Definition at line 39 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\__construct(), and ILIAS\Repository\Table\TableAdapterGUI\getTable().
Definition at line 45 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\getTable().
|
protected |
Definition at line 48 of file TableAdapterGUI.php.
|
protected |
Definition at line 41 of file TableAdapterGUI.php.
Referenced by ILIAS\Repository\Table\TableAdapterGUI\__construct().
|
protected |
Definition at line 36 of file TableAdapterGUI.php.
|
protected |
Definition at line 35 of file TableAdapterGUI.php.
|
protected |
Definition at line 34 of file TableAdapterGUI.php.