50 $this->
setId(
'orgu_types_table');
54 $this->
addColumn($this->
DIC->language()->txt(
'action'),
'',
'100px',
false,
'text-right');
63 public function fillRow(array $a_set):
void 68 $obj = ilOrgUnitPosition::find($a_set[
"id"]);
69 $obj->afterObjectLoad();
71 $this->tpl->setVariable(
'TITLE', $obj->getTitle());
72 $this->tpl->setVariable(
'DESCRIPTION', $obj->getDescription());
73 $this->tpl->setVariable(
'AUTHORITIES', implode(
"<br>", $obj->getAuthorities()));
76 ->setParameterByClass(ilOrgUnitPositionGUI::class, BaseCommands::AR_ID, $a_set[
'id']);
78 $selection->setListTitle($this->
DIC->language()->txt(
'actions'));
79 $selection->setId(BaseCommands::AR_ID . $a_set[
'id']);
80 $selection->addItem($this->
DIC->language()->txt(
'edit'),
'edit', $this->
DIC->ctrl()
81 ->getLinkTargetByClass(
82 ilOrgUnitPositionGUI::class,
85 if (!$obj->isCorePosition()) {
86 $selection->addItem($this->
DIC->language()->txt(
'delete'),
'delete', $this->
DIC->ctrl()
87 ->getLinkTargetByClass(
88 ilOrgUnitPositionGUI::class,
93 $this->tpl->setVariable(
'ACTIONS', $selection->getHTML());
98 foreach ($this->columns as
$column) {
static getArray(?string $key=null, $values=null)
setFormAction(string $a_form_action, bool $a_multipart=false)
__construct(BaseCommands $parent_obj, $parent_cmd)
ilOrgUnitPositionTableGUI constructor.
fillRow(array $a_set)
Standard Version of Fill Row.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
__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)
buildData()
Build and set data for table.
Class ilOrgUnitPositionTableGUI.
const CMD_CONFIRM_DELETION
setPrefix(string $a_prefix)