ILIAS
release_4-3 Revision
|
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 164 of file class.ilFeedbackGUI.php.
Referenced by fbList().
ilFeedbackGUI::_isRequiredFeedbackOnLogin | ( | ) |
Definition at line 697 of file class.ilFeedbackGUI.php.
References $ilUser, and ilCourseParticipant\_getInstanceByObjId().
ilFeedbackGUI::addBarometer | ( | ) |
Display the new feedback creation screen.
Definition at line 493 of file class.ilFeedbackGUI.php.
References $_POST, $tpl, exit, ilUtil\formSelect(), get_last(), getDateSelect(), ilUtil\getImagePath(), and ilUtil\prepareFormOutput().
ilFeedbackGUI::delete | ( | ) |
Definition at line 170 of file class.ilFeedbackGUI.php.
References $_POST, and ilUtil\redirect().
ilFeedbackGUI::edit | ( | ) |
Edit screen for single feedback item.
Definition at line 264 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 81 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 479 of file class.ilFeedbackGUI.php.
References $_POST, $_SESSION, $result, and ilUtil\prepareFormOutput().
Referenced by addBarometer().
ilFeedbackGUI::getButtons | ( | $a_barometer_id | ) |
Definition at line 596 of file class.ilFeedbackGUI.php.
Referenced by fbList().
ilFeedbackGUI::getCRSFeedbackListHTML | ( | ) |
Definition at line 817 of file class.ilFeedbackGUI.php.
References $_GET, $ilUser, and $tpl.
ilFeedbackGUI::getDateSelect | ( | $a_type, | |
$a_varname, | |||
$a_selected | |||
) |
Definition at line 612 of file class.ilFeedbackGUI.php.
References ilUtil\formSelect().
Referenced by addBarometer(), and edit().
ilFeedbackGUI::getFeedbackHTML | ( | ) |
Definition at line 63 of file class.ilFeedbackGUI.php.
ilFeedbackGUI::getPDFeedbackListHTML | ( | ) |
Definition at line 784 of file class.ilFeedbackGUI.php.
ilFeedbackGUI::handleRequiredFeedback | ( | $a_ref_id = 0 | ) |
Definition at line 845 of file class.ilFeedbackGUI.php.
References $ilUser.
ilFeedbackGUI::ilFeedbackGUI | ( | ) |
ilFeedbackGUI::save | ( | ) |
Definition at line 406 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 752 of file class.ilFeedbackGUI.php.
References $_GET, $_POST, $ilUser, and ilUtil\stripSlashes().
ilFeedbackGUI::selectbox | ( | $selected_itm, | |
$name, | |||
$items, | |||
$params = '' , |
|||
$first = '' |
|||
) |
Definition at line 768 of file class.ilFeedbackGUI.php.
Referenced by stats().
ilFeedbackGUI::showBarometer | ( | ) |
Definition at line 716 of file class.ilFeedbackGUI.php.
References $_GET, $ilUser, $tpl, and ilUtil\formRadioButton().
ilFeedbackGUI::showBarometerById | ( | $a_id = 0 , |
|
$a_header = false |
|||
) |
Definition at line 656 of file class.ilFeedbackGUI.php.
References $_GET, $ilUser, $tpl, ilObject\_lookupTitle(), ilUtil\formRadioButton(), and ilUtil\getImagePath().
Referenced by voteform().
ilFeedbackGUI::stats | ( | ) |
Definition at line 181 of file class.ilFeedbackGUI.php.
References $_GET, $_POST, $chart_type, $comment, $data, $legend, $tpl, selectbox(), and ilUtil\stripSlashes().
ilFeedbackGUI::update | ( | ) |
Definition at line 401 of file class.ilFeedbackGUI.php.
References save().
Referenced by ilFeedbackGUI(), and save().
ilFeedbackGUI::voteform | ( | $a_barometer_id = 0 | ) |
Definition at line 870 of file class.ilFeedbackGUI.php.
References $_GET, $tpl, and showBarometerById().