ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
This describes a Data Table. More...
Public Member Functions | |
withActions (array $actions) | |
withRequest (ServerRequestInterface $request) | |
Rendering the Table must be done using the current Request: it (the request) will be forwarded to the Table's View Control Container, and parameters will already influence e.g. More... | |
withSelectedOptionalColumns (array $selected_optional_column_ids) | |
Not all columns are neccessarily visible; "selected optional" is the positive list of shown columns (the non-optional columns are always shown and are not included here) More... | |
withOrder (?Order $order) | |
withRange (?Range $range) | |
withFilter (?array $filter) | |
withAdditionalParameters (?array $additional_parameters) | |
withId (string $id) | |
The DataTable comes with a storage to keep e.g. More... | |
![]() | |
withTitle (string $title) | |
getTitle () | |
![]() | |
getCanonicalName () | |
Get the canonical name of the component. More... | |
reduceWith (\Closure $fn) | |
The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More... | |
ILIAS\UI\Component\Table\Data::withActions | ( | array | $actions | ) |
array<string,Action |
Action> $actions
Referenced by ILIAS\Test\Logging\LogTable\getTable(), and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getTable().
ILIAS\UI\Component\Table\Data::withAdditionalParameters | ( | ?array | $additional_parameters | ) |
ILIAS\UI\Component\Table\Data::withFilter | ( | ?array | $filter | ) |
ILIAS\UI\Component\Table\Data::withId | ( | string | $id | ) |
The DataTable comes with a storage to keep e.g.
ViewControl-settings throughout requests. Set an Id to enable the storage and identify the distinct table.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsBrowserTable\getComponent(), ilOrgUnitPositionGUI\getTable(), and ilOrgUnitTypeGUI\getTable().
ILIAS\UI\Component\Table\Data::withOrder | ( | ?Order | $order | ) |
Referenced by ILIAS\Certificate\Overview\CertificateOverviewTable\buildTable().
ILIAS\UI\Component\Table\Data::withRange | ( | ?Range | $range | ) |
ILIAS\UI\Component\Table\Data::withRequest | ( | ServerRequestInterface | $request | ) |
Rendering the Table must be done using the current Request: it (the request) will be forwarded to the Table's View Control Container, and parameters will already influence e.g.
the presentation of column-titles (think of ordering...).
Referenced by ILIAS\components\ResourceStorage\Collections\View\RequestToDataTable\buildTable(), and ILIAS\components\ResourceStorage\Container\View\RequestToDataTable\buildTable().
ILIAS\UI\Component\Table\Data::withSelectedOptionalColumns | ( | array | $selected_optional_column_ids | ) |
Not all columns are neccessarily visible; "selected optional" is the positive list of shown columns (the non-optional columns are always shown and are not included here)
string[] | $selected_optional_column_ids |