|
ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
|
Inheritance diagram for ilLOTestAssignmentTableDataRetrieval:
Collaboration diagram for ilLOTestAssignmentTableDataRetrieval:Public Member Functions | |
| __construct (protected ilLanguage $lng, protected ilDBInterface $db, protected ilUIServices $ui_services, protected ilCtrl $ctrl, protected int $assignment_type) | |
| getRows (\ILIAS\UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, \ILIAS\Data\Range $range, \ILIAS\Data\Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| 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... | |
| parseSingleAssignment (int $a_tst_ref_id, int $a_objective_id=0) | |
| parseMultipleAssignments (int $container_id, int $test_type) | |
| allIds () | |
Public Member Functions inherited from ILIAS\UI\Component\Table\DataRetrieval | |
| 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... | |
Protected Member Functions | |
| doParse (int $a_tst_ref_id, int $a_objective_id=0) | |
Protected Attributes | |
| array | $data |
Definition at line 24 of file class.ilLOTestAssignmentTableDataRetrieval.php.
| ilLOTestAssignmentTableDataRetrieval::__construct | ( | protected ilLanguage | $lng, |
| protected ilDBInterface | $db, | ||
| protected ilUIServices | $ui_services, | ||
| protected ilCtrl | $ctrl, | ||
| protected int | $assignment_type | ||
| ) |
Definition at line 28 of file class.ilLOTestAssignmentTableDataRetrieval.php.
| ilLOTestAssignmentTableDataRetrieval::allIds | ( | ) |
Definition at line 186 of file class.ilLOTestAssignmentTableDataRetrieval.php.
References $id, and ilLOTestAssignmentTableGUI\TYPE_MULTIPLE_ASSIGNMENTS.
|
protected |
Definition at line 101 of file class.ilLOTestAssignmentTableDataRetrieval.php.
| ilLOTestAssignmentTableDataRetrieval::getRows | ( | \ILIAS\UI\Component\Table\DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| \ILIAS\Data\Range | $range, | ||
| \ILIAS\Data\Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
Definition at line 37 of file class.ilLOTestAssignmentTableDataRetrieval.php.
References Vendor\Package\$a, and Vendor\Package\$b.
| ilLOTestAssignmentTableDataRetrieval::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 93 of file class.ilLOTestAssignmentTableDataRetrieval.php.
| ilLOTestAssignmentTableDataRetrieval::parseMultipleAssignments | ( | int | $container_id, |
| int | $test_type | ||
| ) |
Definition at line 163 of file class.ilLOTestAssignmentTableDataRetrieval.php.
References $data, and Vendor\Package\$e.
| ilLOTestAssignmentTableDataRetrieval::parseSingleAssignment | ( | int | $a_tst_ref_id, |
| int | $a_objective_id = 0 |
||
| ) |
Definition at line 156 of file class.ilLOTestAssignmentTableDataRetrieval.php.
|
protected |
Definition at line 26 of file class.ilLOTestAssignmentTableDataRetrieval.php.