19 declare(strict_types=1);
    37         $this->dropdownbuilder = 
$dic[
'dropdownbuilder'];
    42         $to_int = 
$dic[
'refinery']->kindlyTo()->int();
    43         $this->ref_id = 
$dic[
'query']->retrieve(
'ref_id', $to_int);
    67         $this->
addColumn($this->
lng->txt(
"firstname"), 
"first_name");
    68         $this->
addColumn($this->
lng->txt(
"lastname"), 
"last_name");
    85         foreach ($user_ids as $user_id) {
    95             'login' => $user->getLogin(),
    96             'first_name' => $user->getFirstname(),
    97             'last_name' => $user->getLastname(),
    98             'user_object' => $user,
    99             'user_id' => $user_id,
   100             'active' => $user->getActive()
   106         $this->tpl->setVariable(
"LOGIN", $a_set[
"login"]);
   107         $this->tpl->setVariable(
"FIRST_NAME", $a_set[
"first_name"]);
   108         $this->tpl->setVariable(
"LAST_NAME", $a_set[
"last_name"]);
   110         if($a_set[
"active"] === 
false) {
   111             $this->tpl->setVariable(
"INACTIVE", $this->
lng->txt(
'usr_account_inactive'));
   114         $this->
ctrl->setParameterByClass(ilOrgUnitUserAssignmentGUI::class, 
'usr_id', $a_set[
"user_id"]);
   115         $this->
ctrl->setParameterByClass(ilOrgUnitUserAssignmentGUI::class, 
'position_id', $this->
ilOrgUnitPosition->getId());
   116         $this->
ctrl->setParameterByClass(ilLearningProgressGUI::class, 
'obj_id', $a_set[
"user_id"]);
   117         $dropdownbuilder = $this->dropdownbuilder
   119                 'show_learning_progress',
   120                 $this->
ctrl->getLinkTargetByClass([
   121                     ilAdministrationGUI::class,
   122                     ilObjOrgUnitGUI::class,
   123                     ilLearningProgressGUI::class,
   125                 $this->
access->checkAccess(
"view_learning_progress", 
"", $this->ref_id)
   131                 $this->
ctrl->getLinkTargetByClass(
   132                     ilOrgUnitUserAssignmentGUI::class,
   135                 $this->
access->checkAccess(
"write", 
"", $this->ref_id)
   139         $this->tpl->setVariable(
"ACTIONS", $dropdownbuilder);
 
setTopCommands(bool $a_val)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setEnableTitle(bool $a_enabletitle)
 
setShowTemplates(bool $a_value)
 
ilOrgUnitPosition $ilOrgUnitPosition
 
withItem(string $label_lang_var, string $url, bool $condition=true)
 
setFormName(string $a_name="")
 
This is to construct/collect the entries (=Links) of a row's action-dropdown. 
 
static _enabledUserRelatedData()
 
static _enabledLearningProgress()
 
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
getRowForUser(int $user_id)
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
parseRows(array $user_ids)
 
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)
 
DropdownBuilder $dropdownbuilder
 
__construct(BaseCommands $parent_obj, string $parent_cmd, ilOrgUnitPosition $position)
 
setEnableHeader(bool $a_enableheader)
 
Class ilOrgUnitUserAssignmentTableGUI. 
 
setPrefix(string $a_prefix)