| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
ilStudyProgrammeUserTable provides a flattened list of progresses at a programme-node. More...
 Collaboration diagram for ilStudyProgrammeUserTable:Public Member Functions | |
| __construct (protected ilDBInterface $db, protected ilExportFieldsInfo $export_fields_info, protected ilPRGAssignmentDBRepository $assignment_repo, protected ilLanguage $lng, protected ilPRGPermissionsHelper $permissions, protected ilCertificateDownloadValidator $cert_validator) | |
| getColumns (int $prg_id, bool $add_active_column=false, bool $add_cert_column=false) | |
| countFetchData (int $prg_id, ?array $valid_user_ids, ilPRGAssignmentFilter $custom_filters) | |
| fetchData (int $prg_id, ?array $valid_user_ids, Order $order, ilPRGAssignmentFilter $custom_filters=null, int $limit=null, int $offset=null) | |
| fetchSingleUserRootAssignments (int $usr_id) | |
| disablePermissionCheck ($flag=false) | |
| statusToRepresent ($a_status) | |
| boolToRepresent (bool $value) | |
| validToRepresent (ilPRGProgress $pgs) | |
| activeToRepresent (bool $value) | |
| assignmentSourceToRepresent (bool $manually, int $assignment_src) | |
| completionByToRepresent (ilPRGProgress $progress) | |
Static Public Member Functions | |
| static | lookupTitle (int $obj_id) | 
Data Fields | |
| const | OPTION_ALL = -1 | 
| const | VALIDITY_OPTION_VALID = 1 | 
| const | VALIDITY_OPTION_INVALID = 3 | 
| const | OPTION_USR_ACTIVE = 1 | 
| const | OPTION_USR_INACTIVE = 2 | 
| const | PRG_COLS | 
Protected Member Functions | |
| getUserDataColumns (int $prg_id) | |
| getPrgColumns () | |
| includeLearningProgress (int $usr_id) | |
| toRow (ilPRGAssignment $ass, int $node_id, array $cert_ass_ids) | |
| getUserDateFormat () | |
| completionByToCollection (ilPRGProgress $progress) | |
| postOrder (array $list, \ILIAS\Data\Order $order) | |
Protected Attributes | |
| const array | $user_ids_viewer_may_read_learning_progress_of | 
| $skip_perm_check_on_user = false | |
Private Attributes | |
| const | ORDER_MAPPING | 
ilStudyProgrammeUserTable provides a flattened list of progresses at a programme-node.
Definition at line 26 of file class.ilStudyProgrammeUserTable.php.
| ilStudyProgrammeUserTable::__construct | ( | protected ilDBInterface | $db, | 
| protected ilExportFieldsInfo | $export_fields_info, | ||
| protected ilPRGAssignmentDBRepository | $assignment_repo, | ||
| protected ilLanguage | $lng, | ||
| protected ilPRGPermissionsHelper | $permissions, | ||
| protected ilCertificateDownloadValidator | $cert_validator | ||
| ) | 
Definition at line 69 of file class.ilStudyProgrammeUserTable.php.
References ILIAS\Repository\lng(), and ilOrgUnitOperation\OP_READ_LEARNING_PROGRESS.
 Here is the call graph for this function:| ilStudyProgrammeUserTable::activeToRepresent | ( | bool | $value | ) | 
Definition at line 300 of file class.ilStudyProgrammeUserTable.php.
References ILIAS\Repository\lng().
Referenced by toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilStudyProgrammeUserTable::assignmentSourceToRepresent | ( | bool | $manually, | 
| int | $assignment_src | ||
| ) | 
Definition at line 305 of file class.ilStudyProgrammeUserTable.php.
References ilPRGAssignment\AUTO_ASSIGNED_BY_RESTART, ILIAS\Repository\lng(), and ilStudyProgrammeAutoMembershipSource\SOURCE_MAPPING.
Referenced by toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilStudyProgrammeUserTable::boolToRepresent | ( | bool | $value | ) | 
Definition at line 287 of file class.ilStudyProgrammeUserTable.php.
References ILIAS\Repository\lng().
Referenced by toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 333 of file class.ilStudyProgrammeUserTable.php.
References ilPRGProgress\COMPLETED_BY_SUBNODES, ilPRGProgress\getCompletionBy(), ilPRGProgress\getNodeId(), ILIAS\StudyProgramme\Assignment\Node\getSubnodes(), and ilPRGProgress\isSuccessful().
Referenced by completionByToRepresent(), and toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilStudyProgrammeUserTable::completionByToRepresent | ( | ilPRGProgress | $progress | ) | 
Definition at line 318 of file class.ilStudyProgrammeUserTable.php.
References $out, ilPRGProgress\COMPLETED_BY_SUBNODES, completionByToCollection(), and ilPRGProgress\getCompletionBy().
Referenced by toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilStudyProgrammeUserTable::countFetchData | ( | int | $prg_id, | 
| ?array | $valid_user_ids, | ||
| ilPRGAssignmentFilter | $custom_filters | ||
| ) | 
Definition at line 129 of file class.ilStudyProgrammeUserTable.php.
| ilStudyProgrammeUserTable::disablePermissionCheck | ( | $flag = false | ) | 
Definition at line 180 of file class.ilStudyProgrammeUserTable.php.
| ilStudyProgrammeUserTable::fetchData | ( | int | $prg_id, | 
| ?array | $valid_user_ids, | ||
| Order | $order, | ||
| ilPRGAssignmentFilter | $custom_filters = null,  | 
        ||
| int | $limit = null,  | 
        ||
| int | $offset = null  | 
        ||
| ) | 
| ilException | 
Definition at line 138 of file class.ilStudyProgrammeUserTable.php.
References $data, $r, postOrder(), and toRow().
 Here is the call graph for this function:| ilStudyProgrammeUserTable::fetchSingleUserRootAssignments | ( | int | $usr_id | ) | 
