37 $this->
setId(
'orgu_types_table');
41 $this->
addColumn($this->
DIC->language()->txt(
'action'),
'',
'100px',
false,
'text-right');
57 $obj = ilOrgUnitPosition::find($set[
"id"]);
59 $this->tpl->setVariable(
'TITLE', $obj->getTitle());
60 $this->tpl->setVariable(
'DESCRIPTION', $obj->getDescription());
61 $this->tpl->setVariable(
'AUTHORITIES', implode(
"<br>", $obj->getAuthorities()));
64 ->setParameterByClass(ilOrgUnitPositionGUI::class, BaseCommands::AR_ID, $set[
'id']);
66 $selection->setListTitle($this->
DIC->language()->txt(
'actions'));
67 $selection->setId(BaseCommands::AR_ID . $set[
'id']);
68 $selection->addItem($this->
DIC->language()->txt(
'edit'),
'edit', $this->
DIC->ctrl()
70 if (!$obj->isCorePosition()) {
71 $selection->addItem($this->
DIC->language()->txt(
'delete'),
'delete', $this->
DIC->ctrl()
75 $this->tpl->setVariable(
'ACTIONS', $selection->getHTML());
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
__construct(BaseCommands $parent_obj, $parent_cmd)
ilOrgUnitPositionTableGUI constructor.
initColumns()
Add columns.
Play around with inserting and removing rows and columns
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
User interface class for advanced drop-down selection lists.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
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.
buildData()
Build and set data for table.
static getArray($key=null, $values=null)
fillRow($a_set)
Standard Version of Fill Row.
Class ilOrgUnitPositionTableGUI.
const CMD_CONFIRM_DELETION