/** * Render the multiple response question type * * @param unknown_type $form_content * * @author Patrick Cool <*****@*****.**>, Ghent University * @version January 2007 */ function render_question($form_content, $answers = array()) { $question = new ch_yesno(); $question->render_question($form_content, $answers); }
/** * @param FormValidator $form * @param array $questionData * @param array $answers */ public function render(FormValidator $form, $questionData = array(), $answers = array()) { $question = new ch_yesno(); $question->render($form, $questionData, $answers); }