Definition at line 171 of file class.ilStudyProgrammeUserTable.php.
References $data, and toRow().
 Here is the call graph for this function:| ilStudyProgrammeUserTable::getColumns | ( | int | $prg_id, | 
| bool | $add_active_column = false,  | 
        ||
| bool | $add_cert_column = false  | 
        ||
| ) | 
Definition at line 104 of file class.ilStudyProgrammeUserTable.php.
References getPrgColumns(), getUserDataColumns(), and ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 93 of file class.ilStudyProgrammeUserTable.php.
References ILIAS\Repository\lng().
Referenced by getColumns().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 83 of file class.ilStudyProgrammeUserTable.php.
Referenced by getColumns().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 259 of file class.ilStudyProgrammeUserTable.php.
References ilCalendarUtil\getUserDateFormat().
Referenced by postOrder(), and toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 185 of file class.ilStudyProgrammeUserTable.php.
Referenced by toRow().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 349 of file class.ilStudyProgrammeUserTable.php.
References ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectDataDeletionLog\get(), and ilObjStudyProgramme\getRefIdFor().
Referenced by ilStudyProgrammeIndividualPlanTableGUI\fetchData(), and ilStudyProgrammeMembersTableGUI\fillRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 377 of file class.ilStudyProgrammeUserTable.php.
References Vendor\Package\$a, Vendor\Package\$b, getUserDateFormat(), ILIAS\Repository\int(), and ilStudyProgrammeUserTableRow\toArray().
Referenced by fetchData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilStudyProgrammeUserTable::statusToRepresent | ( | $a_status | ) | 
| ilException | 
Definition at line 267 of file class.ilStudyProgrammeUserTable.php.
References ILIAS\Repository\lng(), ilPRGProgress\STATUS_ACCREDITED, ilPRGProgress\STATUS_COMPLETED, ilPRGProgress\STATUS_FAILED, ilPRGProgress\STATUS_IN_PROGRESS, and ilPRGProgress\STATUS_NOT_RELEVANT.
Referenced by toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 191 of file class.ilStudyProgrammeUserTable.php.
References activeToRepresent(), assignmentSourceToRepresent(), boolToRepresent(), completionByToCollection(), completionByToRepresent(), ilStudyProgrammeUserTableRow\getCompletionBy(), ilStudyProgrammeUserTableRow\getCompletionDate(), ilStudyProgrammeUserTableRow\getDeadline(), ilPRGAssignment\getId(), ilObjStudyProgramme\getInstanceByObjId(), ilPRGAssignment\getLastChangeBy(), ilPRGAssignment\getProgressForNode(), ilPRGAssignment\getRestartDate(), ilPRGAssignment\getRootId(), getUserDateFormat(), ilPRGAssignment\getUserId(), ilPRGAssignment\getUserInformation(), includeLearningProgress(), ilPRGAssignment\isManuallyAssigned(), ILIAS\Repository\lng(), ilStudyProgrammeSettings\MODE_LP_COMPLETED, statusToRepresent(), and validToRepresent().
Referenced by fetchData(), and fetchSingleUserRootAssignments().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilStudyProgrammeUserTable::validToRepresent | ( | ilPRGProgress | $pgs | ) | 
Definition at line 292 of file class.ilStudyProgrammeUserTable.php.
References ilPRGProgress\isInvalidated(), ilPRGProgress\isSuccessful(), and ILIAS\Repository\lng().
Referenced by toRow().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 179 of file class.ilStudyProgrammeUserTable.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilStudyProgrammeUserTable.php.
| const ilStudyProgrammeUserTable::OPTION_ALL = -1 | 
Definition at line 28 of file class.ilStudyProgrammeUserTable.php.
Referenced by ilPRGAssignmentFilter\getCleanedValues(), and ilPRGAssignmentFilter\getItemConfig().
| const ilStudyProgrammeUserTable::OPTION_USR_ACTIVE = 1 | 
Definition at line 31 of file class.ilStudyProgrammeUserTable.php.
Referenced by ilPRGAssignmentFilter\getItemConfig(), and ilPRGAssignmentFilter\toConditions().
| const ilStudyProgrammeUserTable::OPTION_USR_INACTIVE = 2 | 
Definition at line 32 of file class.ilStudyProgrammeUserTable.php.
Referenced by ilPRGAssignmentFilter\getItemConfig(), and ilPRGAssignmentFilter\toConditions().
      
  | 
  private | 
Definition at line 52 of file class.ilStudyProgrammeUserTable.php.
| const ilStudyProgrammeUserTable::PRG_COLS | 
Definition at line 34 of file class.ilStudyProgrammeUserTable.php.
| const ilStudyProgrammeUserTable::VALIDITY_OPTION_INVALID = 3 | 
Definition at line 30 of file class.ilStudyProgrammeUserTable.php.
Referenced by ilPRGAssignmentFilter\getItemConfig(), and ilPRGAssignmentFilter\toConditions().
| const ilStudyProgrammeUserTable::VALIDITY_OPTION_VALID = 1 | 
Definition at line 29 of file class.ilStudyProgrammeUserTable.php.
Referenced by ilPRGAssignmentFilter\getItemConfig(), and ilPRGAssignmentFilter\toConditions().