getAllFeedbackForQuestion() public static method

Fetches all the feedback for a question
public static getAllFeedbackForQuestion ( integer $id ) : array
$id integer The question id.
return array
Example #1
0
 /**
  * Get the data
  */
 private function getData()
 {
     $this->record = (array) BackendFaqModel::get($this->id);
     $this->feedback = BackendFaqModel::getAllFeedbackForQuestion($this->id);
 }