ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
List of members fo iass. More...
Public Member Functions | |
__construct (ilIndividualAssessmentMembersGUI $parent, ilLanguage $lng, ilCtrl $ctrl, IndividualAssessmentAccessHandler $iass_access, Factory $factory, Renderer $renderer, ilObjUser $current_user, ilIndividualAssessmentDateFormatter $date_formatter) | |
setData (array $data) | |
Set data to show in table. More... | |
render (array $view_constrols, int $offset=0, ?int $limit=null) | |
Renders the presentation table. More... | |
Protected Member Functions | |
getHeadline (ilIndividualAssessmentMember $record) | |
Returns the headline for each row. More... | |
getSubheadline (ilIndividualAssessmentMember $record) | |
Returns the sub headline for each row. More... | |
getImportantInfos (ilIndividualAssessmentMember $record, bool $finalized_only=true) | |
Returns all information needed for important row. More... | |
getGradedByInformation (?int $graded_by_id) | |
getChangedByInformation (?int $changed_by_id, ?DateTimeImmutable $change_date) | |
getContent (ilIndividualAssessmentMember $record) | |
Return all content elements for each row. More... | |
getFurtherFields (ilIndividualAssessmentMember $record) | |
Returns all information needed for further information for each row. More... | |
getAction (ilIndividualAssessmentMember $record, Factory $ui_factory) | |
Return the ui control with executable actions. More... | |
getStatus (bool $finalized, int $status, ?int $examiner_id=null) | |
Returns readable status. More... | |
getGradedInformation (?DateTimeImmutable $event_time) | |
Returns information about the grading. More... | |
getFullNameFor (?int $user_id=null) | |
Returns login of examiner. More... | |
getProfileLink (string $full_name, int $user_id) | |
hasPublicProfile (int $examiner_id) | |
getLocationInfos (bool $finalized, int $usr_id, ?string $location=null, ?int $examiner_id=null) | |
Returns the location of assessment. More... | |
getRecordNote (string $record_note) | |
Returns information out of record note. More... | |
getInternalRecordNote (?string $internal_note=null) | |
Returns information out of internal record note. More... | |
getFileDownloadLink (int $usr_id) | |
Get the link for download of file. More... | |
getEntryForStatus (int $a_status) | |
Get text for lp status. More... | |
mayViewLocation (bool $finalized, int $usr_id, ?int $examiner_id=null) | |
Check user may view the location. More... | |
checkEditable (bool $finalized, int $usr_id, ?int $examiner_id=null) | |
Check the current user has edit permission on record. More... | |
checkAmendable (bool $finalized) | |
Check the current user has amended permission on record. More... | |
checkUserRemoveable (bool $finalized) | |
Check the current user is allowed to remove the user. More... | |
checkDownloadFile (int $usr_id, ?string $file_name=null) | |
Check the current user is allowed to download the record file. More... | |
userMayDownloadAttachment (int $usr_id) | |
wasEditedByViewer (?int $examiner_id=null) | |
txt (string $code) | |
List of members fo iass.
Definition at line 29 of file class.ilIndividualAssessmentMembersTableGUI.php.
ilIndividualAssessmentMembersTableGUI::__construct | ( | ilIndividualAssessmentMembersGUI | $parent, |
ilLanguage | $lng, | ||
ilCtrl | $ctrl, | ||
IndividualAssessmentAccessHandler | $iass_access, | ||
Factory | $factory, | ||
Renderer | $renderer, | ||
ilObjUser | $current_user, | ||
ilIndividualAssessmentDateFormatter | $date_formatter | ||
) |
Definition at line 42 of file class.ilIndividualAssessmentMembersTableGUI.php.
References $ctrl, $current_user, $date_formatter, $factory, $iass_access, $lng, $parent, $renderer, ILIAS\Repository\ctrl(), factory(), ilObject\getId(), ILIAS\Repository\lng(), and renderer().
|
protected |
Check the current user has amended permission on record.
Definition at line 473 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by getAction(), getContent(), and mayViewLocation().
|
protected |
Check the current user is allowed to download the record file.
Definition at line 500 of file class.ilIndividualAssessmentMembersTableGUI.php.
References userMayDownloadAttachment().
Referenced by getAction(), and getContent().
|
protected |
Check the current user has edit permission on record.
Definition at line 456 of file class.ilIndividualAssessmentMembersTableGUI.php.
References wasEditedByViewer().
Referenced by getAction(), getContent(), and mayViewLocation().
|
protected |
Check the current user is allowed to remove the user.
Definition at line 488 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by getAction().
|
protected |
Return the ui control with executable actions.
Definition at line 256 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ILIAS\UI\Factory\button(), checkAmendable(), checkDownloadFile(), checkEditable(), checkUserRemoveable(), ILIAS\Repository\ctrl(), ILIAS\UI\Factory\dropdown(), ilIndividualAssessmentMember\examinerId(), ilIndividualAssessmentMember\fileName(), ilIndividualAssessmentMember\finalized(), ilIndividualAssessmentMember\id(), null, and txt().
Referenced by render().
|
protected |
Definition at line 171 of file class.ilIndividualAssessmentMembersTableGUI.php.
References getFullNameFor(), getProfileLink(), hasPublicProfile(), and txt().
Referenced by getImportantInfos().
|
protected |
Return all content elements for each row.
Definition at line 197 of file class.ilIndividualAssessmentMembersTableGUI.php.
References $current_user_id, checkAmendable(), checkDownloadFile(), checkEditable(), ilIndividualAssessmentMember\examinerId(), ilIndividualAssessmentMember\fileName(), ilIndividualAssessmentMember\finalized(), getFileDownloadLink(), getInternalRecordNote(), getRecordNote(), ilIndividualAssessmentMember\id(), ilIndividualAssessmentMember\internalNote(), and ilIndividualAssessmentMember\record().
Referenced by render().
|
protected |
Get text for lp status.
Definition at line 427 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilIndividualAssessmentMembers\LP_COMPLETED, ilIndividualAssessmentMembers\LP_FAILED, ilIndividualAssessmentMembers\LP_IN_PROGRESS, and txt().
Referenced by getFurtherFields(), and getStatus().
|
protected |
Get the link for download of file.
Definition at line 409 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilIndividualAssessmentMemberGUI\CMD_DOWNLOAD_FILE, ILIAS\Repository\ctrl(), factory(), null, renderer(), and txt().
Referenced by getContent().
|
protected |
Returns login of examiner.
Definition at line 326 of file class.ilIndividualAssessmentMembersTableGUI.php.
References $user_id, and ilObjUser\_lookupName().
Referenced by getChangedByInformation(), and getGradedByInformation().
|
protected |
Returns all information needed for further information for each row.
Definition at line 235 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilIndividualAssessmentMember\examinerId(), ilIndividualAssessmentMember\finalized(), getEntryForStatus(), getImportantInfos(), getLocationInfos(), ilIndividualAssessmentMember\id(), ilIndividualAssessmentMember\LPStatus(), ilIndividualAssessmentMember\place(), and txt().
Referenced by render().
|
protected |
Definition at line 151 of file class.ilIndividualAssessmentMembersTableGUI.php.
References getFullNameFor(), getProfileLink(), hasPublicProfile(), txt(), and ilObjUser\userExists().
Referenced by getImportantInfos().
|
protected |
Returns information about the grading.
Definition at line 314 of file class.ilIndividualAssessmentMembersTableGUI.php.
References txt().
Referenced by getImportantInfos().
|
protected |
Returns the headline for each row.
Definition at line 111 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilIndividualAssessmentMember\firstname(), ilIndividualAssessmentMember\lastname(), and ilIndividualAssessmentMember\login().
Referenced by render().
|
protected |
Returns all information needed for important row.
Definition at line 134 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilIndividualAssessmentMember\changerId(), ilIndividualAssessmentMember\changeTime(), ilIndividualAssessmentMember\eventTime(), ilIndividualAssessmentMember\examinerId(), ilIndividualAssessmentMember\finalized(), getChangedByInformation(), getGradedByInformation(), getGradedInformation(), and ilIndividualAssessmentMember\id().
Referenced by getFurtherFields(), and render().
|
protected |
Returns information out of internal record note.
Definition at line 397 of file class.ilIndividualAssessmentMembersTableGUI.php.
References txt().
Referenced by getContent().
|
protected |
Returns the location of assessment.
Definition at line 361 of file class.ilIndividualAssessmentMembersTableGUI.php.
References $location, mayViewLocation(), and txt().
Referenced by getFurtherFields().
|
protected |
Definition at line 336 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ILIAS\Repository\ctrl(), factory(), and renderer().
Referenced by getChangedByInformation(), and getGradedByInformation().
|
protected |
Returns information out of record note.
Definition at line 383 of file class.ilIndividualAssessmentMembersTableGUI.php.
References txt().
Referenced by getContent().
|
protected |
Returns readable status.
Definition at line 296 of file class.ilIndividualAssessmentMembersTableGUI.php.
References getEntryForStatus(), ilIndividualAssessmentMembers\LP_IN_PROGRESS, and txt().
Referenced by getSubheadline().
|
protected |
Returns the sub headline for each row.
Definition at line 119 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilIndividualAssessmentMember\examinerId(), ilIndividualAssessmentMember\finalized(), getStatus(), ilIndividualAssessmentMember\id(), ilIndividualAssessmentMember\LPStatus(), and txt().
Referenced by render().
|
protected |
Definition at line 347 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ilObjectFactory\getInstanceByObjId().
Referenced by getChangedByInformation(), and getGradedByInformation().
|
protected |
Check user may view the location.
Definition at line 444 of file class.ilIndividualAssessmentMembersTableGUI.php.
References checkAmendable(), and checkEditable().
Referenced by getLocationInfos().
ilIndividualAssessmentMembersTableGUI::render | ( | array | $view_constrols, |
int | $offset = 0 , |
||
?int | $limit = null |
||
) |
Renders the presentation table.
ILIAS |
Definition at line 82 of file class.ilIndividualAssessmentMembersTableGUI.php.
References factory(), getAction(), getContent(), getFurtherFields(), getHeadline(), getImportantInfos(), getSubheadline(), ILIAS\UI\Factory\listing(), renderer(), txt(), ILIAS\GlobalScreen\Scope\Footer\Factory\withAction(), and ILIAS\UI\Component\Table\PresentationRow\withHeadline().
ilIndividualAssessmentMembersTableGUI::setData | ( | array | $data | ) |
Set data to show in table.
Definition at line 66 of file class.ilIndividualAssessmentMembersTableGUI.php.
|
protected |
Definition at line 521 of file class.ilIndividualAssessmentMembersTableGUI.php.
References ILIAS\Repository\lng().
Referenced by getAction(), getChangedByInformation(), getEntryForStatus(), getFileDownloadLink(), getFurtherFields(), getGradedByInformation(), getGradedInformation(), getInternalRecordNote(), getLocationInfos(), getRecordNote(), getStatus(), getSubheadline(), and render().
|
protected |
Definition at line 511 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by checkDownloadFile().
|
protected |
Definition at line 516 of file class.ilIndividualAssessmentMembersTableGUI.php.
References null.
Referenced by checkEditable().
|
protected |
Definition at line 33 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by getContent().
|
protected |
Definition at line 40 of file class.ilIndividualAssessmentMembersTableGUI.php.
|
protected |
Definition at line 39 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilIndividualAssessmentMembersTableGUI.php.
Referenced by __construct().