24include_once(
"Services/Table/classes/class.ilTable2GUI.php");
 
   38        public function __construct($a_parent_obj, $a_parent_cmd = 
"",
 
   43                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   45                $this->grp_id = $a_grp_id;
 
   46                $this->app_id = $a_app_id;
 
   49                $this->
addColumn($lng->txt(
"user"), 
"", 
"100%");
 
   55                $ilCtrl->setParameter($a_parent_obj, 
"app_id", $this->app_id);
 
   58                $this->
setTitle($lng->txt(
"cal_ms_users_responsible"));
 
   60                        "saveMilestoneResponsibleUsers", $lng->txt(
"cal_save_responsible_users"));
 
   68                $participants = array();
 
   69                if ($this->app_id > 0)
 
   71                        include_once(
"./Services/Calendar/classes/class.ilCalendarEntry.php");
 
   73                        $resp_users = $app->readResponsibleUsers();
 
   74                        foreach($resp_users as $v)
 
   77                                $participants[$v[
"user_id"]] = array_merge(
$n, array(
"type" => 
"non-member"));
 
   78                                $this->resp_users[] = $v[
"user_id"];
 
   82                include_once(
'./Modules/Group/classes/class.ilGroupParticipants.php');
 
   84                $admins = $part->getAdmins();
 
   85                $members = $part->getMembers();
 
   86                foreach($members as $v)
 
   89                        $participants[$v] = array_merge(
$n, array(
"type" => 
"member"));
 
   91                foreach($admins as $v)
 
   94                        $participants[$v] = array_merge(
$n, array(
"type" => 
"admin"));
 
  107                if (is_array($this->resp_users) && in_array($a_set[
"user_id"], $this->resp_users))
 
  109                        $this->tpl->setVariable(
"CHECKED", 
' checked="checked" ');
 
  111                $this->tpl->setVariable(
"USER_ID", $a_set[
"user_id"]);
 
  112                $this->tpl->setVariable(
"TXT_FIRSTNAME", $a_set[
"firstname"]);
 
  113                $this->tpl->setVariable(
"TXT_LASTNAME", $a_set[
"lastname"]);
 
An exception for terminatinating execution or to throw for unit testing.
Model for a calendar entry.
static _getInstanceByObjId($a_obj_id)
Get singleton instance.
TableGUI class for selection of milestone responsibles.
getParticipantsAndResponsibles()
Get participants and responsible users.
fillRow($a_set)
Standard Version of Fill Row.
__construct($a_parent_obj, $a_parent_cmd="", $a_grp_id, $a_app_id)
static _lookupLogin($a_user_id)
lookup login
static _lookupName($a_user_id)
lookup user name
setEnableHeader($a_enableheader)
Set Enable Header.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setMaxCount($a_max_count)
set max.