ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Storage implementation for ilStudyProgrammeUserProgress. More...
Public Member Functions | |
getInstance ($a_assignment_id, $a_program_id, $a_user_id) | |
Get an instance. More... | |
getInstanceById ($a_prgrs_id) | |
Get an instance by progress id. More... | |
getInstancesForUser ($a_program_id, $a_user_id) | |
Get the instances that user has on program. More... | |
statusToRepr ($a_status) | |
Get a user readable representation of a status. More... | |
Static Public Member Functions | |
static | getInstanceForAssignment ($a_program_id, $a_assignment_id) |
Get the instance for the assignment on the program. More... | |
static | getInstancesForAssignment ($a_assignment_id) |
Get the instance for an assignment. More... | |
static | getInstancesForProgram ($a_program_id) |
Get the instances for a program node. More... | |
Storage implementation for ilStudyProgrammeUserProgress.
Definition at line 11 of file class.ilStudyProgrammeUserProgressDB.php.
ilStudyProgrammeUserProgressDB::getInstance | ( | $a_assignment_id, | |
$a_program_id, | |||
$a_user_id | |||
) |
Get an instance.
Just wraps constructor.
ilException |
int | $a_assignment_id | |
int | $a_program_id | |
int | $a_user_id |
Definition at line 23 of file class.ilStudyProgrammeUserProgressDB.php.
References array.
ilStudyProgrammeUserProgressDB::getInstanceById | ( | $a_prgrs_id | ) |
Get an instance by progress id.
int | $a_prgrs_id |
Definition at line 34 of file class.ilStudyProgrammeUserProgressDB.php.
|
static |
Get the instance for the assignment on the program.
Throws when the node does not belong to the assignment.
ilException |
int | $a_program_id | |
int | $a_user_id |
Definition at line 70 of file class.ilStudyProgrammeUserProgressDB.php.
References array, and ActiveRecord\where().
|
static |
Get the instance for an assignment.
Throws when the node does not belong to the assignment.
ilException |
int | $a_program_id | |
int | $a_user_id |
Definition at line 94 of file class.ilStudyProgrammeUserProgressDB.php.
References array, and ActiveRecord\where().
|
static |
Get the instances for a program node.
int | $a_program_id |
Definition at line 114 of file class.ilStudyProgrammeUserProgressDB.php.
References array, and ActiveRecord\where().
ilStudyProgrammeUserProgressDB::getInstancesForUser | ( | $a_program_id, | |
$a_user_id | |||
) |
Get the instances that user has on program.
int | $a_program_id | |
int | $a_user_id |
Definition at line 50 of file class.ilStudyProgrammeUserProgressDB.php.
References array, and ActiveRecord\where().
ilStudyProgrammeUserProgressDB::statusToRepr | ( | $a_status | ) |
Get a user readable representation of a status.
Definition at line 126 of file class.ilStudyProgrammeUserProgressDB.php.
References $DIC, $lng, ilStudyProgrammeProgress\STATUS_ACCREDITED, ilStudyProgrammeProgress\STATUS_COMPLETED, ilStudyProgrammeProgress\STATUS_FAILED, ilStudyProgrammeProgress\STATUS_IN_PROGRESS, and ilStudyProgrammeProgress\STATUS_NOT_RELEVANT.