5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
35 $this->ctrl = $DIC->ctrl();
36 $this->lng = $DIC->language();
37 $this->access = $DIC->access();
39 $lng = $DIC->language();
40 $ilAccess = $DIC->access();
41 $lng = $DIC->language();
43 parent::__construct(null,
"");
44 $lng->loadLanguageModule(
"rep");
49 $this->
addColumn($this->lng->txt(
"rep_object_to_delete"));
50 $this->
addColumn($this->lng->txt(
"rep_dependent_object"));
51 $this->
addColumn($this->lng->txt(
"rep_dependency"));
55 $this->
setRowTemplate(
"tpl.rep_dep_row.html",
"Services/Repository");
60 foreach ($a_deps as
$id =>
$d) {
61 foreach (
$d as $id2 => $ms) {
63 $deps[] = array(
"dep_obj" => $id2,
"del_obj" =>
$id,
"message" => $m);
76 $this->tpl->setVariable(
80 $this->tpl->setVariable(
84 $this->tpl->setVariable(
"TXT_MESS", $a_set[
"message"]);
__construct($a_deps)
Constructor.
if(!array_key_exists('StateId', $_REQUEST)) $id
static _lookupTitle($a_id)
lookup object title
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.
static _lookupType($a_id, $a_reference=false)
lookup object type
disable($a_module_name)
diesables particular modules of table
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.
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.
for($i=6; $i< 13; $i++) for($i=1; $i< 13; $i++) $d
setLimit($a_limit=0, $a_default_limit=0)