|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Test\Settings\Templates\PersonalSettingsTable:
Collaboration diagram for ILIAS\Test\Settings\Templates\PersonalSettingsTable:Public Member Functions | |
| __construct (private readonly Language $lng, private readonly UIFactory $ui_factory, private readonly DataFactory $data_factory, private readonly \ilObjUser $user, private readonly RequestDataCollector $test_request, private readonly PersonalSettingsTableActions $table_actions, private readonly URLBuilder $url_builder, private readonly PersonalSettingsRepository $repository,) | |
| perform () | |
| getComponent () | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Private Member Functions | |
| acquireParameters () | |
| getColumns () | |
Private Attributes | |
| const string | ID = 'pst' |
Definition at line 37 of file PersonalSettingsTable.php.
| ILIAS\Test\Settings\Templates\PersonalSettingsTable::__construct | ( | private readonly Language | $lng, |
| private readonly UIFactory | $ui_factory, | ||
| private readonly DataFactory | $data_factory, | ||
| private readonly \ilObjUser | $user, | ||
| private readonly RequestDataCollector | $test_request, | ||
| private readonly PersonalSettingsTableActions | $table_actions, | ||
| private readonly URLBuilder | $url_builder, | ||
| private readonly PersonalSettingsRepository | $repository | ||
| ) |
Definition at line 41 of file PersonalSettingsTable.php.
|
private |
Definition at line 58 of file PersonalSettingsTable.php.
References ILIAS\Test\Settings\Templates\PersonalSettingsTableActions\ACTION_PARAMETER, ILIAS\Test\Settings\Templates\PersonalSettingsTableActions\ACTION_TYPE_PARAMETER, and ILIAS\Test\Settings\Templates\PersonalSettingsTableActions\ROW_ID_PARAMETER.
Referenced by ILIAS\Test\Settings\Templates\PersonalSettingsTable\perform().
Here is the caller graph for this function:
|
private |
Definition at line 71 of file PersonalSettingsTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Test\Settings\Templates\PersonalSettingsTable::getComponent | ( | ) |
Definition at line 83 of file PersonalSettingsTable.php.
References ILIAS\Data\Order\DESC, and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Test\Settings\Templates\PersonalSettingsTable::getRows | ( | DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildStandardRow($row_id, $record).
| string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 93 of file PersonalSettingsTable.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow().
Here is the call graph for this function:| ILIAS\Test\Settings\Templates\PersonalSettingsTable::getTotalRowCount | ( | mixed | $additional_viewcontrol_data, |
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available.
Given the nature of a DataTable, which is, opposite to a PresentationTable, rather administrative than explorative, this information will increase user experience quite a bit. However, you may return null, if the call is to costly, but expect the View Control to look a little different in this case.
Make sure that potential filters or user restrictions are being applied to the count.
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 114 of file PersonalSettingsTable.php.
| ILIAS\Test\Settings\Templates\PersonalSettingsTable::perform | ( | ) |
Definition at line 53 of file PersonalSettingsTable.php.
References ILIAS\Test\Settings\Templates\PersonalSettingsTable\acquireParameters().
Here is the call graph for this function:
|
private |
Definition at line 39 of file PersonalSettingsTable.php.