Esempio n. 1
0
 function getAnswers()
 {
     $a = new QnA_Answer();
     $a->question_id = $this->id;
     $cnt = $a->find();
     if (!empty($cnt)) {
         return $a;
     } else {
         return null;
     }
 }