17 return count(self::_getInProgress($a_obj_id));
23 return $prg->getIdsOfUsersWithNotCompletedAndRelevantProgress();
28 return count(self::_getCompleted($a_obj_id));
34 return $prg->getIdsOfUsersWithCompletedProgress();
40 return $prg->getIdsOfUsersWithFailedProgress();
46 $progresses = $prg->getProgressesOf($a_user_id);
51 foreach ($progresses as $progress) {
52 if ($progress->isSuccessful()) {
53 if (!$progress->isSuccessfulExpired()) {
59 if ($progress->isRelevant()) {
62 if ($progress->isFailed()) {
const LP_STATUS_COMPLETED_NUM
static _getFailed($a_obj_id)
const LP_STATUS_IN_PROGRESS_NUM
static _getInProgress($a_obj_id)
determineStatus($a_obj_id, $a_user_id, $a_obj=null)
const LP_STATUS_NOT_ATTEMPTED_NUM
static _getCountInProgress($a_obj_id)
static _getCountCompleted($a_obj_id)
static _getCompleted($a_obj_id)
const LP_STATUS_FAILED_NUM