3 declare(strict_types=1);
    37         $this->local_roles = $a_roles;
    53         if ($this->contributor_ids) {
    54             $this->
setTitle($this->
lng->txt(
"blog_contributor_container_add"));
    57             $this->
setTitle($this->
lng->txt(
"blog_contributors"));
    68         $user_map = $assigned = array();
    69         foreach ($this->local_roles as 
$id => 
$title) {
    71             $assigned = array_merge($assigned, $local);
    72             foreach ($local as $user_id) {
    73                 $user_map[$user_id][] = 
$title;
    78         foreach (array_unique($assigned) as 
$id) {
    79             $data[] = array(
"id" => $id,
    81                 "role" => $user_map[$id]);
    87     protected function fillRow(array $a_set): void
    89         $this->tpl->setVariable(
"VAL_ID", $a_set[
"id"]);
    90         $this->tpl->setVariable(
"TXT_NAME", $a_set[
"name"]);
    91         $this->tpl->setVariable(
"TXT_ROLES", implode(
", ", $a_set[
"role"]));
 
__construct(ilRbacReview $rbacreview, object $a_parent_obj, string $a_parent_cmd, array $a_roles)
 
assignedUsers(int $a_rol_id)
get all assigned users to a given role 
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
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)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addMultiCommand(string $a_cmd, string $a_text)