|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI:Public Member Functions | |
| __construct (\ilObjExercise $exc, MandatoryAssignmentsManager $mandatory_manager, InternalDomainService $domain_service, InternalGUIService $gui_service) | |
| build (Assignment $ass, int $user_id) | |
| getSections (bool $include_schedule=true, bool $overview=false) | |
| getSectionTitle (string $sec) | |
| getLeadText () | |
| getHeadProperty (string $type) | |
| getAdditionalHeadProperties () | |
| getInstructionsHidden () | |
| addAdditionalHeadProperty (string $prop, string $val) | |
| addProperty (string $section, string $prop, string $val) | |
| getProperties (string $section) | |
| addAction (string $section, Component $button_or_link) | |
| getActions (string $section) | |
| setMainAction (string $section, ButtonPrimary $button) | |
| getMainAction (string $section) | |
| addView (string $id, string $txt, string $url) | |
| getViews () | |
Data Fields | |
| const | PROP_DEADLINE = "deadline" |
| const | PROP_REQUIREMENT = "requirement" |
| const | PROP_SUBMISSION = "submission" |
| const | PROP_TYPE = "type" |
| const | PROP_GRADING = "grading" |
| const | PROP_MARK = "mark" |
| const | SEC_INSTRUCTIONS = "instructions" |
| const | SEC_INSTRUCTIONS_OV = "instructions_overview" |
| const | SEC_FILES = "files" |
| const | SEC_SCHEDULE = "schedule" |
| const | SEC_TEAM = "team" |
| const | SEC_SUBMISSION = "submission" |
| const | SEC_PEER_FEEDBACK = "peer_feedback" |
| const | SEC_TUTOR_EVAL = "tutor_eval" |
| const | SEC_SAMPLE_SOLUTION = "sample_solution" |
Protected Member Functions | |
| setLeadText (string $text) | |
| setInstructionsHidden (bool $hidden) | |
| setHeadProperty (string $type, string $prop, string $val) | |
| buildHead () | |
| buildBody () | |
| buildInstructions () | |
| buildSchedule () | |
| builPublicSubmissions () | |
| buildFiles () | |
| buildSubmission () | |
| buildPeerFeedback () | |
| buildSampleSolution () | |
| buildSubmissionFeedback (bool $a_show_global_feedback) | |
| getTimeString (int $a_deadline) | |
| Get time string for deadline. More... | |
| getSubmissionLink (string $a_cmd, ?array $a_params=null) | |
| getIconForStatus (string $status, int $variant=\ilLPStatusIcons::ICON_VARIANT_LONG) | |
| Get the rendered icon for a status (failed, passed or not graded). More... | |
Protected Attributes | |
| InternalDomainService | $domain |
| InternalGUIService | $gui |
| ilLanguage | $lng |
| MandatoryAssignmentsManager | $mandatory_manager |
| ilCtrl | $ctrl |
| ilExAssignmentTypes | $types |
| int | $user_builded = 0 |
| int | $ass_builded = 0 |
| ilExcAssMemberState | $state |
| ilExSubmission | $submission |
| ilExAssignmentTypesGUI | $types_gui |
| ilObjExercise | $exc |
| ilExAssignment | $ex_ass |
| ILIAS MediaObjects MediaType MediaTypeManager | $media_type |
| Assignment | $assignment |
| ilExAssignmentInfo | $info |
| int | $user_id |
| string | $lead_text = "" |
| array | $head_properties = [] |
| array | $properties = [] |
| array | $actions = [] |
| array | $views = [] |
| array | $main_action = [] |
| array | $additional_head_properties = [] |
| bool | $instructions_hidden = false |
Definition at line 31 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::__construct | ( | \ilObjExercise | $exc, |
| MandatoryAssignmentsManager | $mandatory_manager, | ||
| InternalDomainService | $domain_service, | ||
| InternalGUIService | $gui_service | ||
| ) |
Definition at line 77 of file PropertyAndActionBuilderUI.php.
References $DIC, ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\$exc, ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\$mandatory_manager, ILIAS\Exercise\InternalGUIService\assignment(), ILIAS\Repository\ctrl(), ilExAssignmentTypes\getInstance(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::addAction | ( | string | $section, |
| Component | $button_or_link | ||
| ) |
Definition at line 207 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::addAdditionalHeadProperty | ( | string | $prop, |
| string | $val | ||
| ) |
Definition at line 186 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::addProperty | ( | string | $section, |
| string | $prop, | ||
| string | $val | ||
| ) |
Definition at line 194 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::addView | ( | string | $id, |
| string | $txt, | ||
| string | $url | ||
| ) |
Definition at line 227 of file PropertyAndActionBuilderUI.php.
References ILIAS\Exercise\Assignment\Assignment\$id, and $url.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::build | ( | Assignment | $ass, |
| int | $user_id | ||
| ) |
Definition at line 97 of file PropertyAndActionBuilderUI.php.
Referenced by ILIAS\Exercise\Assignment\ItemBuilderUI\getItem(), ILIAS\Exercise\Assignment\PanelBuilderUI\getPanel(), and ILIAS\Exercise\Assignment\PanelBuilderUI\getPanelViews().
Here is the caller graph for this function:
|
protected |
Definition at line 439 of file PropertyAndActionBuilderUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 604 of file PropertyAndActionBuilderUI.php.
References $lng.
|
protected |
Definition at line 241 of file PropertyAndActionBuilderUI.php.
References $lng, ilExAssignment\DEADLINE_ABSOLUTE_INDIVIDUAL, ilDatePresentation\formatDate(), IL_CAL_DATETIME, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 466 of file PropertyAndActionBuilderUI.php.
References ILIAS\UI\examples\MessageBox\Info\info(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 734 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 746 of file PropertyAndActionBuilderUI.php.
References ilExAssignment\FEEDBACK_DATE_CUSTOM, and ilExAssignment\FEEDBACK_DATE_DEADLINE.
|
protected |
Definition at line 490 of file PropertyAndActionBuilderUI.php.
References $info, $lng, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 687 of file PropertyAndActionBuilderUI.php.
References ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 772 of file PropertyAndActionBuilderUI.php.
References Vendor\Package\$f, and $lng.
|
protected |
Definition at line 578 of file PropertyAndActionBuilderUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getActions | ( | string | $section | ) |
Definition at line 212 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getAdditionalHeadProperties | ( | ) |
Definition at line 158 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getHeadProperty | ( | string | $type | ) |
Definition at line 153 of file PropertyAndActionBuilderUI.php.
References ILIAS\Exercise\Assignment\Assignment\$type.
|
protected |
Get the rendered icon for a status (failed, passed or not graded).
Definition at line 899 of file PropertyAndActionBuilderUI.php.
References $lng, and ilLPStatusIcons\getInstance().
Here is the call graph for this function:| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getInstructionsHidden | ( | ) |
Definition at line 173 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getLeadText | ( | ) |
Definition at line 148 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getMainAction | ( | string | $section | ) |
Definition at line 222 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getProperties | ( | string | $section | ) |
Definition at line 202 of file PropertyAndActionBuilderUI.php.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getSections | ( | bool | $include_schedule = true, |
| bool | $overview = false |
||
| ) |
Definition at line 122 of file PropertyAndActionBuilderUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getSectionTitle | ( | string | $sec | ) |
Definition at line 142 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 871 of file PropertyAndActionBuilderUI.php.
|
protected |
Get time string for deadline.
Definition at line 854 of file PropertyAndActionBuilderUI.php.
References $lng, IL_CAL_UNIX, and ilLegacyFormElementsUtil\period2String().
Here is the call graph for this function:| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::getViews | ( | ) |
Definition at line 236 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 178 of file PropertyAndActionBuilderUI.php.
References ILIAS\Exercise\Assignment\Assignment\$type.
|
protected |
Definition at line 168 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 163 of file PropertyAndActionBuilderUI.php.
References $text.
| ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::setMainAction | ( | string | $section, |
| ButtonPrimary | $button | ||
| ) |
Definition at line 217 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 71 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 74 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 57 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 64 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 53 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 49 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 62 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 61 of file PropertyAndActionBuilderUI.php.
Referenced by ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\__construct().
|
protected |
Definition at line 50 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 69 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 65 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 75 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 68 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 51 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 73 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 52 of file PropertyAndActionBuilderUI.php.
Referenced by ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI\__construct().
|
protected |
Definition at line 63 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 70 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 58 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 59 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 54 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 60 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 56 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 67 of file PropertyAndActionBuilderUI.php.
|
protected |
Definition at line 72 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::PROP_DEADLINE = "deadline" |
Definition at line 33 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::PROP_GRADING = "grading" |
Definition at line 37 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::PROP_MARK = "mark" |
Definition at line 38 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::PROP_REQUIREMENT = "requirement" |
Definition at line 34 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::PROP_SUBMISSION = "submission" |
Definition at line 35 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::PROP_TYPE = "type" |
Definition at line 36 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_FILES = "files" |
Definition at line 42 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_INSTRUCTIONS = "instructions" |
Definition at line 40 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_INSTRUCTIONS_OV = "instructions_overview" |
Definition at line 41 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_PEER_FEEDBACK = "peer_feedback" |
Definition at line 46 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_SAMPLE_SOLUTION = "sample_solution" |
Definition at line 48 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_SCHEDULE = "schedule" |
Definition at line 43 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_SUBMISSION = "submission" |
Definition at line 45 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_TEAM = "team" |
Definition at line 44 of file PropertyAndActionBuilderUI.php.
| const ILIAS\Exercise\Assignment\PropertyAndActionBuilderUI::SEC_TUTOR_EVAL = "tutor_eval" |
Definition at line 47 of file PropertyAndActionBuilderUI.php.