ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (ilLanguage $lng, ilObjUser $user, ilAccess $access, ilSetting $setting, ILIAS\UI\Factory $factory, ILIAS\UI\Renderer $renderer, ilCtrl $ctrl, ilLogger $log) | |
getHTML () | |
Protected Member Functions | |
getProgressRepository () | |
getAssignmentRepository () | |
getUsersAssignments () | |
isInProgress (int $current_status) | |
fillValidation (?bool $valid, ?DateTimeImmutable $validation_expiry_date) | |
fillMinimumCompletion (float $value) | |
fillCurrentCompletion (float $value) | |
fillStatus (string $status) | |
fillFinishUntil (DateTimeImmutable $value=null) | |
fillRestartFrom (DateTimeImmutable $value=null) | |
getVisibleOnPDMode () | |
hasPermission (ilStudyProgrammeAssignment $assignment, string $permission) | |
isReadable (ilStudyProgrammeAssignment $assignment) | |
txt (string $code) | |
calculatePercent (ilObjStudyProgramme $prg, int $current_points) | |
findValidationValues (array $assignments) | |
findValid (array $assignments) | |
buildItem (ilObjStudyProgramme $prg, array $properties) | |
getDefaultTargetUrl (int $prg_ref_id) | |
Protected Attributes | |
$lng | |
$user | |
$access | |
$setting | |
$visible_on_pd_mode | |
$log | |
$factory | |
$renderer | |
$ctrl | |
$progress_repository | |
$assignment_repository | |
Definition at line 7 of file class.ilStudyProgrammeDashboardViewGUI.php.
ilStudyProgrammeDashboardViewGUI::__construct | ( | ilLanguage | $lng, |
ilObjUser | $user, | ||
ilAccess | $access, | ||
ilSetting | $setting, | ||
ILIAS\UI\Factory | $factory, | ||
ILIAS\UI\Renderer | $renderer, | ||
ilCtrl | $ctrl, | ||
ilLogger | $log | ||
) |
Definition at line 55 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $access, $ctrl, $factory, $lng, $log, $renderer, $setting, $user, and user().
|
protected |
Definition at line 359 of file class.ilStudyProgrammeDashboardViewGUI.php.
References getDefaultTargetUrl(), ilObject\getLongDescription(), ilObject\getRefId(), ilObject\getTitle(), and ilUtil\shortenText().
Referenced by getHTML().
|
protected |
Definition at line 293 of file class.ilStudyProgrammeDashboardViewGUI.php.
References ilObjStudyProgramme\getAllPrgChildren(), ilObjStudyProgramme\getPoints(), and ilObjStudyProgramme\hasLPChildren().
Referenced by getHTML(), and mockSPRGDashGUI\mockCalculatePercent().
|
protected |
Definition at line 206 of file class.ilStudyProgrammeDashboardViewGUI.php.
References txt().
Referenced by getHTML().
|
protected |
Definition at line 221 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $ret, ilDatePresentation\formatDate(), IL_CAL_DATE, and txt().
Referenced by getHTML().
|
protected |
Definition at line 198 of file class.ilStudyProgrammeDashboardViewGUI.php.
References txt().
Referenced by getHTML().
|
protected |
Definition at line 235 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $ret, ilDatePresentation\formatDate(), IL_CAL_DATE, and txt().
Referenced by getHTML().
|
protected |
Definition at line 214 of file class.ilStudyProgrammeDashboardViewGUI.php.
References txt().
Referenced by getHTML().
|
protected |
Definition at line 178 of file class.ilStudyProgrammeDashboardViewGUI.php.
References ilDatePresentation\formatDate(), IL_CAL_DATE, and txt().
Referenced by getHTML().
|
protected |
Definition at line 342 of file class.ilStudyProgrammeDashboardViewGUI.php.
References ilObjStudyProgramme\getInstanceByObjId(), ilStudyProgrammeProgress\STATUS_ACCREDITED, and ilStudyProgrammeProgress\STATUS_COMPLETED.
Referenced by findValidationValues().
|
protected |
ilException |
Definition at line 331 of file class.ilStudyProgrammeDashboardViewGUI.php.
References findValid().
|
protected |
Definition at line 93 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $assignment_repository, and ilStudyProgrammeDIC\dic().
Referenced by getUsersAssignments().
|
protected |
Definition at line 380 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by buildItem().
ilStudyProgrammeDashboardViewGUI::getHTML | ( | ) |
ilException |
Definition at line 112 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $panel, $valid, buildItem(), calculatePercent(), fillCurrentCompletion(), fillFinishUntil(), fillMinimumCompletion(), fillRestartFrom(), fillStatus(), fillValidation(), ilObjStudyProgramme\getInstanceByObjId(), getProgressRepository(), getUsersAssignments(), and isReadable().
|
protected |
Definition at line 81 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $progress_repository, and ilStudyProgrammeDIC\dic().
Referenced by getHTML().
|
protected |
Definition at line 104 of file class.ilStudyProgrammeDashboardViewGUI.php.
References getAssignmentRepository(), and user().
Referenced by getHTML().
|
protected |
Definition at line 249 of file class.ilStudyProgrammeDashboardViewGUI.php.
References $visible_on_pd_mode, ilObjStudyProgrammeAdmin\SETTING_VISIBLE_ON_PD, and ilObjStudyProgrammeAdmin\SETTING_VISIBLE_ON_PD_READ.
Referenced by isReadable().
|
protected |
ilException |
Definition at line 264 of file class.ilStudyProgrammeDashboardViewGUI.php.
References Vendor\Package\$e, ilObjStudyProgramme\getInstanceByObjId(), and ilStudyProgrammeAssignment\getRootId().
Referenced by isReadable().
|
protected |
Definition at line 170 of file class.ilStudyProgrammeDashboardViewGUI.php.
References ilStudyProgrammeProgress\STATUS_IN_PROGRESS.
|
protected |
ilException |
Definition at line 279 of file class.ilStudyProgrammeDashboardViewGUI.php.
References getVisibleOnPDMode(), hasPermission(), and ilObjStudyProgrammeAdmin\SETTING_VISIBLE_ON_PD_ALLWAYS.
Referenced by getHTML().
|
protected |
Definition at line 288 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by fillCurrentCompletion(), fillFinishUntil(), fillMinimumCompletion(), fillRestartFrom(), fillStatus(), and fillValidation().
|
protected |
Definition at line 23 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 92 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by getAssignmentRepository().
|
protected |
Definition at line 53 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 43 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 13 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 80 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by getProgressRepository().
|
protected |
Definition at line 48 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 18 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilStudyProgrammeDashboardViewGUI.php.
Referenced by getVisibleOnPDMode().