ILIAS
Release_5_0_x_branch Revision 61816
|
Base class for attendance lists. More...
Public Member Functions | |
__construct ($a_parent_obj, ilParticipants $a_participants_object=null, ilWaitingList $a_waiting_list=null) | |
Constructor. | |
addPreset ($a_id, $a_caption, $a_selected=false) | |
Add user field. | |
addBlank ($a_caption) | |
Add blank column preset. | |
setTitle ($a_title, $a_description=null) | |
Set titles. | |
addUserFilter ($a_id, $a_caption, $a_checked=false) | |
Add user filter. | |
getNonMemberUserData (array &$a_res) | |
Get user data for subscribers and waiting list. | |
setBlankColumns (array $a_values) | |
Add blank columns. | |
setCallback ($a_callback) | |
Set participant detail callback. | |
setId ($a_value) | |
Set id (used for user form settings) | |
initForm ($a_cmd="") | |
Init form. | |
initFromForm () | |
Set list attributes from post values. | |
getFullscreenHTML () | |
render list in fullscreen mode | |
getHTML () | |
render attendance list |
Protected Member Functions | |
addRole ($a_id, $a_caption, $a_type) | |
Add role. | |
setRoleSelection ($a_role_ids) | |
Set role selection. |
Base class for attendance lists.
Definition at line 13 of file class.ilAttendanceList.php.
ilAttendanceList::__construct | ( | $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 39 of file class.ilAttendanceList.php.
References $lng, $roles, $title, ilObject\_lookupTitle(), and addRole().
ilAttendanceList::addBlank | ( | $a_caption | ) |
Add blank column preset.
string | $a_caption |
Definition at line 101 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 91 of file class.ilAttendanceList.php.
Referenced by initFromForm().
|
protected |
Add role.
int | $a_id | |
string | $a_caption | |
string | $a_type |
Definition at line 125 of file class.ilAttendanceList.php.
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 147 of file class.ilAttendanceList.php.
ilAttendanceList::getFullscreenHTML | ( | ) |
render list in fullscreen mode
Definition at line 415 of file class.ilAttendanceList.php.
References $tpl, getHTML(), and ilUtil\getStyleSheetLocation().
ilAttendanceList::getHTML | ( | ) |
render attendance list
Definition at line 435 of file class.ilAttendanceList.php.
References $blank_columns, $id, $tpl, ilObjUser\_lookupEmail(), ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\_sortIds(), and ilFormat\formatUnixTime().
Referenced by getFullscreenHTML().
ilAttendanceList::getNonMemberUserData | ( | array & | $a_res | ) |
Get user data for subscribers and waiting list.
array | &$a_res |
Definition at line 157 of file class.ilAttendanceList.php.
References $lng, and ilObjectFactory\getInstanceByObjId().
ilAttendanceList::initForm | ( | $a_cmd = "" | ) |
Init form.
string | $a_cmd |
Definition at line 247 of file class.ilAttendanceList.php.
References $id, $ilCtrl, $lng, $role_data, $title, ilFormPropertyGUI\setMulti(), ilTextInputGUI\setValue(), and ilCheckboxInputGUI\setValue().
Referenced by initFromForm().
ilAttendanceList::initFromForm | ( | ) |
Set list attributes from post values.
Definition at line 347 of file class.ilAttendanceList.php.
References $id, $roles, addPreset(), initForm(), setBlankColumns(), setRoleSelection(), and setTitle().
ilAttendanceList::setBlankColumns | ( | array | $a_values | ) |
Add blank columns.
array | $a_value |
Definition at line 201 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::setCallback | ( | $a_callback | ) |
Set participant detail callback.
string | array | $a_callback |
Definition at line 226 of file class.ilAttendanceList.php.
ilAttendanceList::setId | ( | $a_value | ) |
Set id (used for user form settings)
string | $a_value |
Definition at line 236 of file class.ilAttendanceList.php.
|
protected |
Set role selection.
array | $a_role_ids |
Definition at line 135 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 112 of file class.ilAttendanceList.php.
Referenced by initFromForm().
|
protected |
Definition at line 23 of file class.ilAttendanceList.php.
Referenced by getHTML().
|
protected |
Definition at line 18 of file class.ilAttendanceList.php.
|
protected |
Definition at line 25 of file class.ilAttendanceList.php.
|
protected |
Definition at line 22 of file class.ilAttendanceList.php.
|
protected |
Definition at line 27 of file class.ilAttendanceList.php.
Referenced by getHTML(), initForm(), and initFromForm().
|
protected |
Definition at line 29 of file class.ilAttendanceList.php.
|
protected |
Definition at line 28 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 26 of file class.ilAttendanceList.php.
|
protected |
Definition at line 19 of file class.ilAttendanceList.php.
|
protected |
Definition at line 20 of file class.ilAttendanceList.php.
Referenced by initForm().
|
protected |
Definition at line 21 of file class.ilAttendanceList.php.
Referenced by __construct(), and initFromForm().
|
protected |
Definition at line 24 of file class.ilAttendanceList.php.
Referenced by __construct(), and initForm().
|
protected |
Definition at line 30 of file class.ilAttendanceList.php.
|
protected |
Definition at line 17 of file class.ilAttendanceList.php.