ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilExcCriteriaRating. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getType () | |
addToPeerReviewForm ($a_value=null) | |
importFromPeerReviewForm () | |
updateFromAjax () | |
validate ($a_value) | |
hasValue ($a_value) | |
getHTML ($a_value) | |
resetReview () | |
Public Member Functions inherited from ilExcCriteria | |
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 () | |
Protected Member Functions | |
getRatingSubType () | |
renderWidget ($a_read_only=false) | |
Protected Member Functions inherited from ilExcCriteria | |
__construct () | |
setId ($a_id) | |
setDefinition (array $a_value=null) | |
getDefinition () | |
importFromDB (array $a_row) | |
getDBProperties () | |
getLastPosition () | |
Protected Attributes | |
$tpl | |
$ctrl | |
$lng | |
Protected Attributes inherited from ilExcCriteria | |
$db | |
$id | |
$parent | |
$title | |
$desc | |
$required | |
$pos | |
$def | |
$form | |
$ass | |
$giver_id | |
$peer_id | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilExcCriteria | |
static | getInstanceById ($a_id) |
static | getInstancesByParentId ($a_parent_id) |
static | getTypesMap () |
static | getInstanceByType ($a_type) |
static | deleteByParent ($a_parent_id) |
Class ilExcCriteriaRating.
Definition at line 13 of file class.ilExcCriteriaRating.php.
ilExcCriteriaRating::__construct | ( | ) |
ilExcCriteriaRating::addToPeerReviewForm | ( | $a_value = null | ) |
Definition at line 52 of file class.ilExcCriteriaRating.php.
References $_POST, $ctrl, $ilCtrl, $tpl, ilExcCriteria\getDescription(), ilExcCriteria\getId(), ilExcCriteria\getTitle(), hasValue(), ilExcCriteria\isRequired(), and renderWidget().
ilExcCriteriaRating::getHTML | ( | $a_value | ) |
Definition at line 163 of file class.ilExcCriteriaRating.php.
References renderWidget().
|
protected |
Definition at line 79 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\getId().
Referenced by hasValue(), renderWidget(), resetReview(), and updateFromAjax().
ilExcCriteriaRating::getType | ( | ) |
Definition at line 44 of file class.ilExcCriteriaRating.php.
ilExcCriteriaRating::hasValue | ( | $a_value | ) |
Definition at line 151 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 113 of file class.ilExcCriteriaRating.php.
|
protected |
Definition at line 86 of file class.ilExcCriteriaRating.php.
References $html, ilExcCriteria\$peer_id, ilExcCriteria\getId(), and getRatingSubType().
Referenced by addToPeerReviewForm(), getHTML(), and updateFromAjax().
ilExcCriteriaRating::resetReview | ( | ) |
Definition at line 168 of file class.ilExcCriteriaRating.php.
References ilExcCriteria\$giver_id, ilExcCriteria\$peer_id, getRatingSubType(), and ilRating\resetRatingForUserAndObject().
ilExcCriteriaRating::updateFromAjax | ( | ) |
Definition at line 118 of file class.ilExcCriteriaRating.php.
References $_POST, ilExcCriteria\$giver_id, ilExcCriteria\$peer_id, getRatingSubType(), renderWidget(), and ilRating\writeRatingForUserAndObject().
ilExcCriteriaRating::validate | ( | $a_value | ) |
Definition at line 136 of file class.ilExcCriteriaRating.php.
References $lng, ilExcCriteria\getId(), hasValue(), and ilExcCriteria\isRequired().
|
protected |
Definition at line 23 of file class.ilExcCriteriaRating.php.
Referenced by addToPeerReviewForm().
|
protected |
Definition at line 28 of file class.ilExcCriteriaRating.php.
Referenced by validate().
|
protected |
Definition at line 18 of file class.ilExcCriteriaRating.php.
Referenced by addToPeerReviewForm().