|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilExcCriteria:
Collaboration diagram for ilExcCriteria: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 | ( | ) |
Reimplemented in ilExcCriteriaRating.
Definition at line 45 of file class.ilExcCriteria.php.
References $DIC, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
abstract |
Reimplemented in ilExcCriteriaBool, ilExcCriteriaFile, ilExcCriteriaRating, and ilExcCriteriaText.
| 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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| ilExcCriteria::exportCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Reimplemented in ilExcCriteriaText.
Definition at line 358 of file class.ilExcCriteria.php.
|
protected |
Definition at line 245 of file class.ilExcCriteria.php.
References getDefinition(), getDescription(), getPosition(), getTitle(), getType(), and isRequired().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 201 of file class.ilExcCriteria.php.
References $def.
Referenced by cloneObject(), getDBProperties(), and ilExcCriteriaText\getMinChars().
Here is the caller graph for this function:| ilExcCriteria::getDescription | ( | ) |
Definition at line 171 of file class.ilExcCriteria.php.
References $desc.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), and getDBProperties().
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilExcCriteriaBool, ilExcCriteriaFile, ilExcCriteriaRating, and ilExcCriteriaText.
| ilExcCriteria::getId | ( | ) |
Definition at line 134 of file class.ilExcCriteria.php.
References $id.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), ilExcCriteriaFile\getHTML(), ilExcCriteriaRating\getRatingSubType(), ilExcCriteriaBool\importFromPeerReviewForm(), ilExcCriteriaFile\importFromPeerReviewForm(), ilExcCriteriaGUI\initForm(), ilExcCriteriaFile\initStorage(), ilExcCriteriaRating\renderWidget(), ilExcCriteriaFile\validate(), ilExcCriteriaRating\validate(), and ilExcCriteriaText\validate().
Here is the caller graph for this function:
|
static |
Definition at line 54 of file class.ilExcCriteria.php.
References $DIC, $ilDB, and getInstanceByType().
Referenced by ilExPeerReviewGUI\downloadPeerReviewObject(), ilExcCriteriaGUI\getCurrentCritera(), and ilExPeerReviewGUI\updateCritAjaxObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 123 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\add(), cloneObject(), ilExcCriteriaGUI\create(), ilExPeerReviewGUI\downloadPeerReviewObject(), getInstanceById(), getInstancesByParentId(), and ilExPeerReviewGUI\updateCritAjaxObject().
Here is the caller graph for this function:
|
static |
| int | $a_parent_id |
Definition at line 77 of file class.ilExcCriteria.php.
References $DIC, $ilDB, $res, and getInstanceByType().
Referenced by ilExcCriteriaCatalogue\cloneObject(), ilExcCriteriaGUI\confirmDeletion(), ilExcCriteriaGUI\delete(), ilExcCriteriaCatalogueTableGUI\getItems(), ilExcCriteriaTableGUI\getItems(), ilExAssignmentEditorGUI\initPeerReviewForm(), and ilExcCriteriaGUI\saveOrder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 259 of file class.ilExcCriteria.php.
References $db, $ilDB, and getParent().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExcCriteria::getParent | ( | ) |
Definition at line 151 of file class.ilExcCriteria.php.
References $parent.
Referenced by getLastPosition(), and save().
Here is the caller graph for this function:| ilExcCriteria::getPosition | ( | ) |
Definition at line 191 of file class.ilExcCriteria.php.
References $pos.
Referenced by cloneObject(), and getDBProperties().
Here is the caller graph for this function:| ilExcCriteria::getTitle | ( | ) |
Definition at line 161 of file class.ilExcCriteria.php.
References $title.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), and getDBProperties().
Here is the caller graph for this function:| ilExcCriteria::getTranslatedType | ( | ) |
Definition at line 117 of file class.ilExcCriteria.php.
References getType(), and getTypesMap().
Referenced by ilExcCriteriaGUI\initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilExcCriteriaBool, ilExcCriteriaFile, ilExcCriteriaRating, and ilExcCriteriaText.
Referenced by cloneObject(), getDBProperties(), getTranslatedType(), and save().
Here is the caller graph for this function:
|
static |
Definition at line 103 of file class.ilExcCriteria.php.
References $DIC, $lng, and ilLanguage\txt().
Referenced by getTranslatedType(), and ilExcCriteriaGUI\view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilExcCriteriaBool, ilExcCriteriaFile, ilExcCriteriaRating, and ilExcCriteriaText.
| ilExcCriteria::importCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Reimplemented in ilExcCriteriaText.
Definition at line 363 of file class.ilExcCriteria.php.
| ilExcCriteria::importDefinition | ( | string | $a_def, |
| string | $a_def_json | ||
| ) |
Definition at line 206 of file class.ilExcCriteria.php.
References $def, and setDefinition().
Here is the call graph for this function:
|
protected |
Definition at line 232 of file class.ilExcCriteria.php.
References setDefinition(), setDescription(), setId(), setParent(), setPosition(), setRequired(), and setTitle().
Here is the call graph for this function:
|
abstract |
Reimplemented in ilExcCriteriaBool, ilExcCriteriaFile, ilExcCriteriaRating, and ilExcCriteriaText.
| ilExcCriteria::initCustomForm | ( | ilPropertyFormGUI | $a_form | ) |
Reimplemented in ilExcCriteriaText.
Definition at line 353 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaGUI\initForm().
Here is the caller graph for this function:| ilExcCriteria::isRequired | ( | ) |
Definition at line 181 of file class.ilExcCriteria.php.
References $required.
Referenced by ilExcCriteriaBool\addToPeerReviewForm(), ilExcCriteriaFile\addToPeerReviewForm(), ilExcCriteriaRating\addToPeerReviewForm(), ilExcCriteriaText\addToPeerReviewForm(), cloneObject(), getDBProperties(), ilExcCriteriaBool\getHTML(), ilExcCriteriaBool\hasValue(), ilExcCriteriaFile\validate(), ilExcCriteriaRating\validate(), and ilExcCriteriaText\validate().
Here is the caller graph for this function:| ilExcCriteria::resetReview | ( | ) |
Reimplemented in ilExcCriteriaFile, and ilExcCriteriaRating.
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 update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 196 of file class.ilExcCriteria.php.
Referenced by ilExcCriteriaText\importCustomForm(), importDefinition(), importFromDB(), and ilExcCriteriaText\setMinChars().
Here is the caller graph for this function:| ilExcCriteria::setDescription | ( | ?string | $a_value | ) |
Definition at line 166 of file class.ilExcCriteria.php.
Referenced by importFromDB().
Here is the caller graph for this function:
|
protected |
Definition at line 139 of file class.ilExcCriteria.php.
Referenced by importFromDB().
Here is the caller graph for this function:| ilExcCriteria::setParent | ( | ?int | $a_value | ) |
Definition at line 146 of file class.ilExcCriteria.php.
Referenced by importFromDB().
Here is the caller graph for this function:| 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 ILIAS\Repository\form().
Here is the call graph for this function:| ilExcCriteria::setPosition | ( | int | $a_value | ) |
Definition at line 186 of file class.ilExcCriteria.php.
Referenced by importFromDB().
Here is the caller graph for this function:| ilExcCriteria::setRequired | ( | bool | $a_value | ) |
Definition at line 176 of file class.ilExcCriteria.php.
Referenced by importFromDB().
Here is the caller graph for this function:| ilExcCriteria::setTitle | ( | ?string | $a_value | ) |
Definition at line 156 of file class.ilExcCriteria.php.
Referenced by importFromDB().
Here is the caller graph for this function:| ilExcCriteria::update | ( | ) |
Definition at line 295 of file class.ilExcCriteria.php.
References $db, $ilDB, getDBProperties(), and save().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilExcCriteria::updateFromAjax | ( | ) |
Reimplemented in ilExcCriteriaRating.
Definition at line 387 of file class.ilExcCriteria.php.
| ilExcCriteria::validate | ( | $a_value | ) |
Reimplemented in ilExcCriteriaFile, ilExcCriteriaRating, and ilExcCriteriaText.
Definition at line 392 of file class.ilExcCriteria.php.
|
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(), ilExcCriteriaText\getMinChars(), and importDefinition().
|
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.
|
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(), getTypesMap(), ilExcCriteriaText\initCustomForm(), ilExcCriteriaFile\validate(), ilExcCriteriaRating\validate(), and ilExcCriteriaText\validate().
|
protected |
Definition at line 34 of file class.ilExcCriteria.php.
Referenced by getParent().
|
protected |
Definition at line 43 of file class.ilExcCriteria.php.
|
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().