ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilExcCriteria. More...
Public Member Functions | |
getTranslatedType () | |
getId () | |
getType () | |
setParent ($a_value) | |
getParent () | |
setTitle ($a_value) | |
getTitle () | |
setDescription ($a_value) | |
getDescription () | |
setRequired ($a_value) | |
isRequired () | |
setPosition ($a_value) | |
getPosition () | |
importDefinition ($a_def, $a_def_json) | |
save () | |
update () | |
delete () | |
cloneObject ($a_target_parent_id) | |
initCustomForm (ilPropertyFormGUI $a_form) | |
exportCustomForm (ilPropertyFormGUI $a_form) | |
importCustomForm (ilPropertyFormGUI $a_form) | |
setPeerReviewContext (ilExAssignment $a_ass, $a_giver_id, $a_peer_id, ilPropertyFormGUI $a_form=null) | |
addToPeerReviewForm ($a_value=null) | |
importFromPeerReviewForm () | |
updateFromAjax () | |
validate ($a_value) | |
hasValue ($a_value) | |
getHTML ($a_value) | |
resetReview () | |
Static Public Member Functions | |
static | getInstanceById ($a_id) |
static | getInstancesByParentId ($a_parent_id) |
static | getTypesMap () |
static | getInstanceByType ($a_type) |
static | deleteByParent ($a_parent_id) |
Protected Member Functions | |
__construct () | |
setId ($a_id) | |
setDefinition (array $a_value=null) | |
getDefinition () | |
importFromDB (array $a_row) | |
getDBProperties () | |
getLastPosition () | |
Protected Attributes | |
$db | |
$id | |
$parent | |
$title | |
$desc | |
$required | |
$pos | |
$def | |
$form | |
$ass | |
$giver_id | |
$peer_id | |
Class ilExcCriteria.
Definition at line 11 of file class.ilExcCriteria.php.
|
protected |
Definition at line 31 of file class.ilExcCriteria.php.
References $DIC.
|
abstract |
ilExcCriteria::cloneObject | ( | $a_target_parent_id | ) |
Definition at line 316 of file class.ilExcCriteria.php.
References getDefinition(), getDescription(), getInstanceByType(), getPosition(), getTitle(), getType(), and isRequired().
ilExcCriteria::delete | ( | ) |
Definition at line 290 of file class.ilExcCriteria.php.
|
static |
Definition at line 302 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaCatalogue\delete().
ilExcCriteria::exportCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 340 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\exportForm().
|
protected |
Definition at line 230 of file class.ilExcCriteria.php.
References getDefinition(), getDescription(), getPosition(), getTitle(), getType(), and isRequired().
Referenced by save(), and update().
|
protected |
Definition at line 186 of file class.ilExcCriteria.php.
References $def.
Referenced by cloneObject(), getDBProperties(), and ilExcCriteriaText\getMinChars().
ilExcCriteria::getDescription | ( | ) |
Definition at line 156 of file class.ilExcCriteria.php.
References $desc.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), ilExcCriteriaGUI\exportForm(), and getDBProperties().
|
abstract |
ilExcCriteria::getId | ( | ) |
Definition at line 113 of file class.ilExcCriteria.php.
References $id.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), ilExcCriteriaFile\getHTML(), ilExcCriteriaRating\getRatingSubType(), ilExcCriteriaGUI\importForm(), ilExcCriteriaBool\importFromPeerReviewForm(), ilExcCriteriaFile\importFromPeerReviewForm(), ilExcCriteriaGUI\initForm(), ilExcCriteriaFile\initStorage(), ilExcCriteriaRating\renderWidget(), ilExcCriteriaFile\validate(), ilExcCriteriaText\validate(), and ilExcCriteriaRating\validate().
|
static |
Definition at line 38 of file class.ilExcCriteria.php.
References $DIC, $ilDB, and $row.
Referenced by ilExerciseManagementCollectFilesJob\addCriteriaToExcel(), ilExPeerReviewGUI\downloadPeerReviewObject(), ilExcCriteriaGUI\getCurrentCritera(), and ilExPeerReviewGUI\updateCritAjaxObject().
|
static |
Definition at line 101 of file class.ilExcCriteria.php.
References $a_type.
Referenced by ilExcCriteriaGUI\add(), ilExerciseManagementCollectFilesJob\addCriteriaToExcel(), cloneObject(), ilExcCriteriaGUI\create(), ilExPeerReviewGUI\downloadPeerReviewObject(), ilExAssignment\getPeerReviewCriteriaCatalogueItems(), ilExerciseDataSet\importRecord(), and ilExPeerReviewGUI\updateCritAjaxObject().
|
static |
Definition at line 55 of file class.ilExcCriteria.php.
References $DIC, $ilDB, $res, and $row.
Referenced by ilExcCriteriaCatalogue\cloneObject(), ilExcCriteriaGUI\confirmDeletion(), ilExcCriteriaGUI\delete(), ilExcCriteriaTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExAssignment\getPeerReviewCriteriaCatalogueItems(), ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExcCriteriaGUI\saveOrder().
|
protected |
Definition at line 243 of file class.ilExcCriteria.php.
References $db, $ilDB, $row, and getParent().
Referenced by save().
ilExcCriteria::getParent | ( | ) |
Definition at line 132 of file class.ilExcCriteria.php.
References $parent.
Referenced by getLastPosition(), and save().
ilExcCriteria::getPosition | ( | ) |
Definition at line 176 of file class.ilExcCriteria.php.
References $pos.
Referenced by cloneObject(), and getDBProperties().
ilExcCriteria::getTitle | ( | ) |
Definition at line 144 of file class.ilExcCriteria.php.
References $title.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), ilExcCriteriaGUI\exportForm(), and getDBProperties().
ilExcCriteria::getTranslatedType | ( | ) |
Definition at line 95 of file class.ilExcCriteria.php.
References $map, getType(), and getTypesMap().
Referenced by ilExcCriteriaGUI\initForm().
|
abstract |
Referenced by cloneObject(), getDBProperties(), getTranslatedType(), save(), and setId().
|
static |
Definition at line 81 of file class.ilExcCriteria.php.
Referenced by getTranslatedType(), and ilExcCriteriaGUI\view().
|
abstract |
ilExcCriteria::importCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 345 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm().
ilExcCriteria::importDefinition | ( | $a_def, | |
$a_def_json | |||
) |
Definition at line 191 of file class.ilExcCriteria.php.
References $def, and setDefinition().
|
protected |
Definition at line 217 of file class.ilExcCriteria.php.
References setDefinition(), setDescription(), setId(), setParent(), setPosition(), setRequired(), and setTitle().
|
abstract |
ilExcCriteria::initCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 335 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\initForm().
ilExcCriteria::isRequired | ( | ) |
Definition at line 166 of file class.ilExcCriteria.php.
References $required.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), ilExcCriteriaGUI\exportForm(), getDBProperties(), ilExcCriteriaBool\getHTML(), ilExcCriteriaFile\validate(), ilExcCriteriaText\validate(), and ilExcCriteriaRating\validate().
ilExcCriteria::resetReview | ( | ) |
Definition at line 379 of file class.ilExcCriteria.php.
ilExcCriteria::save | ( | ) |
Definition at line 258 of file class.ilExcCriteria.php.
References $db, $ilDB, getDBProperties(), getLastPosition(), getParent(), getType(), and update().
Referenced by ilExcCriteriaGUI\importForm(), and update().
|
protected |
Definition at line 181 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaText\importCustomForm(), importDefinition(), importFromDB(), and ilExcCriteriaText\setMinChars().
ilExcCriteria::setDescription | ( | $a_value | ) |
Definition at line 149 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
|
protected |
Definition at line 118 of file class.ilExcCriteria.php.
References getType().
Referenced by importFromDB().
ilExcCriteria::setParent | ( | $a_value | ) |
Definition at line 125 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
ilExcCriteria::setPeerReviewContext | ( | ilExAssignment | $a_ass, |
$a_giver_id, | |||
$a_peer_id, | |||
ilPropertyFormGUI | $a_form = null |
||
) |
Definition at line 353 of file class.ilExcCriteria.php.
References addToPeerReviewForm(), and importFromPeerReviewForm().
ilExcCriteria::setPosition | ( | $a_value | ) |
Definition at line 171 of file class.ilExcCriteria.php.
Referenced by importFromDB().
ilExcCriteria::setRequired | ( | $a_value | ) |
Definition at line 161 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
ilExcCriteria::setTitle | ( | $a_value | ) |
Definition at line 137 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
ilExcCriteria::update | ( | ) |
Definition at line 278 of file class.ilExcCriteria.php.
References $db, $ilDB, getDBProperties(), and save().
Referenced by ilExcCriteriaGUI\importForm(), and save().
ilExcCriteria::updateFromAjax | ( | ) |
Definition at line 365 of file class.ilExcCriteria.php.
ilExcCriteria::validate | ( | $a_value | ) |
Definition at line 370 of file class.ilExcCriteria.php.
References getHTML(), and hasValue().
|
protected |
Definition at line 27 of file class.ilExcCriteria.php.
|
protected |
Definition at line 16 of file class.ilExcCriteria.php.
Referenced by delete(), getLastPosition(), save(), and update().
|
protected |
Definition at line 24 of file class.ilExcCriteria.php.
Referenced by getDefinition(), ilExcCriteriaText\getMinChars(), and importDefinition().
|
protected |
Definition at line 21 of file class.ilExcCriteria.php.
Referenced by getDescription().
|
protected |
Definition at line 26 of file class.ilExcCriteria.php.
|
protected |
Definition at line 28 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaRating\hasValue(), ilExcCriteriaRating\resetReview(), and ilExcCriteriaRating\updateFromAjax().
|
protected |
Definition at line 18 of file class.ilExcCriteria.php.
Referenced by getId().
|
protected |
Definition at line 19 of file class.ilExcCriteria.php.
Referenced by getParent().
|
protected |
Definition at line 29 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaRating\hasValue(), ilExcCriteriaRating\renderWidget(), ilExcCriteriaRating\resetReview(), and ilExcCriteriaRating\updateFromAjax().
|
protected |
Definition at line 23 of file class.ilExcCriteria.php.
Referenced by getPosition().
|
protected |
Definition at line 22 of file class.ilExcCriteria.php.
Referenced by isRequired().
|
protected |
Definition at line 20 of file class.ilExcCriteria.php.
Referenced by getTitle().