4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
22 public function __construct($a_parent_obj,$a_parent_cmd,$a_allow_object_selection =
false)
29 $this->
addColumn($this->lng->txt(
"title"),
"title",
"80%");
30 $this->
addColumn($this->lng->txt(
"members"),
"member",
"20%");
32 $this->
setFormAction($ilCtrl->getFormAction($this->parent_obj));
33 $this->
setRowTemplate(
"tpl.rep_search_obj_result_row.html",
"Services/Search");
34 $this->
setTitle($this->lng->txt(
'search_results'));
36 $this->
setId(
"group_table");
39 $this->
enable(
'select_all');
43 if((
bool)$a_allow_object_selection)
45 $this->
addMultiCommand(
'selectObject', $this->lng->txt(
'grp_select_object'));
58 $this->tpl->setVariable(
'VAL_ID',
$row[
'id']);
60 $this->tpl->setVariable(
'VAL_TITLE',
$row[
'title']);
61 if(strlen(
$row[
'desc']))
63 $this->tpl->setVariable(
'VAL_DESC',
$row[
'desc']);
65 $this->tpl->setVariable(
'VAL_MEMBER',
$row[
'member']);
77 foreach($a_ids as $object_id)
84 $row[
'id'] = $object_id;
92 include_once
'./Services/Membership/classes/class.ilParticipants.php';
105 include_once
'./Services/User/classes/class.ilUserFilter.php';
121 if($a_field ==
"member")