ILIAS
release_8 Revision v8.19
|
Class ilExcCriteriaRating. More...
Protected Member Functions | |
getRatingSubType () | |
renderWidget (bool $a_read_only=false) | |
![]() | |
setId (?int $a_id) | |
setDefinition (?array $a_value=null) | |
getDefinition () | |
importFromDB (array $a_row) | |
getDBProperties () | |
getLastPosition () | |
Protected Attributes | |
ILIAS HTTP Services | $http |
ilGlobalTemplateInterface | $tpl |
ilCustomInputGUI | $form_item |
GUIRequest | $request |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static | getInstanceById (int $a_id) |
static | getInstancesByParentId (int $a_parent_id) |
static | getTypesMap () |
static | getInstanceByType (string $a_type) |
static | deleteByParent (int $a_parent_id) |
Class ilExcCriteriaRating.
Definition at line 27 of file class.ilExcCriteriaRating.php.
ilExcCriteriaRating::__construct | ( | ) |
Constructor.
Definition at line 37 of file class.ilExcCriteriaRating.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\FileDelivery\http().
ilExcCriteriaRating::addToPeerReviewForm | ( | $a_value = null | ) |
Definition at line 55 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$ctrl, $tpl, ilGlobalTemplateInterface\addJavaScript(), ilGlobalTemplateInterface\addOnLoadCode(), ILIAS\Repository\form(), ilExcCriteria\getDescription(), ilExcCriteria\getId(), ilExcCriteria\getTitle(), hasValue(), ilExcCriteria\isRequired(), and renderWidget().
ilExcCriteriaRating::getHTML | ( | $a_value | ) |
Definition at line 159 of file class.ilExcCriteriaRating.php.
References renderWidget().
|
protected |
Definition at line 81 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\getId().
Referenced by hasValue(), renderWidget(), resetReview(), and updateFromAjax().
ilExcCriteriaRating::getType | ( | ) |
Definition at line 47 of file class.ilExcCriteriaRating.php.
ilExcCriteriaRating::hasValue | ( | $a_value | ) |
Definition at line 148 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$giver_id, ilExcCriteria\$peer_id, ilRating\getRatingForUserAndObject(), and getRatingSubType().
Referenced by addToPeerReviewForm(), and validate().
ilExcCriteriaRating::importFromPeerReviewForm | ( | ) |
Definition at line 112 of file class.ilExcCriteriaRating.php.
|
protected |
Definition at line 88 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$peer_id, ilExcCriteria\getId(), and getRatingSubType().
Referenced by addToPeerReviewForm(), getHTML(), and updateFromAjax().
ilExcCriteriaRating::resetReview | ( | ) |
Definition at line 164 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$giver_id, ilExcCriteria\$peer_id, getRatingSubType(), and ilRating\resetRatingForUserAndObject().
ilExcCriteriaRating::updateFromAjax | ( | ) |
Definition at line 117 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$giver_id, ilExcCriteria\$peer_id, getRatingSubType(), renderWidget(), and ilRating\writeRatingForUserAndObject().
ilExcCriteriaRating::validate | ( | $a_value | ) |
Definition at line 133 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$lng, ILIAS\Repository\form(), ilExcCriteria\getId(), hasValue(), ilExcCriteria\isRequired(), and ilLanguage\txt().
|
protected |
Definition at line 31 of file class.ilExcCriteriaRating.php.
|
protected |
Definition at line 29 of file class.ilExcCriteriaRating.php.
|
protected |
Definition at line 32 of file class.ilExcCriteriaRating.php.
|
protected |
Definition at line 30 of file class.ilExcCriteriaRating.php.
Referenced by addToPeerReviewForm().