44         bool $a_read_only = 
false    48         $this->
ctrl = $DIC->ctrl();
    49         $this->
access = $DIC->access();
    50         $ilCtrl = $DIC->ctrl();
    54         $this->edit_permission = $access->
checkAccessOfUser($user->getId(), 
"edit", 
"", $a_parent_ref_id);
    56         $this->mode = $a_mode;
    57         $this->team = $a_team;
    58         $this->read_only = $a_read_only;
    59         $this->parent_ref_id = $a_parent_ref_id;
    63         if (!$this->read_only) {
    70         $this->
setRowTemplate(
"tpl.exc_team_member_row.html", 
"Modules/Exercise");
    71         $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
    73         if (!$this->read_only) {
    74             if ($this->mode == self::MODE_ADD) {
    75                 $this->
setTitle($this->
lng->txt(
"exc_team_member_container_add"));
    78                 $this->
setTitle($this->
lng->txt(
"exc_team_members"));
    88         if ($this->mode == self::MODE_ADD) {
    89             $assigned = $this->team->getMembersOfAllTeams();
    92             $this->member_ids = $this->team->getMembers();
    96         foreach ($this->member_ids as 
$id) {
    97             if (!in_array($id, $assigned)) {
    98                 $data[] = array(
"id" => $id,
   106     protected function fillRow(array $a_set): void
   110         if (!$this->read_only) {
   111             $this->tpl->setVariable(
"VAL_ID", $a_set[
"id"]);
   113         $this->tpl->setVariable(
"TXT_NAME", $a_set[
"name"]);
   116         if (!$ilAccess->checkAccessOfUser($a_set[
"id"], 
"read", 
"", $this->parent_ref_id) &&
   117             is_array($info = $ilAccess->getInfo())) {
   118             $this->tpl->setCurrentBlock(
'access_warning');
   119             $this->tpl->setVariable(
'PARENT_ACCESS', $info[0][
"text"]);
   120             $this->tpl->parseCurrentBlock();
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
setDefaultOrderField(string $a_defaultorderfield)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
__construct(object $a_parent_obj, string $a_parent_cmd, int $a_mode, int $a_parent_ref_id, ilExAssignmentTeam $a_team, bool $a_read_only=false)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
addMultiCommand(string $a_cmd, string $a_text)
 
checkAccessOfUser(int $a_user_id, string $a_permission, string $a_cmd, int $a_ref_id, string $a_type="", ?int $a_obj_id=null, ?int $a_tree_id=null)
check access for an object (provide $a_type and $a_obj_id if available for better performance) ...