| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ILIAS\Test\Participants\ParticipantTable:
 Collaboration diagram for ILIAS\Test\Participants\ParticipantTable:Public Member Functions | |
| __construct (private readonly UIFactory $ui_factory, private readonly \ilUIService $ui_service, private readonly Language $lng, private readonly \ilTestAccess $test_access, private readonly RequestDataCollector $test_request, private readonly \ilTestParticipantAccessFilterFactory $participant_access_filter, private readonly ParticipantRepository $repository, private readonly ResultsDataFactory $results_data_factory, private readonly ResultsPresentationSettings $results_presentation_settings, private readonly \ilObjUser $current_user, private readonly \ilObjTest $test_object, private readonly ParticipantTableActions $table_actions) | |
| execute (URLBuilder $url_builder) | |
| getComponents (URLBuilder $url_builder, string $filter_url) | |
| getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available.  More... | |
  Public Member Functions inherited from ILIAS\UI\Component\Table\DataRetrieval | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.  More... | |
Private Member Functions | |
| acquireParameters ($url_builder) | |
| getPostLoadFilters () | |
| getPostLoadOrderFields () | |
| getFilterComponent (string $action, ServerRequestInterface $request) | |
| getFilterFields (FieldFactory $field_factory) | |
| getTableComponent (ServerRequestInterface $request, ?array $filter) | |
| getColumns () | |
| loadRecords (?array $filter, Order $order) | |
| buildAccessFilteredParticipantsList (array $records) | |
| getViewControlledRecords (?array $filter_data, Range $range, Order $order) | |
| filterRecords (iterable $records, ?array $filter_data) | |
| matchFilter (Participant $record, ?array $filter) | |
| sortRecords (iterable $records, Order $order) | |
| limitRecords (array $records, Range $range) | |
Private Attributes | |
| const | ID = 'pt' | 
| iterable | $records = null | 
Definition at line 39 of file ParticipantTable.php.
| ILIAS\Test\Participants\ParticipantTable::__construct | ( | private readonly UIFactory | $ui_factory, | 
| private readonly \ilUIService | $ui_service, | ||
| private readonly Language | $lng, | ||
| private readonly \ilTestAccess | $test_access, | ||
| private readonly RequestDataCollector | $test_request, | ||
| private readonly \ilTestParticipantAccessFilterFactory | $participant_access_filter, | ||
| private readonly ParticipantRepository | $repository, | ||
| private readonly ResultsDataFactory | $results_data_factory, | ||
| private readonly ResultsPresentationSettings | $results_presentation_settings, | ||
| private readonly \ilObjUser | $current_user, | ||
| private readonly \ilObjTest | $test_object, | ||
| private readonly ParticipantTableActions | $table_actions | ||
| ) | 
Definition at line 44 of file ParticipantTable.php.
      
  | 
  private | 
Definition at line 160 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTableActions\ACTION_PARAMETER, ILIAS\Test\Participants\ParticipantTableActions\ACTION_TYPE_PARAMETER, and ILIAS\Test\Participants\ParticipantTableActions\ROW_ID_PARAMETER.
Referenced by ILIAS\Test\Participants\ParticipantTable\execute().
 Here is the caller graph for this function:
      
  | 
  private | 
| array<Participant> | $records | 
Definition at line 454 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\$records, and ILIAS\Test\Participants\Participant\getUserId().
Referenced by ILIAS\Test\Participants\ParticipantTable\loadRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Test\Participants\ParticipantTable::execute | ( | URLBuilder | $url_builder | ) | 
Definition at line 60 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\acquireParameters().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 489 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\matchFilter().
Referenced by ILIAS\Test\Participants\ParticipantTable\getViewControlledRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 335 of file ParticipantTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Participants\ParticipantTable\getTableComponent().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Test\Participants\ParticipantTable::getComponents | ( | URLBuilder | $url_builder, | 
| string | $filter_url | ||
| ) | 
Definition at line 68 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\getFilterComponent(), and ILIAS\Test\Participants\ParticipantTable\getTableComponent().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 247 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\getFilterFields().
Referenced by ILIAS\Test\Participants\ParticipantTable\getComponents().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
| FieldFactory | $field_factory | 
Definition at line 272 of file ParticipantTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\Test\Participants\ParticipantTable\getFilterComponent().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 173 of file ParticipantTable.php.
References ILIAS\Test\Participants\Participant\getAttemptOverviewInformation(), and ILIAS\Test\Participants\Participant\hasAnsweredQuestionsForScoredAttempt().
Referenced by ILIAS\Test\Participants\ParticipantTable\matchFilter().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 190 of file ParticipantTable.php.
References Vendor\Package\$a, Vendor\Package\$b, ILIAS\Test\Participants\Participant\getAttemptOverviewInformation(), ILIAS\Test\Participants\Participant\getFirstAccess(), ILIAS\Test\Participants\Participant\getLastAccess(), ILIAS\Test\Participants\Participant\getMatriculation(), ILIAS\Test\Participants\Participant\getRemainingDuration(), and ILIAS\Test\Participants\Participant\getTotalDuration().
Referenced by ILIAS\Test\Participants\ParticipantTable\sortRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 318 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\getColumns(), and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Participants\ParticipantTable\getComponents().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Test\Participants\ParticipantTable::getTotalRowCount | ( | ?array | $filter_data, | 
| ?array | $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 82 of file ParticipantTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ILIAS\UI\Component\Table\DataRetrieval\getRows(), ILIAS\Test\Participants\ParticipantTable\getViewControlledRecords(), ILIAS\Repository\lng(), and ILIAS\UI\examples\Deck\repository().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 471 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\filterRecords(), ILIAS\Test\Participants\ParticipantTable\limitRecords(), and ILIAS\Test\Participants\ParticipantTable\sortRecords().
Referenced by ILIAS\Test\Participants\ParticipantTable\getTotalRowCount().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 540 of file ParticipantTable.php.
References ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Referenced by ILIAS\Test\Participants\ParticipantTable\getViewControlledRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 423 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\$records, ILIAS\Test\Participants\ParticipantTable\buildAccessFilteredParticipantsList(), ILIAS\Test\Participants\Participant\getUserId(), and ILIAS\UI\examples\Deck\repository().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 498 of file ParticipantTable.php.
References ILIAS\Test\Participants\ParticipantTable\getPostLoadFilters().
Referenced by ILIAS\Test\Participants\ParticipantTable\filterRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 519 of file ParticipantTable.php.
References Vendor\Package\$a, Vendor\Package\$b, ILIAS\Test\Participants\ParticipantTable\$records, ILIAS\Data\Order\get(), and ILIAS\Test\Participants\ParticipantTable\getPostLoadOrderFields().
Referenced by ILIAS\Test\Participants\ParticipantTable\getViewControlledRecords().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 42 of file ParticipantTable.php.
Referenced by ILIAS\Test\Participants\ParticipantTable\buildAccessFilteredParticipantsList(), ILIAS\Test\Participants\ParticipantTable\loadRecords(), and ILIAS\Test\Participants\ParticipantTable\sortRecords().
      
  | 
  private | 
Definition at line 41 of file ParticipantTable.php.