|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This describes a Data Table. More...
Inheritance diagram for ILIAS\UI\Component\Table\Data:
Collaboration diagram for ILIAS\UI\Component\Table\Data: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 (mixed $filter) | |
| withAdditionalParameters (mixed $additional_parameters) | |
| withId (string $id) | |
| The DataTable comes with a storage to keep e.g. More... | |
| withAdditionalViewControl (ViewControlInput $view_control) | |
| Consumers may add additional view controls; their data will be relayed to DataRetrieval::getRows and ::getTotalRowCount as additional parameter. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Table\Table | |
| withTitle (string $title) | |
| getTitle () | |
Public Member Functions inherited from ILIAS\UI\Component\Component | |
| 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().
Here is the caller graph for this function:| ILIAS\UI\Component\Table\Data::withAdditionalParameters | ( | mixed | $additional_parameters | ) |
| ILIAS\UI\Component\Table\Data::withAdditionalViewControl | ( | ViewControlInput | $view_control | ) |
Consumers may add additional view controls; their data will be relayed to DataRetrieval::getRows and ::getTotalRowCount as additional parameter.
If you want to add more than one additional view control, bundle them into an Input\ViewControl\Group.
| ILIAS\UI\Component\Table\Data::withFilter | ( | mixed | $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().
Here is the caller graph for this function:| ILIAS\UI\Component\Table\Data::withOrder | ( | ?Order | $order | ) |
Referenced by ILIAS\Certificate\Overview\CertificateOverviewTable\buildTable().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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 |