ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct () | |
ilCmiXapiResult constructor. More... | |
getId () | |
setId (int $id) | |
getObjId () | |
setObjId (int $objId) | |
getUsrId () | |
setUsrId (int $usrId) | |
getVersion () | |
setVersion (int $version) | |
getScore () | |
setScore (float $score) | |
getStatus () | |
setStatus (string $status) | |
getLastUpdate () | |
setLastUpdate (string $lastUpdate) | |
save () | |
Static Public Member Functions | |
static | getInstanceByObjIdAndUsrId (int $objId, int $usrId) |
static | getEmptyInstance () |
static | getResultsForObject (int $objId) |
Protected Member Functions | |
update () | |
insert () | |
assignFromDbRow (array $row) | |
Protected Attributes | |
int | $id |
int | $objId |
int | $usrId |
int | $version |
float | $score |
string | $status |
string | $lastUpdate |
Private Attributes | |
ilDBInterface | $database |
Definition at line 30 of file class.ilCmiXapiResult.php.
ilCmiXapiResult::__construct | ( | ) |
ilCmiXapiResult constructor.
Definition at line 51 of file class.ilCmiXapiResult.php.
References $DIC.
|
protected |
Definition at line 172 of file class.ilCmiXapiResult.php.
References setId(), setLastUpdate(), setObjId(), setScore(), setStatus(), setUsrId(), and setVersion().
|
static |
Definition at line 208 of file class.ilCmiXapiResult.php.
Referenced by ilCmiXapiPlaceholderValues\getReachedScore(), and ilXapiStatementEvaluation\getUserResult().
ilCmiXapiResult::getId | ( | ) |
|
static |
ilCmiXapiException |
Definition at line 186 of file class.ilCmiXapiResult.php.
References $DIC, $query, and $res.
Referenced by ilLPStatusCmiXapiAbstract\getCmixUserResult(), ilCmiXapiPlaceholderValues\getReachedScore(), and ilXapiStatementEvaluation\getUserResult().
ilCmiXapiResult::getLastUpdate | ( | ) |
ilCmiXapiResult::getObjId | ( | ) |
Definition at line 74 of file class.ilCmiXapiResult.php.
References $objId.
Referenced by insert(), and update().
|
static |
Definition at line 216 of file class.ilCmiXapiResult.php.
References $DIC, $query, $res, and $results.
Referenced by ilLPStatusCmiXapiAbstract\loadStatusInfo().
ilCmiXapiResult::getScore | ( | ) |
Definition at line 104 of file class.ilCmiXapiResult.php.
References $score.
Referenced by insert(), and update().
ilCmiXapiResult::getStatus | ( | ) |
Definition at line 114 of file class.ilCmiXapiResult.php.
References $status.
Referenced by insert(), ilLPStatusCmiXapiCompletedOrPassed\resultSatisfyCompleted(), ilLPStatusCmiXapiPassed\resultSatisfyCompleted(), ilLPStatusCmiXapiCompleted\resultSatisfyCompleted(), ilLPStatusCmiXapiCompletedOrPassedWithFailed\resultSatisfyFailed(), ilLPStatusCmiXapiPassedWithFailed\resultSatisfyFailed(), ilLPStatusCmiXapiCompletedWithFailed\resultSatisfyFailed(), and update().
ilCmiXapiResult::getUsrId | ( | ) |
Definition at line 84 of file class.ilCmiXapiResult.php.
References $usrId.
Referenced by insert(), and update().
ilCmiXapiResult::getVersion | ( | ) |
Definition at line 94 of file class.ilCmiXapiResult.php.
References $version.
Referenced by insert(), and update().
|
protected |
Definition at line 157 of file class.ilCmiXapiResult.php.
References getId(), getObjId(), getScore(), getStatus(), getUsrId(), getVersion(), ilCmiXapiAuthToken\selectCurrentTimestamp(), and setId().
Referenced by save().
ilCmiXapiResult::save | ( | ) |
Definition at line 134 of file class.ilCmiXapiResult.php.
References getId(), insert(), and update().
ilCmiXapiResult::setId | ( | int | $id | ) |
Definition at line 69 of file class.ilCmiXapiResult.php.
References $id.
Referenced by assignFromDbRow(), and insert().
ilCmiXapiResult::setLastUpdate | ( | string | $lastUpdate | ) |
Definition at line 129 of file class.ilCmiXapiResult.php.
References $lastUpdate.
Referenced by assignFromDbRow().
ilCmiXapiResult::setObjId | ( | int | $objId | ) |
Definition at line 79 of file class.ilCmiXapiResult.php.
References $objId.
Referenced by assignFromDbRow().
ilCmiXapiResult::setScore | ( | float | $score | ) |
Definition at line 109 of file class.ilCmiXapiResult.php.
References $score.
Referenced by assignFromDbRow().
ilCmiXapiResult::setStatus | ( | string | $status | ) |
Definition at line 119 of file class.ilCmiXapiResult.php.
References $status.
Referenced by assignFromDbRow().
ilCmiXapiResult::setUsrId | ( | int | $usrId | ) |
Definition at line 89 of file class.ilCmiXapiResult.php.
References $usrId.
Referenced by assignFromDbRow().
ilCmiXapiResult::setVersion | ( | int | $version | ) |
Definition at line 99 of file class.ilCmiXapiResult.php.
References $version.
Referenced by assignFromDbRow().
|
protected |
Definition at line 143 of file class.ilCmiXapiResult.php.
References getId(), getObjId(), getScore(), getStatus(), getUsrId(), getVersion(), and ilCmiXapiAuthToken\selectCurrentTimestamp().
Referenced by save().
|
private |
Definition at line 46 of file class.ilCmiXapiResult.php.
|
protected |
Definition at line 32 of file class.ilCmiXapiResult.php.
|
protected |
Definition at line 44 of file class.ilCmiXapiResult.php.
Referenced by getLastUpdate(), and setLastUpdate().
|
protected |
Definition at line 34 of file class.ilCmiXapiResult.php.
Referenced by getObjId(), and setObjId().
|
protected |
Definition at line 40 of file class.ilCmiXapiResult.php.
Referenced by getScore(), and setScore().
|
protected |
Definition at line 42 of file class.ilCmiXapiResult.php.
Referenced by getStatus(), and setStatus().
|
protected |
Definition at line 36 of file class.ilCmiXapiResult.php.
Referenced by getUsrId(), and setUsrId().
|
protected |
Definition at line 38 of file class.ilCmiXapiResult.php.
Referenced by getVersion(), and setVersion().