ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
getTranslatedType () | |
getId () | |
getType () | |
setParent (?int $a_value) | |
getParent () | |
setTitle (?string $a_value) | |
getTitle () | |
setDescription (?string $a_value) | |
getDescription () | |
setRequired (bool $a_value) | |
isRequired () | |
setPosition (int $a_value) | |
getPosition () | |
importDefinition (string $a_def, string $a_def_json) | |
save () | |
update () | |
delete () | |
cloneObject (int $a_target_parent_id) | |
initCustomForm (ilPropertyFormGUI $a_form) | |
exportCustomForm (ilPropertyFormGUI $a_form) | |
importCustomForm (ilPropertyFormGUI $a_form) | |
setPeerReviewContext (ilExAssignment $a_ass, int $a_giver_id, int $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 (int $a_id) |
static | getInstancesByParentId (int $a_parent_id) |
static | getTypesMap () |
static | getInstanceByType (string $a_type) |
static | deleteByParent (int $a_parent_id) |
Protected Member Functions | |
setId (?int $a_id) | |
setDefinition (?array $a_value=null) | |
getDefinition () | |
importFromDB (array $a_row) | |
getDBProperties () | |
getLastPosition () | |
Protected Attributes | |
ilLanguage | $lng |
ilCtrl | $ctrl |
ilDBInterface | $db |
int | $id = null |
int | $parent = null |
string | $title = "" |
string | $desc = "" |
bool | $required = false |
int | $pos = 0 |
array | $def = null |
ilPropertyFormGUI | $form = null |
ilExAssignment | $ass |
int | $giver_id = 0 |
int | $peer_id = 0 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilExcCriteria.
Note: This class does stuff on application and gui layer and should be divided in multiple interfaces.
Definition at line 28 of file class.ilExcCriteria.php.
ilExcCriteria::__construct | ( | ) |
Definition at line 45 of file class.ilExcCriteria.php.
References $DIC, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
abstract |
ilExcCriteria::cloneObject | ( | int | $a_target_parent_id | ) |
Definition at line 334 of file class.ilExcCriteria.php.
References getDefinition(), getDescription(), getInstanceByType(), getPosition(), getTitle(), getType(), and isRequired().
ilExcCriteria::delete | ( | ) |
Definition at line 308 of file class.ilExcCriteria.php.
|
static |
Definition at line 320 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaCatalogue\delete().
ilExcCriteria::exportCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 358 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\exportForm().
|
protected |
Definition at line 245 of file class.ilExcCriteria.php.
References getDefinition(), getDescription(), getPosition(), getTitle(), getType(), isRequired(), and null.
Referenced by save(), and update().
|
protected |
Definition at line 201 of file class.ilExcCriteria.php.
References $def.
Referenced by cloneObject(), getDBProperties(), and ilExcCriteriaText\getMinChars().
ilExcCriteria::getDescription | ( | ) |
Definition at line 171 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 134 of file class.ilExcCriteria.php.
References $id.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), ilExcCriteriaFile\getFiles(), ilExcCriteriaFile\getHTML(), ilExcCriteriaRating\getRatingSubType(), ilExcCriteriaGUI\importForm(), ilExcCriteriaBool\importFromPeerReviewForm(), ilExcCriteriaFile\importFromPeerReviewForm(), ilExcCriteriaGUI\initForm(), ilExcCriteriaRating\renderWidget(), ilExcCriteriaFile\resetReview(), ilExcCriteriaFile\validate(), ilExcCriteriaText\validate(), and ilExcCriteriaRating\validate().
|
static |
Definition at line 54 of file class.ilExcCriteria.php.
References $DIC, $ilDB, and null.
Referenced by ilExPeerReviewGUI\downloadPeerReviewObject(), ilExcCriteriaGUI\getCurrentCritera(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExPeerReviewGUI\updateCritAjaxObject().
|
static |
Definition at line 123 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\add(), cloneObject(), ilExcCriteriaGUI\create(), ilExPeerReviewGUI\downloadPeerReviewObject(), ilExAssignment\getPeerReviewCriteriaCatalogue(), ilExerciseDataSet\importRecord(), ilExerciseManagementCollectFilesJob\isExcelNeeded(), and ilExPeerReviewGUI\updateCritAjaxObject().
|
static |
int | $a_parent_id |
Definition at line 77 of file class.ilExcCriteria.php.
References $DIC, $ilDB, and $res.
Referenced by ilExcCriteriaCatalogue\cloneObject(), ilExcCriteriaGUI\confirmDeletion(), ilExcCriteriaGUI\delete(), ilExcCriteriaTableGUI\getItems(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExAssignment\getPeerReviewCriteriaCatalogue(), ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExcCriteriaGUI\saveOrder().
|
protected |
Definition at line 259 of file class.ilExcCriteria.php.
References $db, $ilDB, and getParent().
Referenced by save().
ilExcCriteria::getParent | ( | ) |
Definition at line 151 of file class.ilExcCriteria.php.
References $parent.
Referenced by getLastPosition(), and save().
ilExcCriteria::getPosition | ( | ) |
Definition at line 191 of file class.ilExcCriteria.php.
References $pos.
Referenced by cloneObject(), and getDBProperties().
ilExcCriteria::getTitle | ( | ) |
Definition at line 161 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 117 of file class.ilExcCriteria.php.
References getType(), and getTypesMap().
Referenced by ilExcCriteriaGUI\initForm().
|
abstract |
Referenced by cloneObject(), getDBProperties(), getTranslatedType(), save(), and setId().
|
static |
Definition at line 103 of file class.ilExcCriteria.php.
References $DIC, and ilLanguage\txt().
Referenced by getTranslatedType(), and ilExcCriteriaGUI\view().
|
abstract |
ilExcCriteria::importCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 363 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm().
ilExcCriteria::importDefinition | ( | string | $a_def, |
string | $a_def_json | ||
) |
Definition at line 206 of file class.ilExcCriteria.php.
References setDefinition().
|
protected |
Definition at line 232 of file class.ilExcCriteria.php.
References null, setDefinition(), setDescription(), setId(), setParent(), setPosition(), setRequired(), and setTitle().
|
abstract |
ilExcCriteria::initCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 353 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\initForm().
ilExcCriteria::isRequired | ( | ) |
Definition at line 181 of file class.ilExcCriteria.php.
References $required.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), ilExcCriteriaGUI\exportForm(), getDBProperties(), ilExcCriteriaBool\getHTML(), ilExcCriteriaBool\hasValue(), ilExcCriteriaFile\validate(), ilExcCriteriaText\validate(), and ilExcCriteriaRating\validate().
ilExcCriteria::resetReview | ( | ) |
Definition at line 401 of file class.ilExcCriteria.php.
ilExcCriteria::save | ( | ) |
Definition at line 274 of file class.ilExcCriteria.php.
References $db, $ilDB, getDBProperties(), getLastPosition(), getParent(), getType(), and update().
Referenced by ilExcCriteriaGUI\importForm(), and update().
|
protected |
Definition at line 196 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaText\importCustomForm(), importDefinition(), importFromDB(), and ilExcCriteriaText\setMinChars().
ilExcCriteria::setDescription | ( | ?string | $a_value | ) |
Definition at line 166 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
|
protected |
Definition at line 139 of file class.ilExcCriteria.php.
References getType().
Referenced by importFromDB().
ilExcCriteria::setParent | ( | ?int | $a_value | ) |
Definition at line 146 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
ilExcCriteria::setPeerReviewContext | ( | ilExAssignment | $a_ass, |
int | $a_giver_id, | ||
int | $a_peer_id, | ||
?ilPropertyFormGUI | $a_form = null |
||
) |
Definition at line 371 of file class.ilExcCriteria.php.
References addToPeerReviewForm(), ILIAS\Repository\form(), importFromPeerReviewForm(), and null.
ilExcCriteria::setPosition | ( | int | $a_value | ) |
Definition at line 186 of file class.ilExcCriteria.php.
Referenced by importFromDB().
ilExcCriteria::setRequired | ( | bool | $a_value | ) |
Definition at line 176 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
ilExcCriteria::setTitle | ( | ?string | $a_value | ) |
Definition at line 156 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\importForm(), and importFromDB().
ilExcCriteria::update | ( | ) |
Definition at line 295 of file class.ilExcCriteria.php.
References $db, $ilDB, getDBProperties(), and save().
Referenced by ilExcCriteriaGUI\importForm(), and save().
ilExcCriteria::updateFromAjax | ( | ) |
Definition at line 387 of file class.ilExcCriteria.php.
ilExcCriteria::validate | ( | $a_value | ) |
Definition at line 392 of file class.ilExcCriteria.php.
References getHTML(), and hasValue().
|
protected |
Definition at line 41 of file class.ilExcCriteria.php.
|
protected |
Definition at line 31 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaRating\addToPeerReviewForm(), and ilExcCriteriaFile\getHTML().
|
protected |
Definition at line 32 of file class.ilExcCriteria.php.
Referenced by delete(), getLastPosition(), save(), and update().
|
protected |
Definition at line 39 of file class.ilExcCriteria.php.
Referenced by getDefinition(), and ilExcCriteriaText\getMinChars().
|
protected |
Definition at line 36 of file class.ilExcCriteria.php.
Referenced by getDescription().
|
protected |
Definition at line 40 of file class.ilExcCriteria.php.
|
protected |
Definition at line 42 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaRating\hasValue(), ilExcCriteriaRating\resetReview(), and ilExcCriteriaRating\updateFromAjax().
|
protected |
Definition at line 33 of file class.ilExcCriteria.php.
Referenced by getId().
|
protected |
Definition at line 30 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), ilExcCriteriaBool\getHTML(), ilExcCriteriaText\initCustomForm(), ilExcCriteriaFile\validate(), ilExcCriteriaText\validate(), and ilExcCriteriaRating\validate().
|
protected |
Definition at line 34 of file class.ilExcCriteria.php.
Referenced by getParent().
|
protected |
Definition at line 43 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaRating\hasValue(), ilExcCriteriaRating\renderWidget(), ilExcCriteriaRating\resetReview(), and ilExcCriteriaRating\updateFromAjax().
|
protected |
Definition at line 38 of file class.ilExcCriteria.php.
Referenced by getPosition().
|
protected |
Definition at line 37 of file class.ilExcCriteria.php.
Referenced by isRequired().
|
protected |
Definition at line 35 of file class.ilExcCriteria.php.
Referenced by getTitle().