ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Base class for attendance lists. More...
Public Member Functions | |
__construct (object $a_parent_gui, ilObject $a_parent_obj, ?ilParticipants $a_participants_object=null, ?ilWaitingList $a_waiting_list=null) | |
addPreset (string $a_id, string $a_caption, bool $a_selected=false) | |
Add user field. More... | |
addBlank (string $a_caption) | |
Add blank column preset. More... | |
setTitle (string $a_title, ?string $a_description=null) | |
Set titles. More... | |
addUserFilter (string $a_id, string $a_caption, bool $a_checked=false) | |
Add user filter. More... | |
getNonMemberUserData (array &$a_res) | |
Get user data for subscribers and waiting list. More... | |
setBlankColumns (array $a_values) | |
Add blank columns. More... | |
setCallback (callable $a_callback) | |
Set participant detail callback. More... | |
setId (string $a_value) | |
initForm (string $a_cmd="") | |
Init form. More... | |
initFromForm () | |
Set list attributes from post values. More... | |
initFromSettings () | |
Directly set list attributes from default settings for print view. More... | |
getFullscreenHTML () | |
render list in fullscreen mode More... | |
getHTML () | |
render attendance list More... | |
Protected Member Functions | |
readOrderedExportableFields () | |
read object export fields More... | |
addRole (int $a_id, string $a_caption, string $a_type) | |
Add role. More... | |
setRoleSelection (array $a_role_ids) | |
Protected Attributes | |
ilLogger | $logger |
ilLanguage | $lng |
ilCtrlInterface | $ctrl |
ilGlobalTemplateInterface | $tpl |
Profile | $profile |
object | $parent_gui |
ilObject | $parent_obj |
ilParticipants | $participants |
ilWaitingList | $waiting_list |
$callback | |
array | $presets = [] |
array | $role_data = [] |
array | $roles = [] |
bool | $has_local_role = false |
array | $blank_columns = [] |
string | $title = '' |
string | $description = '' |
array | $pre_blanks = [] |
string | $id = '' |
bool | $include_waiting_list = false |
bool | $include_subscribers = false |
array | $user_filters = [] |
Base class for attendance lists.
Definition at line 29 of file class.ilAttendanceList.php.
ilAttendanceList::__construct | ( | object | $a_parent_gui, |
ilObject | $a_parent_obj, | ||
?ilParticipants | $a_participants_object = null , |
||
?ilWaitingList | $a_waiting_list = null |
||
) |
Definition at line 57 of file class.ilAttendanceList.php.
References $DIC, $roles, $title, ilObject\_lookupTitle(), addRole(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\profile(), and readOrderedExportableFields().
ilAttendanceList::addBlank | ( | string | $a_caption | ) |
Add blank column preset.
Definition at line 171 of file class.ilAttendanceList.php.
ilAttendanceList::addPreset | ( | string | $a_id, |
string | $a_caption, | ||
bool | $a_selected = false |
||
) |
Add user field.
Definition at line 163 of file class.ilAttendanceList.php.
Referenced by initFromForm(), and initFromSettings().
|
protected |
Add role.
Definition at line 188 of file class.ilAttendanceList.php.
Referenced by __construct().
ilAttendanceList::addUserFilter | ( | string | $a_id, |
string | $a_caption, | ||
bool | $a_checked = false |
||
) |
Add user filter.
Definition at line 201 of file class.ilAttendanceList.php.
ilAttendanceList::getFullscreenHTML | ( | ) |
render list in fullscreen mode
Definition at line 550 of file class.ilAttendanceList.php.
References getHTML().
ilAttendanceList::getHTML | ( | ) |
render attendance list
Definition at line 559 of file class.ilAttendanceList.php.
References $id, $tpl, $user_id, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\_sortIds(), ilDatePresentation\formatDate(), ILIAS\UICore\GlobalTemplate\get(), IL_CAL_UNIX, ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ilDatePresentation\setUseRelativeDates(), ILIAS\UICore\GlobalTemplate\setVariable(), and ILIAS\UICore\GlobalTemplate\touchBlock().
Referenced by getFullscreenHTML().
ilAttendanceList::getNonMemberUserData | ( | array & | $a_res | ) |
Get user data for subscribers and waiting list.
Definition at line 209 of file class.ilAttendanceList.php.
References $user_id, ilCourseUserData\_getValuesByObjId(), ilObjUser\_readUsersProfileData(), ilObjectFactory\getInstanceByObjId(), ILIAS\Repository\lng(), and ILIAS\Repository\profile().
ilAttendanceList::initForm | ( | string | $a_cmd = "" | ) |
Init form.
Definition at line 292 of file class.ilAttendanceList.php.
References $id, $role_data, $title, ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by initFromForm().
ilAttendanceList::initFromForm | ( | ) |
Set list attributes from post values.
Definition at line 397 of file class.ilAttendanceList.php.
References $id, $roles, $title, ilObject\_lookupTitle(), addPreset(), initForm(), setBlankColumns(), setRoleSelection(), and setTitle().
ilAttendanceList::initFromSettings | ( | ) |
Directly set list attributes from default settings for print view.
Definition at line 463 of file class.ilAttendanceList.php.
References $id, $role_data, $roles, $title, ilObject\_lookupTitle(), addPreset(), setBlankColumns(), setRoleSelection(), and setTitle().
|
protected |
read object export fields
Definition at line 120 of file class.ilAttendanceList.php.
References $GLOBALS, ilCourseDefinedFieldDefinition\_getFields(), ilExportFieldsInfo\_getInstanceByType(), and ILIAS\Repository\profile().
Referenced by __construct().
ilAttendanceList::setBlankColumns | ( | array | $a_values | ) |
Add blank columns.
Definition at line 261 of file class.ilAttendanceList.php.
Referenced by initFromForm(), and initFromSettings().
ilAttendanceList::setCallback | ( | callable | $a_callback | ) |
Set participant detail callback.
Definition at line 279 of file class.ilAttendanceList.php.
ilAttendanceList::setId | ( | string | $a_value | ) |
Definition at line 284 of file class.ilAttendanceList.php.
|
protected |
Definition at line 193 of file class.ilAttendanceList.php.
Referenced by initFromForm(), and initFromSettings().
ilAttendanceList::setTitle | ( | string | $a_title, |
?string | $a_description = null |
||
) |
Set titles.
Definition at line 179 of file class.ilAttendanceList.php.
Referenced by initFromForm(), and initFromSettings().
|
protected |
Definition at line 48 of file class.ilAttendanceList.php.
|
protected |
Definition at line 43 of file class.ilAttendanceList.php.
|
protected |
Definition at line 33 of file class.ilAttendanceList.php.
|
protected |
Definition at line 50 of file class.ilAttendanceList.php.
|
protected |
Definition at line 47 of file class.ilAttendanceList.php.
|
protected |
Definition at line 52 of file class.ilAttendanceList.php.
Referenced by getHTML(), initForm(), initFromForm(), and initFromSettings().
|
protected |
Definition at line 54 of file class.ilAttendanceList.php.
|
protected |
Definition at line 53 of file class.ilAttendanceList.php.
|
protected |
Definition at line 32 of file class.ilAttendanceList.php.
|
protected |
Definition at line 31 of file class.ilAttendanceList.php.
|
protected |
Definition at line 36 of file class.ilAttendanceList.php.
|
protected |
Definition at line 37 of file class.ilAttendanceList.php.
|
protected |
Definition at line 38 of file class.ilAttendanceList.php.
|
protected |
Definition at line 51 of file class.ilAttendanceList.php.
|
protected |
Definition at line 44 of file class.ilAttendanceList.php.
|
protected |
Definition at line 35 of file class.ilAttendanceList.php.
|
protected |
Definition at line 45 of file class.ilAttendanceList.php.
Referenced by initForm(), and initFromSettings().
|
protected |
Definition at line 46 of file class.ilAttendanceList.php.
Referenced by __construct(), initFromForm(), and initFromSettings().
|
protected |
Definition at line 49 of file class.ilAttendanceList.php.
Referenced by __construct(), initForm(), initFromForm(), and initFromSettings().
|
protected |
Definition at line 34 of file class.ilAttendanceList.php.
Referenced by getHTML().
|
protected |
Definition at line 55 of file class.ilAttendanceList.php.
|
protected |
Definition at line 39 of file class.ilAttendanceList.php.