33         $this->
ctrl = $DIC->ctrl();
    34         $this->
lng = $DIC->language();
    35         $this->
access = $DIC->access();
    39         $this->
setId(
"tax_adm_repo");
    43         $this->
addColumn($this->
lng->txt(
"obj_tax"), 
"tax_title");
    45         $this->
addColumn($this->
lng->txt(
"object"), 
"obj_title");
    50         $this->
setRowTemplate(
"tpl.tax_admin_repo_row.html", 
"components/ILIAS/Taxonomy");
    59         foreach ($this->obj->getRepositoryTaxonomies() as $tax_id => $objs) {
    60             foreach ($objs as $obj_id => $obj) {
    62                 if (!isset(
$data[$idx])) {
    64                         "tax_title" => $obj[
"tax_title"],
    65                         "obj_title" => $obj[
"obj_title"],
    66                         "tax_status" => $obj[
"tax_status"],
    67                         "references" => array()
    75                 $data[$idx][
"references"][$obj[
"ref_id"]] =
    79                         "url" => ilLink::_getLink($obj[
"ref_id"])
    87     protected function fillRow(array $a_set): void
    89         foreach ($a_set[
"references"] as $ref) {
    90             $this->tpl->setCurrentBlock(
"obj_bl");
    91             $this->tpl->setVariable(
"OBJ_TITLE", $a_set[
"obj_title"]);
    92             $this->tpl->setVariable(
"OBJ_PATH", $ref[
"path"]);
    93             $this->tpl->setVariable(
"OBJ_URL", $ref[
"url"]);
    94             $this->tpl->parseCurrentBlock();
    97         if ($a_set[
"tax_status"]) {
    98             $this->tpl->setVariable(
"TAX_STATUS", $this->
lng->txt(
"active"));
    99             $this->tpl->setVariable(
"TAX_STATUS_COLOR", 
"smallgreen");
   101             $this->tpl->setVariable(
"TAX_STATUS", $this->
lng->txt(
"inactive"));
   102             $this->tpl->setVariable(
"TAX_STATUS_COLOR", 
"smallred");
   105         $this->tpl->setVariable(
"TAX_TITLE", $a_set[
"tax_title"]);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct($a_parent_obj, $a_parent_cmd, ilObject $a_obj)
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
__construct(Container $dic, ilPlugin $plugin)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)