19 declare(strict_types=1);
    31         string $template_context = 
""    33         $this->
setId(
"sp_ac_list");
    35         $this->
setTitle($this->
lng->txt(
'auto_membership_title'));
    42         $this->
setRowTemplate(
"tpl.automembers_table_row.html", 
"components/ILIAS/StudyProgramme");
    47         $this->
addColumn($this->
lng->txt(
'auto_membership_src_type'), 
'type');
    49         $this->
addColumn($this->
lng->txt(
'last_edited_by'), 
'editor');
    50         $this->
addColumn($this->
lng->txt(
'last_edited'), 
'last');
    52         $this->
addColumn($this->
lng->txt(
'search_for_orgu_members_recursive'), 
'search_recursive');
    59     protected function fillRow(array $a_set): 
void    62         list($ams, 
$title, $usr, $actions) = $a_set;
    65         $editor = implode(
' ', [
    66             $username[
'firstname'],
    67             $username[
'lastname'],
    68             '(' . $username[
'login'] . 
')'    71         $id = $ams->getSourceType() . 
'-' . $ams->getSourceId();
    72         $status = $ams->isEnabled() ? $this->
lng->txt(
'active') : $this->
lng->txt(
'inactive');
    75         $search_recursive = $this->
lng->txt(
"no");
    76         if ($ams->isSearchRecursive()) {
    77             $search_recursive = $this->
lng->txt(
"yes");
    80         $this->tpl->setVariable(
"ID", 
$id);
    81         $this->tpl->setVariable(
"TYPE", $this->
lng->txt($ams->getSourceType()));
    82         $this->tpl->setVariable(
"TITLE", 
$title);
    83         $this->tpl->setVariable(
"EDITOR", $usr);
    84         $this->tpl->setVariable(
"LAST_EDITED", $date);
    85         $this->tpl->setVariable(
"STATUS", $status);
    86         $this->tpl->setVariable(
"SEARCH_RECURSIVE", $search_recursive);
    87         $this->tpl->setVariable(
"ACTIONS", $actions);
 static formatDate(ilDateTime $date, bool $a_skip_day=false, bool $a_include_wd=false, bool $include_seconds=false, ilObjUser $user=null,)
 
setTopCommands(bool $a_val)
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setEnableTitle(bool $a_enabletitle)
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
const CHECKBOX_SOURCE_IDS
 
setDescription(string $a_val)
 
Class ilStudyProgrammeAutoMembershipsTableGUI. 
 
static _lookupName(int $a_user_id)
lookup user name 
 
setExternalSorting(bool $a_val)
 
setShowRowsSelector(bool $a_value)
Toggle rows-per-page selector. 
 
fillRow(array $a_set)
Standard Version of Fill Row. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setEnableAllCommand(bool $a_value)
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
getDatePresentation(int $timestamp)
 
foreach($mandatory_scripts as $file) $timestamp
 
__construct(ilObjStudyProgrammeAutoMembershipsGUI $parent_obj, string $parent_cmd="", string $template_context="")
 
__construct(Container $dic, ilPlugin $plugin)
 
Class ilObjStudyProgrammeAutoMembershipsGUI. 
 
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)
 
disable(string $a_module_name)
 
addMultiCommand(string $a_cmd, string $a_text)
 
setEnableHeader(bool $a_enableheader)
 
setExternalSegmentation(bool $a_val)