ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (protected UIFactory $ui_factory, protected UIRenderer $ui_renderer, protected DataFactory $data_factory, protected Refinery $refinery, protected URLBuilder $url_builder, protected URLBuilderToken $action_parameter_token, protected URLBuilderToken $row_id_token, protected \ilDBInterface $db, protected \ilLanguage $lng, protected \ilComponentRepository $component_repository, protected \ilRbacSystem $rbac, protected \ilObjUser $current_user, protected TaxonomyService $taxonomy, protected NotesService $notes_service, protected int $parent_obj_id, protected int $request_ref_id) | |
getTable () | |
getFilter (\ilUIService $ui_service, string $action) | |
Filters should be part of the Table; for now, since they are not fully integrated, they are rendered and applied seperately. More... | |
getColums () | |
getRows (Table\DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
![]() | |
__construct (private ilDBInterface $db, private ilLanguage $lng, private Refinery $refinery, private ilComponentRepository $component_repository, private ?NotesService $notes_service=null) | |
setOrder (?Order $order=null) | |
setRange (?Range $range=null) | |
getParentObjId () | |
setParentObjId (?int $parentObjId) | |
setParentObjectType (string $parentObjType) | |
setParentObjIdsFilter (array $parentObjIdsFilter) | |
setQuestionInstanceTypeFilter (?string $questionInstanceTypeFilter) | |
setIncludeQuestionIdsFilter (array $questionIdsFilter) | |
setExcludeQuestionIdsFilter (array $excludeQuestionIdsFilter) | |
addFieldFilter (string $fieldName, mixed $fieldValue) | |
addTaxonomyFilter ($taxId, $taxNodes, $parentObjId, $parentObjType) | |
addTaxonomyFilterNoTaxonomySet (bool $flag) | |
setAvailableTaxonomyIds (array $availableTaxonomyIds) | |
setAnswerStatusActiveId (?int $answerStatusActiveId) | |
setAnswerStatusFilter (string $answerStatusFilter) | |
setJoinObjectData (bool $a_val) | |
Set if object data table should be joined. More... | |
load () | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
setCommentFilter (?int $commented=null) | |
getDataArrayForQuestionId (int $questionId) | |
getQuestionDataArray () | |
isInList (int $questionId) | |
getTitle (string $a_comp_id, string $a_item_type, int $a_item_id) | |
Get title of an assigned item. More... | |
Protected Member Functions | |
getData (Order $order, Range $range) | |
getActions () | |
buildAction (string $act, string $type, bool $async=false) | |
postOrder (array $list, \ILIAS\Data\Order $order) | |
![]() | |
getTaxItems (string $parentType, int $parentObjId, int $taxId, int $taxNode) | |
getNumberOfCommentsForQuestion (int $question_id) | |
Private Member Functions | |
treeify (&$pointer, $stack) | |
toNestedList (array $nodes) | |
taxNodeReader ($tree, $sortfield, $node_id) | |
singleTaxonomyRepresentation (int $tax_id, array $stored_tax_data, string $check_marker) | |
taxonomyRepresentation (array $taxonomy_data) | |
showCommentAction () | |
Additional Inherited Members | |
![]() | |
const | QUESTION_ANSWER_STATUS_NON_ANSWERED = 'nonAnswered' |
answer status domain for single questions More... | |
const | QUESTION_ANSWER_STATUS_WRONG_ANSWERED = 'wrongAnswered' |
const | QUESTION_ANSWER_STATUS_CORRECT_ANSWERED = 'correctAnswered' |
const | ANSWER_STATUS_FILTER_ALL_NON_CORRECT = 'allNonCorrect' |
answer status filter value domain More... | |
const | ANSWER_STATUS_FILTER_NON_ANSWERED_ONLY = 'nonAnswered' |
const | ANSWER_STATUS_FILTER_WRONG_ANSWERED_ONLY = 'wrongAnswered' |
const | QUESTION_INSTANCE_TYPE_ORIGINALS = 'QST_INSTANCE_TYPE_ORIGINALS' |
const | QUESTION_INSTANCE_TYPE_DUPLICATES = 'QST_INSTANCE_TYPE_DUPLICATES' |
const | QUESTION_INSTANCE_TYPE_ALL = 'QST_INSTANCE_TYPE_ALL' |
const | QUESTION_COMMENTED_ONLY = '1' |
const | QUESTION_COMMENTED_EXCLUDED = '2' |
![]() | |
bool | $join_obj_data = true |
string | $filter_comments = null |
array | $questions = [] |
Definition at line 36 of file QuestionTable.php.
ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable::__construct | ( | protected UIFactory | $ui_factory, |
protected UIRenderer | $ui_renderer, | ||
protected DataFactory | $data_factory, | ||
protected Refinery | $refinery, | ||
protected URLBuilder | $url_builder, | ||
protected URLBuilderToken | $action_parameter_token, | ||
protected URLBuilderToken | $row_id_token, | ||
protected \ilDBInterface | $db, | ||
protected \ilLanguage | $lng, | ||
protected \ilComponentRepository | $component_repository, | ||
protected \ilRbacSystem | $rbac, | ||
protected \ilObjUser | $current_user, | ||
protected TaxonomyService | $taxonomy, | ||
protected NotesService | $notes_service, | ||
protected int | $parent_obj_id, | ||
protected int | $request_ref_id | ||
) |
Definition at line 38 of file QuestionTable.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilLanguage\loadLanguageModule(), and ilAssQuestionList\setAvailableTaxonomyIds().
|
protected |
Definition at line 352 of file QuestionTable.php.
References ILIAS\Repository\lng().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getActions().
|
protected |
Definition at line 332 of file QuestionTable.php.
References ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\buildAction(), ilBulkEditQuestionsGUI\CMD_EDITLIFECYCLE, ilBulkEditQuestionsGUI\CMD_EDITTAUTHOR, ilBulkEditQuestionsGUI\CMD_EDITTAXONOMIES, and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\showCommentAction().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getTable().
ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable::getColums | ( | ) |
Definition at line 147 of file QuestionTable.php.
References Vendor\Package\$f, ilUtil\getImagePath(), and ILIAS\Repository\lng().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getTable().
|
protected |
Definition at line 322 of file QuestionTable.php.
References $data, ilAssQuestionList\getQuestionDataArray(), ilAssQuestionList\load(), null, ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\postOrder(), ilAssQuestionList\setParentObjId(), and ILIAS\Data\Range\unpack().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getRows().
ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable::getFilter | ( | \ilUIService | $ui_service, |
string | $action | ||
) |
Filters should be part of the Table; for now, since they are not fully integrated, they are rendered and applied seperately.
Definition at line 76 of file QuestionTable.php.
References ilObjQuestionPool\_getQuestionTypes(), ilUIService\filter(), ilAssQuestionLifecycle\getDraftInstance(), ILIAS\Repository\lng(), ilAssQuestionList\QUESTION_COMMENTED_EXCLUDED, ilAssQuestionList\QUESTION_COMMENTED_ONLY, ilObjTaxonomy\SORT_ALPHABETICAL, and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\taxNodeReader().
ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable::getRows | ( | Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 275 of file QuestionTable.php.
References $lifecycle, ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getData(), ilAssQuestionLifecycle\getInstance(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\taxonomyRepresentation().
ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable::getTable | ( | ) |
Definition at line 61 of file QuestionTable.php.
References ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getActions(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getColums(), and ILIAS\Repository\lng().
ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable::getTotalRowCount | ( | ?array | $filter_data, |
?array | $additional_parameters | ||
) |
Definition at line 313 of file QuestionTable.php.
References ilAssQuestionList\getQuestionDataArray(), ilAssQuestionList\load(), and ilAssQuestionList\setParentObjId().
|
protected |
Definition at line 367 of file QuestionTable.php.
References Vendor\Package\$a, Vendor\Package\$b, and null.
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getData().
|
private |
Definition at line 398 of file QuestionTable.php.
References ILIAS\Repository\rbac().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getActions().
|
private |
Definition at line 224 of file QuestionTable.php.
References $path, ilObject\_lookupTitle(), ilObjTaxonomy\SORT_ALPHABETICAL, ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\taxNodeReader(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\toNestedList(), and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\treeify().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\taxonomyRepresentation().
|
private |
Definition at line 203 of file QuestionTable.php.
References Vendor\Package\$a, Vendor\Package\$b, and $c.
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getFilter(), and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\singleTaxonomyRepresentation().
|
private |
Definition at line 253 of file QuestionTable.php.
References $check, ilUtil\getImagePath(), and ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\singleTaxonomyRepresentation().
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getRows().
|
private |
Definition at line 188 of file QuestionTable.php.
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\singleTaxonomyRepresentation().
|
private |
Definition at line 176 of file QuestionTable.php.
Referenced by ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\singleTaxonomyRepresentation().