ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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.
object | $a_parent_obj | |
ilParticipants | $a_participants_object | |
ilWaitingList | $a_waiting_list |
Definition at line 40 of file class.ilAttendanceList.php.
References $lng, $roles, $title, ilObject\_lookupTitle(), addRole(), array, and readOrderedExportableFields().
ilAttendanceList::addBlank | ( | $a_caption | ) |
Add blank column preset.
string | $a_caption |
Definition at line 159 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 149 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 183 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 205 of file class.ilAttendanceList.php.
References array.
ilAttendanceList::getFullscreenHTML | ( | ) |
render list in fullscreen mode
Definition at line 539 of file class.ilAttendanceList.php.
References $tpl, getHTML(), and ilUtil\getStyleSheetLocation().
ilAttendanceList::getHTML | ( | ) |
render attendance list
Definition at line 559 of file class.ilAttendanceList.php.
References $blank_columns, $id, $tpl, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\_sortIds(), array, ilDatePresentation\formatDate(), 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 215 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 333 of file class.ilAttendanceList.php.
References $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 453 of file class.ilAttendanceList.php.
References $id, $roles, $title, ilObject\_lookupTitle(), addPreset(), array, initForm(), setBlankColumns(), setRoleSelection(), and setTitle().
|
protected |
read object export fields
Definition at line 92 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 287 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 312 of file class.ilAttendanceList.php.
ilAttendanceList::setId | ( | $a_value | ) |
Set id (used for user form settings)
string | $a_value |
Definition at line 322 of file class.ilAttendanceList.php.
References string.
|
protected |
Set role selection.
array | $a_role_ids |
Definition at line 193 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 170 of file class.ilAttendanceList.php.
Referenced by initFromForm().
|
protected |
Definition at line 24 of file class.ilAttendanceList.php.
Referenced by getHTML().
|
protected |
Definition at line 19 of file class.ilAttendanceList.php.
|
protected |
Definition at line 26 of file class.ilAttendanceList.php.
|
protected |
Definition at line 23 of file class.ilAttendanceList.php.
|
protected |
Definition at line 28 of file class.ilAttendanceList.php.
Referenced by getHTML(), initForm(), and initFromForm().
|
protected |
Definition at line 30 of file class.ilAttendanceList.php.
|
protected |
Definition at line 29 of file class.ilAttendanceList.php.
|
protected |
Definition at line 15 of file class.ilAttendanceList.php.
|
protected |
Definition at line 16 of file class.ilAttendanceList.php.
|
protected |
Definition at line 17 of file class.ilAttendanceList.php.
|
protected |
Definition at line 27 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.
Referenced by initForm().
|
protected |
Definition at line 22 of file class.ilAttendanceList.php.
Referenced by __construct(), and initFromForm().
|
protected |
Definition at line 25 of file class.ilAttendanceList.php.
Referenced by __construct(), initForm(), and initFromForm().
|
protected |
Definition at line 31 of file class.ilAttendanceList.php.
|
protected |
Definition at line 18 of file class.ilAttendanceList.php.