ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (ilDBInterface $db) | |
loadLabels (ilTestRandomQuestionSetSourcePoolDefinitionList $sourcePoolDefinitionList) | |
getTaxonomyTreeLabel ($taxonomyTreeId) | |
getTaxonomyNodeLabel ($taxonomyTreeId) | |
loadLabelsFromTaxonomyIds ($taxonomyIds) | |
getTaxonomyFilterLabel ($filter=array(), $filterDelimiter='+', $taxNodeDelimiter=':', $nodesDelimiter=', ') | |
Get the label for a taxonomy filter. More... | |
getTypeFilterLabel ($filter=array()) | |
Get the label for a type filter. More... | |
Private Member Functions | |
loadTaxonomyTreeLabels () | |
loadTaxonomyNodeLabels () | |
loadTypeLabels () | |
Private Attributes | |
$db = null | |
$taxonomyTreeIds = null | |
$taxonomyNodeIds = null | |
$taxonomyTreeLabels = null | |
$taxonomyNodeLabels = null | |
$typeLabels = null | |
Definition at line 11 of file class.ilTestTaxonomyFilterLabelTranslater.php.
ilTestTaxonomyFilterLabelTranslater::__construct | ( | ilDBInterface | $db | ) |
ilDBInterface | $db |
Definition at line 33 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References $db, array, and loadTypeLabels().
ilTestTaxonomyFilterLabelTranslater::getTaxonomyFilterLabel | ( | $filter = array() , |
|
$filterDelimiter = ' + ' , |
|||
$taxNodeDelimiter = ': ' , |
|||
$nodesDelimiter = ' , |
|||
' | |||
) |
Get the label for a taxonomy filter.
array | taxId => [nodeId, ...] |
string | delimiter for separate taxonomy conditions |
string | delimiter between taxonomy name and node list |
string | delimiter between nodes in the node list |
Definition at line 163 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References array, getTaxonomyNodeLabel(), and getTaxonomyTreeLabel().
Referenced by ilLOUtils\buildQplTitleByDefinition().
ilTestTaxonomyFilterLabelTranslater::getTaxonomyNodeLabel | ( | $taxonomyTreeId | ) |
Definition at line 143 of file class.ilTestTaxonomyFilterLabelTranslater.php.
Referenced by getTaxonomyFilterLabel().
ilTestTaxonomyFilterLabelTranslater::getTaxonomyTreeLabel | ( | $taxonomyTreeId | ) |
Definition at line 138 of file class.ilTestTaxonomyFilterLabelTranslater.php.
Referenced by getTaxonomyFilterLabel().
ilTestTaxonomyFilterLabelTranslater::getTypeFilterLabel | ( | $filter = array() | ) |
Get the label for a type filter.
array | $filter | list of type ids |
Definition at line 180 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References array.
Referenced by ilLOUtils\buildQplTitleByDefinition().
ilTestTaxonomyFilterLabelTranslater::loadLabels | ( | ilTestRandomQuestionSetSourcePoolDefinitionList | $sourcePoolDefinitionList | ) |
Definition at line 48 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References loadTaxonomyNodeLabels(), and loadTaxonomyTreeLabels().
ilTestTaxonomyFilterLabelTranslater::loadLabelsFromTaxonomyIds | ( | $taxonomyIds | ) |
Definition at line 148 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References loadTaxonomyTreeLabels().
|
private |
Definition at line 106 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References $query, $res, and $row.
Referenced by loadLabels().
|
private |
Definition at line 85 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References $query, $res, $row, and array.
Referenced by loadLabels(), and loadLabelsFromTaxonomyIds().
|
private |
Definition at line 127 of file class.ilTestTaxonomyFilterLabelTranslater.php.
References $data, ilObjQuestionPool\_getQuestionTypes(), and array.
Referenced by __construct().
|
private |
Definition at line 18 of file class.ilTestTaxonomyFilterLabelTranslater.php.
Referenced by __construct().
|
private |
Definition at line 21 of file class.ilTestTaxonomyFilterLabelTranslater.php.
|
private |
Definition at line 24 of file class.ilTestTaxonomyFilterLabelTranslater.php.
|
private |
Definition at line 20 of file class.ilTestTaxonomyFilterLabelTranslater.php.
|
private |
Definition at line 23 of file class.ilTestTaxonomyFilterLabelTranslater.php.
|
private |
Definition at line 27 of file class.ilTestTaxonomyFilterLabelTranslater.php.