ILIAS
Release_3_10_x_branch Revision 61812
|
FeedbackGUI Class. More...
Public Member Functions | |
ilFeedback ($a_id=0) | |
setId ($a_id) | |
getId () | |
setTitle ($a_title) | |
getTitle () | |
setDescription ($a_description) | |
getDescription () | |
setAnonymous ($a_anonymous) | |
getAnonymous () | |
setRequired ($a_required) | |
getRequired () | |
setShowOn ($a_show_location) | |
getShowOn () | |
setVotes ($a_votes) | |
getVotes () | |
setStarttime ($a_starttime) | |
getStarttime () | |
setEndtime ($a_endtime) | |
getEndtime () | |
setInterval ($a_interval) | |
getInterval () | |
setIntervalUnit ($a_interval_unit) | |
getIntervalUnit () | |
setFirstVoteBest ($a_first_vote_best) | |
getFirstVoteBest () | |
setObjId ($a_obj_id) | |
getObjId () | |
setRefId ($a_ref_id) | |
getRefId () | |
setTextAnswer ($a_text_answer) | |
getTextAnswer () | |
setIds ($a_ids) | |
setUserId ($a_user_id) | |
setVote ($a_vote) | |
setNote ($a_note) | |
setAllData ($a_barometer) | |
set all data of a baromter | |
create () | |
create an new barometer | |
update () | |
update a barometer | |
getBarometer () | |
get a baromter by id | |
getBarometerByObjId () | |
get a barometer by obj_id | |
getBarometerByRefId () | |
get a baromter by ref_id | |
getFeedback ($required=0) | |
get a required baromter for a certain ref_id | |
getAllBarometer ($a_show_inactive=1, $a_only_req=0) | |
get all barometers for a certain ref_id if no ref_id is set we get all barometers, this is needed for the personal desktop box. | |
delete () | |
delete a barometer and its results | |
saveResult () | |
save a feedback result | |
canVote ($a_user_id, $a_fb_id) | |
check if a certain user has already answerd a certain barometer | |
getChartData () | |
get the information to display on the charts | |
getNotes () | |
get the comments of an user or all users | |
getResultUsers () | |
get all users that have answerd a certain barometer | |
interval2seconds ($a_interval, $a_interval_unit) | |
convert a interval with unit to seconds ex. |
FeedbackGUI Class.
Definition at line 35 of file class.ilFeedback.php.
ilFeedback::canVote | ( | $a_user_id, | |
$a_fb_id | |||
) |
check if a certain user has already answerd a certain barometer
Definition at line 353 of file class.ilFeedback.php.
References $res, ilCourseParticipants\_getInstanceByObjId(), DB_FETCHMODE_ASSOC, and interval2seconds().
Referenced by saveResult().
ilFeedback::create | ( | ) |
create an new barometer
Definition at line 182 of file class.ilFeedback.php.
ilFeedback::delete | ( | ) |
delete a barometer and its results
Definition at line 320 of file class.ilFeedback.php.
ilFeedback::getAllBarometer | ( | $a_show_inactive = 1 , |
|
$a_only_req = 0 |
|||
) |
get all barometers for a certain ref_id if no ref_id is set we get all barometers, this is needed for the personal desktop box.
Definition at line 288 of file class.ilFeedback.php.
References $res, DB_FETCHMODE_ASSOC, and ilFeedback().
ilFeedback::getAnonymous | ( | ) |
Definition at line 66 of file class.ilFeedback.php.
ilFeedback::getBarometer | ( | ) |
get a baromter by id
Definition at line 235 of file class.ilFeedback.php.
References $res, DB_FETCHMODE_ASSOC, and setAllData().
Referenced by ilFeedback().
ilFeedback::getBarometerByObjId | ( | ) |
get a barometer by obj_id
Definition at line 247 of file class.ilFeedback.php.
References $res, DB_FETCHMODE_ASSOC, and setAllData().
ilFeedback::getBarometerByRefId | ( | ) |
get a baromter by ref_id
Definition at line 259 of file class.ilFeedback.php.
References $res, DB_FETCHMODE_ASSOC, and setAllData().
ilFeedback::getChartData | ( | ) |
get the information to display on the charts
Definition at line 397 of file class.ilFeedback.php.
References $data, $legend, $n, $res, and DB_FETCHMODE_ASSOC.
ilFeedback::getDescription | ( | ) |
Definition at line 59 of file class.ilFeedback.php.
ilFeedback::getEndtime | ( | ) |
Definition at line 101 of file class.ilFeedback.php.
ilFeedback::getFeedback | ( | $required = 0 | ) |
get a required baromter for a certain ref_id
Definition at line 271 of file class.ilFeedback.php.
References $res, DB_FETCHMODE_ASSOC, and setAllData().
ilFeedback::getFirstVoteBest | ( | ) |
Definition at line 122 of file class.ilFeedback.php.
ilFeedback::getId | ( | ) |
Definition at line 47 of file class.ilFeedback.php.
ilFeedback::getInterval | ( | ) |
Definition at line 108 of file class.ilFeedback.php.
ilFeedback::getIntervalUnit | ( | ) |
Definition at line 115 of file class.ilFeedback.php.
ilFeedback::getNotes | ( | ) |
get the comments of an user or all users
Definition at line 455 of file class.ilFeedback.php.
References $data, $res, and DB_FETCHMODE_ASSOC.
ilFeedback::getObjId | ( | ) |
Definition at line 129 of file class.ilFeedback.php.
ilFeedback::getRefId | ( | ) |
Definition at line 135 of file class.ilFeedback.php.
ilFeedback::getRequired | ( | ) |
Definition at line 73 of file class.ilFeedback.php.
ilFeedback::getResultUsers | ( | ) |
get all users that have answerd a certain barometer
Definition at line 478 of file class.ilFeedback.php.
References $res, and DB_FETCHMODE_ASSOC.
ilFeedback::getShowOn | ( | ) |
Definition at line 80 of file class.ilFeedback.php.
ilFeedback::getStarttime | ( | ) |
Definition at line 94 of file class.ilFeedback.php.
ilFeedback::getTextAnswer | ( | ) |
Definition at line 142 of file class.ilFeedback.php.
ilFeedback::getTitle | ( | ) |
Definition at line 53 of file class.ilFeedback.php.
ilFeedback::getVotes | ( | ) |
Definition at line 87 of file class.ilFeedback.php.
ilFeedback::ilFeedback | ( | $a_id = 0 | ) |
Definition at line 36 of file class.ilFeedback.php.
References getBarometer().
Referenced by getAllBarometer().
ilFeedback::interval2seconds | ( | $a_interval, | |
$a_interval_unit | |||
) |
convert a interval with unit to seconds ex.
4 days to seconds
Definition at line 498 of file class.ilFeedback.php.
Referenced by canVote().
ilFeedback::saveResult | ( | ) |
save a feedback result
Definition at line 335 of file class.ilFeedback.php.
References canVote().
ilFeedback::setAllData | ( | $a_barometer | ) |
set all data of a baromter
Definition at line 161 of file class.ilFeedback.php.
References setAnonymous(), setDescription(), setEndtime(), setFirstVoteBest(), setId(), setInterval(), setIntervalUnit(), setObjId(), setRefId(), setRequired(), setShowOn(), setStarttime(), setTextAnswer(), setTitle(), and setVotes().
Referenced by getBarometer(), getBarometerByObjId(), getBarometerByRefId(), and getFeedback().
ilFeedback::setAnonymous | ( | $a_anonymous | ) |
Definition at line 62 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setDescription | ( | $a_description | ) |
Definition at line 56 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setEndtime | ( | $a_endtime | ) |
Definition at line 97 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setFirstVoteBest | ( | $a_first_vote_best | ) |
Definition at line 118 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setId | ( | $a_id | ) |
Definition at line 44 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setIds | ( | $a_ids | ) |
Definition at line 145 of file class.ilFeedback.php.
ilFeedback::setInterval | ( | $a_interval | ) |
Definition at line 104 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setIntervalUnit | ( | $a_interval_unit | ) |
Definition at line 111 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setNote | ( | $a_note | ) |
Definition at line 154 of file class.ilFeedback.php.
ilFeedback::setObjId | ( | $a_obj_id | ) |
Definition at line 125 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setRefId | ( | $a_ref_id | ) |
Definition at line 132 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setRequired | ( | $a_required | ) |
Definition at line 69 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setShowOn | ( | $a_show_location | ) |
Definition at line 76 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setStarttime | ( | $a_starttime | ) |
Definition at line 90 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setTextAnswer | ( | $a_text_answer | ) |
Definition at line 138 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setTitle | ( | $a_title | ) |
Definition at line 50 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::setUserId | ( | $a_user_id | ) |
Definition at line 148 of file class.ilFeedback.php.
ilFeedback::setVote | ( | $a_vote | ) |
Definition at line 151 of file class.ilFeedback.php.
ilFeedback::setVotes | ( | $a_votes | ) |
Definition at line 83 of file class.ilFeedback.php.
Referenced by setAllData().
ilFeedback::update | ( | ) |
update a barometer
Definition at line 210 of file class.ilFeedback.php.