19 declare(strict_types=1);
    33     public function __construct(
object $a_parent_obj, 
int $a_server_id, 
string $a_parent_cmd = 
'')
    35         $this->server_id = $a_server_id;
    40         $this->ilObjDataCache = $DIC[
'ilObjDataCache'];
    41         $this->rbacreview = $DIC->rbac()->review();
    46         $this->
addColumn($this->
lng->txt(
'ldap_group_dn'), 
"dn");
    48         $this->
addColumn($this->
lng->txt(
'ldap_group_member'), 
"member_attribute");
    49         $this->
addColumn($this->
lng->txt(
'ldap_info_text'), 
"info");
    52         $this->
setRowTemplate(
"tpl.ldap_role_mapping_row.html", 
"components/ILIAS/LDAP");
    63     protected function fillRow(array $a_set): void
    65         $title = $this->ilObjDataCache->lookupTitle($this->rbacreview->getObjectOfRole((
int) $a_set[
"role"]));
    66         $this->tpl->setVariable(
"VAL_ID", $a_set[
'mapping_id']);
    68         $this->tpl->setVariable(
"VAL_ROLE", $a_set[
"role_name"]);
    69         $this->tpl->setVariable(
"VAL_GROUP", $a_set[
"dn"]);
    70         $this->tpl->setVariable(
"VAL_URL", $a_set[
"url"]);
    71         $this->tpl->setVariable(
"VAL_MEMBER", $a_set[
"member_attribute"]);
    74         $this->tpl->setVariable(
"EDIT_URL", $this->
ctrl->getLinkTarget($this->getParentObject(), 
'addRoleMapping'));
    75         $this->tpl->setVariable(
"EDIT_TXT", $this->
lng->txt(
'copy'));
    77         $this->tpl->setVariable(
"COPY_URL", $this->
ctrl->getLinkTarget($this->getParentObject(), 
'editRoleMapping'));
    78         $this->tpl->setVariable(
"COPY_TXT", $this->
lng->txt(
'edit'));
    87         $this->
setData($mapping_instance->getMappings());
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
getItems()
get items from db 
 
__construct(object $a_parent_obj, int $a_server_id, string $a_parent_cmd='')
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
ilObjectDataCache $ilObjDataCache
 
setDefaultOrderDirection(string $a_defaultorderdirection)
 
static _getInstanceByServerId(int $a_server_id)
Get instance of class. 
 
__construct(Container $dic, ilPlugin $plugin)
 
static shortenTextExtended(string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
 
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)
 
addMultiCommand(string $a_cmd, string $a_text)