4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
22 public function __construct($a_parent_obj, $a_parent_cmd, $a_id)
24 $this->
setId(
'obj_table_'.$a_id);
29 $this->
setRowTemplate(
'tpl.object_table_row.html',
'Services/Object');
35 $this->objects = $a_ref_ids;
45 $this->
addColumn($this->lng->txt(
'type'),
'type',
'30px');
46 $this->
addColumn($this->lng->txt(
'title'),
'title');
51 include_once
'./Services/Link/classes/class.ilLink.php';
52 $this->tpl->setVariable(
'OBJ_LINK',
ilLink::_getLink($set[
'ref_id'], $set[
'type']));
53 $this->tpl->setVariable(
'OBJ_LINKED_TITLE',$set[
'title']);
55 $this->tpl->setVariable(
'TYPE_STR',$this->lng->txt(
'obj_'.$set[
'type']));
73 $set[$counter][
'ref_id'] =
$ref_id;