|
ILIAS
trunk Revision v12.0_alpha-1613-gae4c99ebb18
|
Inheritance diagram for ILIAS\BookingManager\Participant\Table\ParticipantTable:
Collaboration diagram for ILIAS\BookingManager\Participant\Table\ParticipantTable:Public Member Functions | |
| __construct (private readonly UIFactory $ui_factory, private readonly UIRenderer $ui_renderer, private readonly ilLanguage $lng, private readonly HttpService $http, private readonly ilUIService $ui_service, private readonly ilCtrlInterface $ctrl, private readonly ilGlobalTemplateInterface $tpl, private readonly Refinery $refinery, private readonly AccessManager $access, private readonly ParticipantRepository $participant_repository, private readonly int $ref_id, private readonly int $pool_id,) | |
| @phpstan-type ParticipantRecord array{user_id: int, name: string, object_title: array<string>, obj_count: int, object_ids: array<int>} More... | |
| getTableId () | |
| getComponents (URLBuilder $url_builder) | |
| 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... | |
Public Member Functions inherited from ILIAS\BookingManager\Common\Table\Table | |
| getTableId () | |
| execute (URLBuilder $url_builder) | |
| getComponents (URLBuilder $url_builder) | |
| 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... | |
Data Fields | |
| const | ID = 'bksp' |
| const | ROW_ID_PARAMETER = 'participant_id' |
| const | ACTION_PARAMETER = 'action' |
| const | ACTION_TYPE_PARAMETER = 'action_type' |
Protected Member Functions | |
| sortRecords (Order $order, array $records) | |
| limitRecords (Range $range, array $records) | |
| acquireParameters (URLBuilder $url_builder) | |
| getTableActions () | |
Private Member Functions | |
| getColumns () | |
| loadRecords (?array $filter_data) | |
| getFilterComponent (string $action) | |
Definition at line 49 of file ParticipantTable.php.
| ILIAS\BookingManager\Participant\Table\ParticipantTable::__construct | ( | private readonly UIFactory | $ui_factory, |
| private readonly UIRenderer | $ui_renderer, | ||
| private readonly ilLanguage | $lng, | ||
| private readonly HttpService | $http, | ||
| private readonly ilUIService | $ui_service, | ||
| private readonly ilCtrlInterface | $ctrl, | ||
| private readonly ilGlobalTemplateInterface | $tpl, | ||
| private readonly Refinery | $refinery, | ||
| private readonly AccessManager | $access, | ||
| private readonly ParticipantRepository | $participant_repository, | ||
| private readonly int | $ref_id, | ||
| private readonly int | $pool_id | ||
| ) |
@phpstan-type ParticipantRecord array{user_id: int, name: string, object_title: array<string>, obj_count: int, object_ids: array<int>}
Definition at line 64 of file ParticipantTable.php.
|
protected |
Definition at line 240 of file ParticipantTable.php.
References ILIAS\UI\URLBuilder\acquireParameters().
Referenced by ILIAS\BookingManager\Participant\Table\ParticipantTable\getComponents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 139 of file ParticipantTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\BookingManager\Participant\Table\ParticipantTable::getComponents | ( | URLBuilder | $url_builder | ) |
Implements ILIAS\BookingManager\Common\Table\Table.
Definition at line 88 of file ParticipantTable.php.
References ILIAS\BookingManager\Participant\Table\ParticipantTable\acquireParameters(), ILIAS\UI\URLBuilder\buildURI(), ILIAS\BookingManager\Participant\Table\ParticipantTable\getFilterComponent(), ILIAS\BookingManager\Participant\Table\ParticipantTable\getTableActions(), ILIAS\BookingManager\Participant\Table\ParticipantTable\getTableId(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 205 of file ParticipantTable.php.
References ilBookingObject\getList(), ilBookingParticipant\getUserFilter(), and ILIAS\Repository\lng().
Referenced by ILIAS\BookingManager\Participant\Table\ParticipantTable\getComponents().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Test\Participants\ParticipantTable::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 109 of file ParticipantTable.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and ILIAS\BookingManager\Common\Table\getTableActions().
Here is the call graph for this function:
|
protected |
Definition at line 250 of file ParticipantTable.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by ILIAS\BookingManager\Participant\Table\ParticipantTable\getComponents().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\BookingManager\Participant\Table\ParticipantTable::getTableId | ( | ) |
Implements ILIAS\BookingManager\Common\Table\Table.
Definition at line 80 of file ParticipantTable.php.
References ILIAS\BookingManager\Participant\Table\ParticipantTable\ID.
Referenced by ILIAS\BookingManager\Participant\Table\ParticipantTable\getComponents().
Here is the caller graph for this function:| ILIAS\BookingManager\Participant\Table\ParticipantTable::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 101 of file ParticipantTable.php.
|
protected |
Definition at line 200 of file ParticipantTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Here is the call graph for this function:
|
private |
Definition at line 148 of file ParticipantTable.php.
References ilBookingParticipant\getList(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Definition at line 175 of file ParticipantTable.php.
References Vendor\Package\$a, Vendor\Package\$b, and ILIAS\Data\Order\get().
Here is the call graph for this function:| const ILIAS\BookingManager\Participant\Table\ParticipantTable::ACTION_PARAMETER = 'action' |
Definition at line 57 of file ParticipantTable.php.
| const ILIAS\BookingManager\Participant\Table\ParticipantTable::ACTION_TYPE_PARAMETER = 'action_type' |
Definition at line 59 of file ParticipantTable.php.
| const ILIAS\BookingManager\Participant\Table\ParticipantTable::ID = 'bksp' |
Definition at line 53 of file ParticipantTable.php.
Referenced by ILIAS\BookingManager\Participant\Table\ParticipantTable\getTableId().
| const ILIAS\BookingManager\Participant\Table\ParticipantTable::ROW_ID_PARAMETER = 'participant_id' |
Definition at line 55 of file ParticipantTable.php.