ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Class ilPortfolioExerciseGUI. More...
Public Member Functions | |
__construct (int $a_user_id, int $a_obj_id) | |
executeCommand () | |
downloadExcAssFile () | |
downloadExcSubFile () | |
getSubmitButton (int $ass_id) | |
Get submit link. More... | |
getDownloadSubmissionButton (int $ass_id) | |
getActionButtons () | |
Get action buttons. More... | |
Static Public Member Functions | |
static | checkExercise (int $a_user_id, int $a_obj_id, bool $a_add_submit=false, bool $as_array=false) |
Protected Member Functions | |
finalize () | |
Finalize and submit portfolio to exercise. More... | |
Static Protected Member Functions | |
static | getExerciseInfo (int $a_user_id, int $a_assignment_id, bool $a_add_submit=false, bool $as_array=false) |
Protected Attributes | |
ILIAS Exercise InternalDomainService | $exc_domain |
StandardGUIRequest | $port_request |
ilCtrl | $ctrl |
ilLanguage | $lng |
int | $user_id |
int | $obj_id |
int | $ass_id |
string | $file |
ilPortfolioExercise | $pe |
ILIAS DI UIServices | $ui |
Private Attributes | |
ilGlobalTemplateInterface | $main_tpl |
Class ilPortfolioExerciseGUI.
Definition at line 27 of file class.ilPortfolioExerciseGUI.php.
ilPortfolioExerciseGUI::__construct | ( | int | $a_user_id, |
int | $a_obj_id | ||
) |
Definition at line 41 of file class.ilPortfolioExerciseGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
|
static |
Definition at line 87 of file class.ilPortfolioExerciseGUI.php.
References $exercise, and ilPortfolioExercise\getAssignmentsOfPortfolio().
Referenced by ilPortfolioRepositoryGUI\getPortfolioList().
ilPortfolioExerciseGUI::downloadExcAssFile | ( | ) |
Definition at line 248 of file class.ilPortfolioExerciseGUI.php.
References ilFileDelivery\deliverFileLegacy().
ilPortfolioExerciseGUI::downloadExcSubFile | ( | ) |
Definition at line 263 of file class.ilPortfolioExerciseGUI.php.
References ilObjUser\_lookupName(), and ilObject\_lookupTitle().
ilPortfolioExerciseGUI::executeCommand | ( | ) |
Definition at line 64 of file class.ilPortfolioExerciseGUI.php.
References $ctrl, and ILIAS\Repository\ctrl().
|
protected |
Finalize and submit portfolio to exercise.
Definition at line 287 of file class.ilPortfolioExerciseGUI.php.
References $ctrl, $lng, ilExSubmissionObjectGUI\initGUIForSubmit(), and ilLanguage\txt().
ilPortfolioExerciseGUI::getActionButtons | ( | ) |
Get action buttons.
Definition at line 349 of file class.ilPortfolioExerciseGUI.php.
References $ass_id, $exercise, ilPortfolioPage\getAllPortfolioPages(), ilPortfolioExercise\getAssignmentsOfPortfolio(), getDownloadSubmissionButton(), and getSubmitButton().
ilPortfolioExerciseGUI::getDownloadSubmissionButton | ( | int | $ass_id | ) |
Definition at line 322 of file class.ilPortfolioExerciseGUI.php.
References $ctrl, $lng, $ui, null, and ilLanguage\txt().
Referenced by getActionButtons().
|
staticprotected |
Definition at line 118 of file class.ilPortfolioExerciseGUI.php.
References $DIC, ilObject\_getAllReferences(), ilLink\_getStaticLink(), ilObject\_lookupTitle(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, ilDatePresentation\setUseRelativeDates(), ilLanguage\txt(), and ilDatePresentation\useRelativeDates().
ilPortfolioExerciseGUI::getSubmitButton | ( | int | $ass_id | ) |
Get submit link.
ilCtrlException |
Definition at line 303 of file class.ilPortfolioExerciseGUI.php.
References $ctrl, $lng, $ui, ilExcAssMemberState\getInstanceByIds(), null, and ilLanguage\txt().
Referenced by getActionButtons().
|
protected |
Definition at line 35 of file class.ilPortfolioExerciseGUI.php.
Referenced by getActionButtons().
|
protected |
Definition at line 31 of file class.ilPortfolioExerciseGUI.php.
Referenced by executeCommand(), finalize(), getDownloadSubmissionButton(), and getSubmitButton().
|
protected |
Definition at line 29 of file class.ilPortfolioExerciseGUI.php.
|
protected |
Definition at line 36 of file class.ilPortfolioExerciseGUI.php.
|
protected |
Definition at line 32 of file class.ilPortfolioExerciseGUI.php.
Referenced by finalize(), getDownloadSubmissionButton(), and getSubmitButton().
|
private |
Definition at line 39 of file class.ilPortfolioExerciseGUI.php.
|
protected |
Definition at line 34 of file class.ilPortfolioExerciseGUI.php.
|
protected |
Definition at line 37 of file class.ilPortfolioExerciseGUI.php.
|
protected |
Definition at line 30 of file class.ilPortfolioExerciseGUI.php.
|
protected |
Definition at line 38 of file class.ilPortfolioExerciseGUI.php.
Referenced by getDownloadSubmissionButton(), and getSubmitButton().
|
protected |
Definition at line 33 of file class.ilPortfolioExerciseGUI.php.