19 declare(strict_types=1);
    31     public function __construct(?
object $a_parent_obj, 
string $a_parent_cmd = 
"", 
string $a_template_context = 
"")
    36         $this->rbacSystem = $DIC->rbac()->system();
    37         $this->ui_factory = $DIC->ui()->factory();
    38         $this->ui_renderer = $DIC->ui()->renderer();
    40         $http_wrapper = $DIC->http()->wrapper();
    42         if ($http_wrapper->query()->has(
'ref_id')) {
    43             $this->ref_id = (
int) $http_wrapper->query()->retrieve(
    48         $this->
setId(
'ldap_server_list');
    51         $this->
setRowTemplate(
'tpl.ldap_server_row.html', 
'components/ILIAS/LDAP');
    70     protected function fillRow(array $a_set): void
    72         if ($a_set[
'active']) {
    74             $this->tpl->setVariable(
'TXT_OK', $this->
lng->txt(
'active'));
    77             $this->tpl->setVariable(
'TXT_OK', $this->
lng->txt(
'inactive'));
    80         $this->tpl->setVariable(
'VAL_TITLE', $a_set[
"name"]);
    84         $this->tpl->setVariable(
'VAL_USER', $user);
    87         $this->tpl->setVariable(
'EDIT_LINK', $this->
ctrl->getLinkTarget($this->getParentObject(), 
'editServerSettings'));
    90         if ($this->rbacSystem->checkAccess(
"write", $this->ref_id)) {
    91             $dropdown_elements = [];
    93             $dropdown_elements[] = $this->ui_factory->link()->standard(
    94                 $this->
lng->txt(
'edit'),
    98             if ($a_set[
'active']) {
    99                 $dropdown_elements[] = $this->ui_factory->link()->standard(
   100                     $this->
lng->txt(
'deactivate'),
   104                 $dropdown_elements[] = $this->ui_factory->link()->standard(
   105                     $this->
lng->txt(
'activate'),
   110             $dropdown_elements[] = $this->ui_factory->link()->standard(
   111                 $this->
lng->txt(
'delete'),
   115             $dropdown = $this->ui_factory->dropdown()->standard([
   117             ])->withLabel($this->
lng->txt(
'actions'));
   119             $this->tpl->setVariable(
'ACTIONS', $this->ui_renderer->render($dropdown));
 
__construct(?object $a_parent_obj, string $a_parent_cmd="", string $a_template_context="")
 
ILIAS UI Factory $ui_factory
 
static _getAllServer()
Get list of all configured servers. 
 
static _getExternalAccountsByAuthMode(string $a_auth_mode, bool $a_read_auth_default=false)
Get list of external account by authentication method Note: If login == ext_account for two user with...
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
ILIAS UI Renderer $ui_renderer
 
__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)