ILIAS
Release_4_1_x_branch Revision 61804
|
GUI class for feedback services. More...
Public Member Functions | |
ilFeedbackGUI () | |
Constructor. | |
& | executeCommand () |
Execute current command. | |
getFeedbackHTML () | |
fbList () | |
List all feedback items. | |
& | __initTableGUI () |
delete () | |
stats () | |
edit () | |
Edit screen for single feedback item. | |
update () | |
save () | |
get_last ($a_var, $a_value='', $pForm=true) | |
get stored post var in case of an error/warning otherwise return passed value | |
addBarometer () | |
Display the new feedback creation screen. | |
getButtons ($a_barometer_id) | |
getDateSelect ($a_type, $a_varname, $a_selected) | |
showBarometerById ($a_id=0, $a_header=false) | |
_isRequiredFeedbackOnLogin () | |
showBarometer () | |
saveVote () | |
selectbox ($selected_itm, $name, $items, $params='', $first='') | |
getPDFeedbackListHTML () | |
getCRSFeedbackListHTML () | |
handleRequiredFeedback ($a_ref_id=0) | |
voteform ($a_barometer_id=0) |
GUI class for feedback services.
Feedbacks are little polls that are embedded into the info screen and currently used by courses only.
Definition at line 15 of file class.ilFeedbackGUI.php.
& ilFeedbackGUI::__initTableGUI | ( | ) |
Definition at line 158 of file class.ilFeedbackGUI.php.
Referenced by fbList().
ilFeedbackGUI::_isRequiredFeedbackOnLogin | ( | ) |
Definition at line 687 of file class.ilFeedbackGUI.php.
References ilCourseParticipants\_getInstanceByObjId().
ilFeedbackGUI::addBarometer | ( | ) |
Display the new feedback creation screen.
Definition at line 487 of file class.ilFeedbackGUI.php.
References $_POST, $tpl, ilUtil\formSelect(), get_last(), getDateSelect(), ilUtil\getImagePath(), and ilUtil\prepareFormOutput().
ilFeedbackGUI::delete | ( | ) |
Definition at line 164 of file class.ilFeedbackGUI.php.
References $_POST, and ilUtil\redirect().
ilFeedbackGUI::edit | ( | ) |
Edit screen for single feedback item.
Definition at line 258 of file class.ilFeedbackGUI.php.
References $_GET, $_POST, $_REQUEST, $data, $tpl, ilUtil\formSelect(), getDateSelect(), and ilUtil\getImagePath().
Referenced by save().
& ilFeedbackGUI::executeCommand | ( | ) |
Execute current command.
Definition at line 34 of file class.ilFeedbackGUI.php.
References $_SESSION, $cmd, and $ilErr.
ilFeedbackGUI::fbList | ( | ) |
List all feedback items.
Definition at line 79 of file class.ilFeedbackGUI.php.
References $_GET, __initTableGUI(), ilUtil\array_php2js(), ilUtil\formCheckbox(), getButtons(), and ilUtil\getImagePath().
ilFeedbackGUI::get_last | ( | $a_var, | |
$a_value = '' , |
|||
$pForm = true |
|||
) |
get stored post var in case of an error/warning otherwise return passed value
Definition at line 473 of file class.ilFeedbackGUI.php.
References $_POST, $_SESSION, $result, and ilUtil\prepareFormOutput().
Referenced by addBarometer().
ilFeedbackGUI::getButtons | ( | $a_barometer_id | ) |
Definition at line 586 of file class.ilFeedbackGUI.php.
Referenced by fbList().
ilFeedbackGUI::getCRSFeedbackListHTML | ( | ) |
Definition at line 807 of file class.ilFeedbackGUI.php.
ilFeedbackGUI::getDateSelect | ( | $a_type, | |
$a_varname, | |||
$a_selected | |||
) |
Definition at line 602 of file class.ilFeedbackGUI.php.
References formSelect().
Referenced by addBarometer(), and edit().
ilFeedbackGUI::getFeedbackHTML | ( | ) |
Definition at line 61 of file class.ilFeedbackGUI.php.
ilFeedbackGUI::getPDFeedbackListHTML | ( | ) |
Definition at line 773 of file class.ilFeedbackGUI.php.
References $tpl.
ilFeedbackGUI::handleRequiredFeedback | ( | $a_ref_id = 0 | ) |
Definition at line 835 of file class.ilFeedbackGUI.php.
ilFeedbackGUI::ilFeedbackGUI | ( | ) |
ilFeedbackGUI::save | ( | ) |
Definition at line 400 of file class.ilFeedbackGUI.php.
References $_GET, $_POST, edit(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\stripSlashes(), and update().
Referenced by update().
ilFeedbackGUI::saveVote | ( | ) |
Definition at line 741 of file class.ilFeedbackGUI.php.
References $_GET, $_POST, and ilUtil\stripSlashes().
ilFeedbackGUI::selectbox | ( | $selected_itm, | |
$name, | |||
$items, | |||
$params = '' , |
|||
$first = '' |
|||
) |
Definition at line 757 of file class.ilFeedbackGUI.php.
Referenced by stats().
ilFeedbackGUI::showBarometer | ( | ) |
Definition at line 705 of file class.ilFeedbackGUI.php.
References $_GET, $tpl, and ilUtil\formRadioButton().
ilFeedbackGUI::showBarometerById | ( | $a_id = 0 , |
|
$a_header = false |
|||
) |
Definition at line 646 of file class.ilFeedbackGUI.php.
References $_GET, $tpl, ilObject\_lookupTitle(), ilUtil\formRadioButton(), and ilUtil\getImagePath().
Referenced by voteform().
ilFeedbackGUI::stats | ( | ) |
Definition at line 175 of file class.ilFeedbackGUI.php.
References $_GET, $_POST, $chart_type, $comment, $data, $legend, $tpl, selectbox(), and ilUtil\stripSlashes().
ilFeedbackGUI::update | ( | ) |
Definition at line 395 of file class.ilFeedbackGUI.php.
References save().
Referenced by ilFeedbackGUI(), and save().
ilFeedbackGUI::voteform | ( | $a_barometer_id = 0 | ) |
Definition at line 860 of file class.ilFeedbackGUI.php.
References $_GET, $tpl, and showBarometerById().