Lines Matching refs:questions
59 $questions = array();
77 $questions[] = $q;
84 if(count($questions) > 1) { // if more than 1 question => only keep questions with text
85 $questions = array_filter($questions, create_function('$e', 'return ($e["q"] != "");'));
88 return array(trim($title), $questions, $opts);
100 $questions = $data[1];
135 if(!isset($questions[$q])) continue;
137 if($questions[$q]['m']) {
167 if(!$voted) $renderer->doc .= $this->_pollForm($questions, $renderer);
174 $renderer->doc .= $this->_pollResults($questions, $poll, $renderer);
184 function _pollResults($questions, $poll, &$renderer) { argument
188 foreach($questions as $question) {
208 function _pollForm($questions, &$renderer) { argument
220 foreach($questions as $question) {