5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
25 parent::__construct(null,
"");
26 $lng->loadLanguageModule(
"rep");
28 $this->
setTitle($lng->txt(
"rep_dependencies"));
31 $this->
addColumn($this->lng->txt(
"rep_object_to_delete"));
32 $this->
addColumn($this->lng->txt(
"rep_dependent_object"));
33 $this->
addColumn($this->lng->txt(
"rep_dependency"));
37 $this->
setRowTemplate(
"tpl.rep_dep_row.html",
"Services/Repository");
42 foreach ($a_deps as $id =>
$d)
44 foreach (
$d as $id2 => $ms)
48 $deps[] =
array(
"dep_obj" => $id2,
"del_obj" => $id,
"message" => $m);
61 $this->tpl->setVariable(
"TXT_DEP_OBJ",
62 $lng->txt(
"obj_".ilObject::_lookupType($a_set[
"dep_obj"])).
": ".
ilObject::_lookupTitle($a_set[
"dep_obj"]));
63 $this->tpl->setVariable(
"TXT_DEL_OBJ",
64 $lng->txt(
"obj_".ilObject::_lookupType($a_set[
"del_obj"])).
": ".
ilObject::_lookupTitle($a_set[
"del_obj"]));
65 $this->tpl->setVariable(
"TXT_MESS", $a_set[
"message"]);
__construct($a_deps)
Constructor.
static _lookupTitle($a_id)
lookup object title
for($col=0; $col< 50; $col++) $d
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Fill table row.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
disable($a_module_name)
diesables particular modules of table
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.
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.
setLimit($a_limit=0, $a_default_limit=0)