ILIAS
release_4-3 Revision
|
Base class for attendance lists. More...
Public Member Functions | |
__construct ($a_parent_obj, $a_participants_object=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. | |
showAdmins ($a_value=true) | |
Include admins. | |
showTutors ($a_value=true) | |
Include tutors. | |
showMembers ($a_value=true) | |
Include members. | |
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 Attributes | |
$parent_obj | |
$participants | |
$callback | |
$presets | |
$show_admins | |
$show_tutors | |
$show_members | |
$blank_columns | |
$title | |
$description | |
$pre_blanks | |
$id |
Base class for attendance lists.
Definition at line 13 of file class.ilAttendanceList.php.
ilAttendanceList::__construct | ( | $a_parent_obj, | |
$a_participants_object = null |
|||
) |
Constructor.
object | $a_parent_obj | |
object | $a_participants_object |
Definition at line 34 of file class.ilAttendanceList.php.
References $lng.
ilAttendanceList::addBlank | ( | $a_caption | ) |
Add blank column preset.
string | $a_caption |
Definition at line 64 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 54 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::getFullscreenHTML | ( | ) |
render list in fullscreen mode
Definition at line 292 of file class.ilAttendanceList.php.
References $tpl, getHTML(), and ilUtil\getStyleSheetLocation().
ilAttendanceList::getHTML | ( | ) |
render attendance list
Definition at line 312 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::initForm | ( | $a_cmd = "" | ) |
Init form.
string | $a_cmd |
Definition at line 162 of file class.ilAttendanceList.php.
References $id, $ilCtrl, $lng, $title, ilTextInputGUI\setMulti(), ilCheckboxInputGUI\setOptionTitle(), and ilTextInputGUI\setValue().
Referenced by initFromForm().
ilAttendanceList::initFromForm | ( | ) |
Set list attributes from post values.
Definition at line 246 of file class.ilAttendanceList.php.
References $id, addPreset(), initForm(), setBlankColumns(), setTitle(), showAdmins(), showMembers(), and showTutors().
ilAttendanceList::setBlankColumns | ( | array | $a_values | ) |
Add blank columns.
array | $a_value |
Definition at line 116 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::setCallback | ( | $a_callback | ) |
Set participant detail callback.
string | array | $a_callback |
Definition at line 141 of file class.ilAttendanceList.php.
ilAttendanceList::setId | ( | $a_value | ) |
Set id (used for user form settings)
string | $a_value |
Definition at line 151 of file class.ilAttendanceList.php.
ilAttendanceList::setTitle | ( | $a_title, | |
$a_description = null |
|||
) |
Set titles.
string | $a_title | |
string | $a_description |
Definition at line 75 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::showAdmins | ( | $a_value = true | ) |
Include admins.
bool | $a_value |
Definition at line 86 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::showMembers | ( | $a_value = true | ) |
Include members.
bool | $a_value |
Definition at line 106 of file class.ilAttendanceList.php.
Referenced by initFromForm().
ilAttendanceList::showTutors | ( | $a_value = true | ) |
Include tutors.
bool | $a_value |
Definition at line 96 of file class.ilAttendanceList.php.
Referenced by initFromForm().
|
protected |
Definition at line 22 of file class.ilAttendanceList.php.
Referenced by getHTML().
|
protected |
Definition at line 17 of file class.ilAttendanceList.php.
|
protected |
Definition at line 24 of file class.ilAttendanceList.php.
|
protected |
Definition at line 26 of file class.ilAttendanceList.php.
Referenced by getHTML(), initForm(), and initFromForm().
|
protected |
Definition at line 15 of file class.ilAttendanceList.php.
|
protected |
Definition at line 16 of file class.ilAttendanceList.php.
|
protected |
Definition at line 25 of file class.ilAttendanceList.php.
|
protected |
Definition at line 18 of file class.ilAttendanceList.php.
|
protected |
Definition at line 19 of file class.ilAttendanceList.php.
|
protected |
Definition at line 21 of file class.ilAttendanceList.php.
|
protected |
Definition at line 20 of file class.ilAttendanceList.php.
|
protected |
Definition at line 23 of file class.ilAttendanceList.php.
Referenced by initForm().