ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
save () | |
Save a result object. More... | |
getId () | |
getObjId () | |
getUsrId () | |
getResult () | |
Static Public Member Functions | |
static | getById (int $a_id) |
Get a result by id. More... | |
static | getByKeys (int $a_obj_id, int $a_usr_id, ?bool $a_create=false) |
Get a result by object and user key. More... | |
static | getResultsForObject (int $objId) |
Data Fields | |
int | $id |
int | $obj_id |
int | $usr_id |
float | $result = null |
Protected Member Functions | |
fillData (array $data) | |
Fill the properties with data from an array. More... | |
Definition at line 29 of file class.ilLTIConsumerResult.php.
|
protected |
Fill the properties with data from an array.
array | assoc data |
Definition at line 107 of file class.ilLTIConsumerResult.php.
References $data, and ILIAS\Repository\int().
|
static |
Get a result by id.
Definition at line 54 of file class.ilLTIConsumerResult.php.
|
static |
Get a result by object and user key.
Definition at line 75 of file class.ilLTIConsumerResult.php.
Referenced by ilLTIConsumerGradeServiceScores\checkScore(), ilLTIConsumerPlaceholderValues\getReachedScore(), and ilLTIConsumerResultService\handleRequest().
ilLTIConsumerResult::getId | ( | ) |
ilLTIConsumerResult::getObjId | ( | ) |
Definition at line 156 of file class.ilLTIConsumerResult.php.
References $obj_id.
ilLTIConsumerResult::getResult | ( | ) |
Definition at line 166 of file class.ilLTIConsumerResult.php.
References $result.
|
static |
$objId |
Definition at line 175 of file class.ilLTIConsumerResult.php.
ilLTIConsumerResult::getUsrId | ( | ) |
Definition at line 161 of file class.ilLTIConsumerResult.php.
References $usr_id.
ilLTIConsumerResult::save | ( | ) |
Save a result object.
Definition at line 118 of file class.ilLTIConsumerResult.php.
References $DIC.
Referenced by ilLTIConsumerResultService\replaceResult().
int ilLTIConsumerResult::$id |
Definition at line 34 of file class.ilLTIConsumerResult.php.
Referenced by getId().
int ilLTIConsumerResult::$obj_id |
Definition at line 39 of file class.ilLTIConsumerResult.php.
Referenced by getObjId().
float ilLTIConsumerResult::$result = null |
Definition at line 49 of file class.ilLTIConsumerResult.php.
Referenced by getResult().
int ilLTIConsumerResult::$usr_id |
Definition at line 44 of file class.ilLTIConsumerResult.php.
Referenced by getUsrId().