ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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(), array, and readOrderedExportableFields().
ilAttendanceList::addBlank | ( | $a_caption | ) |
Add blank column preset.
string | $a_caption |
Definition at line 166 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 156 of file class.ilAttendanceList.php.
References array.
Referenced by initFromForm().
|
protected |
Add role.
int | $a_id | |
string | $a_caption | |
string | $a_type |
Definition at line 190 of file class.ilAttendanceList.php.
References $a_type, and array.
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 214 of file class.ilAttendanceList.php.
References array.
ilAttendanceList::getFullscreenHTML | ( | ) |
render list in fullscreen mode
Definition at line 513 of file class.ilAttendanceList.php.
References $tpl, getHTML(), and ilUtil\getStyleSheetLocation().
ilAttendanceList::getHTML | ( | ) |
render attendance list
Definition at line 533 of file class.ilAttendanceList.php.
References $blank_columns, $id, $name, $time, $tpl, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\_sortIds(), array, ilDatePresentation\formatDate(), ilLoggerFactory\getLogger(), IL_CAL_UNIX, ilDatePresentation\setUseRelativeDates(), string, and time.
Referenced by getFullscreenHTML().
ilAttendanceList::getNonMemberUserData | ( | array & | $a_res | ) |
Get user data for subscribers and waiting list.
array | &$a_res |
Definition at line 224 of file class.ilAttendanceList.php.
References $lng, ilUserDefinedFields\_getInstance(), ilCourseUserData\_getValuesByObjId(), ilObjUser\_readUsersProfileData(), array, ilObjectFactory\getInstanceByObjId(), and string.
ilAttendanceList::initForm | ( | $a_cmd = "" | ) |
Init form.
string | $a_cmd |
Definition at line 325 of file class.ilAttendanceList.php.
References $form, $id, $ilCtrl, $lng, $role_data, $title, ilObject\_lookupTitle(), array, ilUserFormSettings\deleteValue(), ilFormPropertyGUI\setMulti(), and ilTextInputGUI\setValue().
Referenced by initFromForm().
ilAttendanceList::initFromForm | ( | ) |
Set list attributes from post values.
Definition at line 443 of file class.ilAttendanceList.php.
References $form, $id, $roles, $title, ilObject\_lookupTitle(), addPreset(), array, initForm(), setBlankColumns(), setRoleSelection(), and setTitle().
|
protected |
read object export fields
Definition at line 103 of file class.ilAttendanceList.php.
References $GLOBALS, ilCourseDefinedFieldDefinition\_getFields(), ilUserDefinedFields\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), array, ilLogLevel\DEBUG, and ilLoggerFactory\getLogger().
Referenced by __construct().
ilAttendanceList::setBlankColumns | ( | array | $a_values | ) |
Add blank columns.
array | $a_value |
Definition at line 284 of file class.ilAttendanceList.php.
References array.
Referenced by initFromForm().
ilAttendanceList::setCallback | ( | $a_callback | ) |
Set participant detail callback.
string | array | $a_callback |
Definition at line 304 of file class.ilAttendanceList.php.
ilAttendanceList::setId | ( | $a_value | ) |
Set id (used for user form settings)
string | $a_value |
Definition at line 314 of file class.ilAttendanceList.php.
References string.
|
protected |
Set role selection.
array | $a_role_ids |
Definition at line 202 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 177 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.