ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Base class for attendance lists. More...
Public Member Functions | |
__construct ($a_parent_gui, $a_parent_obj, ilParticipants $a_participants_object=null, ilWaitingList $a_waiting_list=null) | |
Constructor. More... | |
addPreset ($a_id, $a_caption, $a_selected=false) | |
Add user field. More... | |
addBlank ($a_caption) | |
Add blank column preset. More... | |
setTitle ($a_title, $a_description=null) | |
Set titles. More... | |
addUserFilter ($a_id, $a_caption, $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 ($a_callback) | |
Set participant detail callback. More... | |
setId ($a_value) | |
Set id (used for user form settings) More... | |
initForm ($a_cmd="") | |
Init form. More... | |
initFromForm () | |
Set list attributes from post values. More... | |
getFullscreenHTML () | |
render list in fullscreen mode More... | |
getHTML () | |
render attendance list More... | |
Protected Member Functions | |
readOrderedExportableFields () | |
read object export fields More... | |
addRole ($a_id, $a_caption, $a_type) | |
Add role. More... | |
setRoleSelection ($a_role_ids) | |
Set role selection. More... | |
Base class for attendance lists.
Definition at line 13 of file class.ilAttendanceList.php.
ilAttendanceList::__construct | ( | $a_parent_gui, | |
$a_parent_obj, | |||
ilParticipants | $a_participants_object = null , |
||
ilWaitingList | $a_waiting_list = null |
||
) |
Constructor.
ilObjectGUI | $a_parent_obj | |
ilObject | $a_parent_obj | |
ilParticipants | $a_participants_object | |
ilWaitingList | $a_waiting_list |
Definition at line 46 of file class.ilAttendanceList.php.
References $DIC, $roles, $title, ilObject\_lookupTitle(), addRole(), and readOrderedExportableFields().
ilAttendanceList::addBlank | ( | $a_caption | ) |
Add blank column preset.
string | $a_caption |
Definition at line 169 of file class.ilAttendanceList.php.
ilAttendanceList::addPreset | ( | $a_id, | |
$a_caption, | |||
$a_selected = false |
|||
) |
Add user field.
string | $a_id | |
string | $a_caption | |
bool | $a_selected |
Definition at line 159 of file class.ilAttendanceList.php.
Referenced by initFromForm().
|
protected |
Add role.
int | $a_id | |
string | $a_caption | |
string | $a_type |
Definition at line 193 of file class.ilAttendanceList.php.
References $a_type.
Referenced by __construct().
ilAttendanceList::addUserFilter | ( | $a_id, | |
$a_caption, | |||
$a_checked = false |
|||
) |
Add user filter.
int | $a_id | |
string | $a_caption | |
bool | $a_checked |
Definition at line 217 of file class.ilAttendanceList.php.
ilAttendanceList::getFullscreenHTML | ( | ) |
render list in fullscreen mode
Definition at line 521 of file class.ilAttendanceList.php.
References $tpl, getHTML(), and ilUtil\getStyleSheetLocation().
ilAttendanceList::getHTML | ( | ) |
render attendance list
Definition at line 541 of file class.ilAttendanceList.php.
References $blank_columns, $id, $name, $time, $tpl, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\_sortIds(), ilLogLevel\DEBUG, ilDatePresentation\formatDate(), ilLoggerFactory\getLogger(), IL_CAL_UNIX, and ilDatePresentation\setUseRelativeDates().
Referenced by getFullscreenHTML().
ilAttendanceList::getNonMemberUserData | ( | array & | $a_res | ) |
Get user data for subscribers and waiting list.
array | &$a_res |
Definition at line 227 of file class.ilAttendanceList.php.
References $DIC, $lng, ilUserDefinedFields\_getInstance(), ilCourseUserData\_getValuesByObjId(), ilObjUser\_readUsersProfileData(), and ilObjectFactory\getInstanceByObjId().
ilAttendanceList::initForm | ( | $a_cmd = "" | ) |
Init form.
string | $a_cmd |
Definition at line 330 of file class.ilAttendanceList.php.
References $DIC, $form, $id, $ilCtrl, $lng, $role_data, $title, ilObject\_lookupTitle(), ilUserFormSettings\deleteValue(), ilFormPropertyGUI\setMulti(), and ilTextInputGUI\setValue().
Referenced by initFromForm().
ilAttendanceList::initFromForm | ( | ) |
Set list attributes from post values.
Definition at line 451 of file class.ilAttendanceList.php.
References $form, $id, $roles, $title, ilObject\_lookupTitle(), addPreset(), initForm(), setBlankColumns(), setRoleSelection(), and setTitle().
|
protected |
read object export fields
Definition at line 106 of file class.ilAttendanceList.php.
References $GLOBALS, ilCourseDefinedFieldDefinition\_getFields(), ilUserDefinedFields\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), ilLogLevel\DEBUG, and ilLoggerFactory\getLogger().
Referenced by __construct().
ilAttendanceList::setBlankColumns | ( | array | $a_values | ) |
Add blank columns.
array | $a_value |
Definition at line 289 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::setCallback | ( | $a_callback | ) |
Set participant detail callback.
string | array | $a_callback |
Definition at line 309 of file class.ilAttendanceList.php.
ilAttendanceList::setId | ( | $a_value | ) |
Set id (used for user form settings)
string | $a_value |
Definition at line 319 of file class.ilAttendanceList.php.
|
protected |
Set role selection.
array | $a_role_ids |
Definition at line 205 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::setTitle | ( | $a_title, | |
$a_description = null |
|||
) |
Set titles.
string | $a_title | |
string | $a_description |
Definition at line 180 of file class.ilAttendanceList.php.
Referenced by initFromForm().
|
protected |
Definition at line 29 of file class.ilAttendanceList.php.
Referenced by getHTML().
|
protected |
Definition at line 24 of file class.ilAttendanceList.php.
|
protected |
Definition at line 31 of file class.ilAttendanceList.php.
|
protected |
Definition at line 28 of file class.ilAttendanceList.php.
|
protected |
Definition at line 33 of file class.ilAttendanceList.php.
Referenced by getHTML(), initForm(), and initFromForm().
|
protected |
Definition at line 35 of file class.ilAttendanceList.php.
|
protected |
Definition at line 34 of file class.ilAttendanceList.php.
|
protected |
Definition at line 18 of file class.ilAttendanceList.php.
|
protected |
Definition at line 20 of file class.ilAttendanceList.php.
|
protected |
Definition at line 21 of file class.ilAttendanceList.php.
|
protected |
Definition at line 22 of file class.ilAttendanceList.php.
|
protected |
Definition at line 32 of file class.ilAttendanceList.php.
|
protected |
Definition at line 25 of file class.ilAttendanceList.php.
|
protected |
Definition at line 26 of file class.ilAttendanceList.php.
Referenced by initForm().
|
protected |
Definition at line 27 of file class.ilAttendanceList.php.
Referenced by __construct(), and initFromForm().
|
protected |
Definition at line 30 of file class.ilAttendanceList.php.
Referenced by __construct(), initForm(), and initFromForm().
|
protected |
Definition at line 36 of file class.ilAttendanceList.php.
|
protected |
Definition at line 23 of file class.ilAttendanceList.php.