ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (int $a_obj_id, int $a_usr_id) | |
getUserId () | |
setMark (string $a_mark) | |
getMark () | |
setComment (string $a_comment) | |
getComment () | |
setCompleted (bool $a_status) | |
getCompleted () | |
getStatusChanged () | |
getObjId () | |
update () | |
__read () | |
__add () | |
Static Public Member Functions | |
static | deleteObject (int $a_obj_id) |
static | _hasCompleted (int $a_usr_id, int $a_obj_id) |
static | getCompletionsOfUser (int $user_id, string $from, string $to) |
static | _lookupMark (int $a_usr_id, int $a_obj_id) |
static | _lookupComment (int $a_usr_id, int $a_obj_id) |
static | _deleteForUsers (int $a_obj_id, array $a_user_ids) |
static | _getAllUserIds (int $a_obj_id) |
Protected Attributes | |
ilDBInterface | $db |
ilObjectDataCache | $ilObjectDataCache |
int | $obj_id |
int | $usr_id |
string | $obj_type |
bool | $completed = false |
string | $comment = '' |
string | $mark = '' |
string | $status_changed = '' |
$has_entry = false | |
Definition at line 30 of file class.ilLPMarks.php.
ilLPMarks::__construct | ( | int | $a_obj_id, |
int | $a_usr_id | ||
) |
Definition at line 46 of file class.ilLPMarks.php.
References $DIC, __read(), and ilObjectDataCache\lookupType().
ilLPMarks::__add | ( | ) |
Definition at line 250 of file class.ilLPMarks.php.
References $query, $res, getComment(), getCompleted(), getMark(), getObjId(), and getUserId().
Referenced by update().
ilLPMarks::__read | ( | ) |
Definition at line 229 of file class.ilLPMarks.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by __construct().
|
static |
Definition at line 264 of file class.ilLPMarks.php.
Referenced by ilObjectLP\resetLPDataForUserIds().
|
static |
Definition at line 278 of file class.ilLPMarks.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilObjectLP\gatherLPUsers().
|
static |
Definition at line 140 of file class.ilLPMarks.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilContentPageKioskModeView\buildLearningProgressToggleControl(), and ilLearningModuleKioskModeView\maybeBuildLearningProgressToggleControl().
|
static |
Definition at line 211 of file class.ilLPMarks.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilWikiContributorsTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilObjExerciseGUI\getService(), and ilObjWikiGUI\infoScreen().
|
static |
Definition at line 194 of file class.ilLPMarks.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLearningProgressBaseGUI\__appendLPDetails(), ilObjExercise\exportGradesExcel(), ilWikiContributorsTableGUI\fillRow(), ilExGradesTableGUI\fillRow(), ilCourseMailTemplateTutorContext\getCachedPeriodByObjId(), ilScormMailTemplateLPContext\getDescription(), ilObjExerciseGUI\getService(), ilObjWikiGUI\infoScreen(), and ilCertificateLPMarksHelper\lookUpMark().
|
static |
Definition at line 60 of file class.ilLPMarks.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilEventParticipants\_deleteByEvent(), and ilObjectLP\handleDelete().
ilLPMarks::getComment | ( | ) |
Definition at line 91 of file class.ilLPMarks.php.
References $comment.
Referenced by __add(), ilObjWikiGUI\saveGradingObject(), and update().
ilLPMarks::getCompleted | ( | ) |
Definition at line 101 of file class.ilLPMarks.php.
References $completed.
Referenced by __add(), ilContentPageKioskModeView\toggleLearningProgress(), and update().
|
static |
Definition at line 157 of file class.ilLPMarks.php.
References $DIC, $ilDB, $query, ILIAS\Repository\int(), and ilLPStatus\LP_STATUS_COMPLETED_NUM.
Referenced by ilTrackingLearningHistoryProvider\getEntries().
ilLPMarks::getMark | ( | ) |
Definition at line 81 of file class.ilLPMarks.php.
References $mark.
Referenced by __add(), and update().
ilLPMarks::getObjId | ( | ) |
Definition at line 111 of file class.ilLPMarks.php.
References $obj_id.
Referenced by __add(), and update().
ilLPMarks::getStatusChanged | ( | ) |
ilLPMarks::getUserId | ( | ) |
Definition at line 71 of file class.ilLPMarks.php.
References $usr_id.
Referenced by __add(), and update().
ilLPMarks::setComment | ( | string | $a_comment | ) |
Definition at line 86 of file class.ilLPMarks.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
ilLPMarks::setCompleted | ( | bool | $a_status | ) |
Definition at line 96 of file class.ilLPMarks.php.
Referenced by ilInfoScreenGUI\saveProgress(), and ilObjCourseGUI\updateLPFromStatus().
ilLPMarks::setMark | ( | string | $a_mark | ) |
Definition at line 76 of file class.ilLPMarks.php.
ilLPMarks::update | ( | ) |
Definition at line 116 of file class.ilLPMarks.php.
References $query, $res, __add(), getComment(), getCompleted(), getMark(), getObjId(), and getUserId().
|
protected |
Definition at line 40 of file class.ilLPMarks.php.
Referenced by getComment().
|
protected |
Definition at line 39 of file class.ilLPMarks.php.
Referenced by getCompleted().
|
protected |
Definition at line 32 of file class.ilLPMarks.php.
|
protected |
Definition at line 44 of file class.ilLPMarks.php.
|
protected |
Definition at line 33 of file class.ilLPMarks.php.
|
protected |
Definition at line 41 of file class.ilLPMarks.php.
Referenced by getMark().
|
protected |
Definition at line 35 of file class.ilLPMarks.php.
Referenced by getObjId().
|
protected |
Definition at line 37 of file class.ilLPMarks.php.
|
protected |
Definition at line 42 of file class.ilLPMarks.php.
Referenced by getStatusChanged().
|
protected |
Definition at line 36 of file class.ilLPMarks.php.
Referenced by getUserId().