40 if(count(
$questions) == 0 || $this->mgr->getResponseCount() == 0)
42 echo
"<p><em>{$this->emptyMessage}</em></p>";
46 $pk = $this->mgr->getQuestionKey();
56 if(!is_array($qAnswers)) $qAnswers = array($qAnswers);
59 echo
"<h4>{$question->question_number}. {$question->question}</h4>\n";
60 $renderer->drawGraph($this->mgr, $qAnswers);
static using()
Import the datamodels, views and manifest for the specified component(s).
static create($parent, $question)
Draws a graphical view of questionnaire/survey responses.
QuestionnaireGraphicalView($mgr)