function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect']); // 'correct' is not a unified field for MRQ $this->_fields_editable[] = 'correct'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_score_methods = array($this->_lang_strings['markperquestion'], $this->_lang_strings['markperoption'], $this->_lang_strings['allowpartial'], $this->_lang_strings['bonusmark']); $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect'], 'marks_partial' => $this->_lang_strings['markspartial']); // 'correct' is not a unified field for Rank questions $this->_fields_editable[] = 'correct'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect']); $this->_display_methods = array('vertical' => $this->_lang_strings['vertical'], 'horizontal' => $this->_lang_strings['horizontal'], 'dropdown' => $this->_lang_strings['dropdownlist']); // 'correct' is not a unified field for True/False questions $this->_fields_editable[] = 'correct'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); // Convert the max number of options into a list of variables $this->option_order = 'display order'; $this->_fields_editable[] = 'points1'; $this->_change_field_map['points1'] = 'points'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_fields_unified = array('text' => $this->_lang_strings['questionstem'], 'marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect']); $this->_display_methods = array('dropdown' => $this->_lang_strings['dropdownlists'], 'textboxes' => $this->_lang_strings['textboxes']); // 'correct' is not a unified field for Dichotomous questions $this->_fields_editable[] = 'correct'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect']); $this->_display_methods = array('TF_NegativeAbstain' => $this->_lang_strings['tfnegativeabstain'], 'TF_Positive' => $this->_lang_strings['tfpositive'], 'YN_NegativeAbstain' => $this->_lang_strings['ynnegativeabstain'], 'YN_Positive' => $this->_lang_strings['ynpositive']); // 'correct' is not a unified field for Dichotomous questions $this->_fields_editable[] = 'correct'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_score_methods = array($this->_lang_strings['allowpartial']); $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect'], 'marks_partial' => $this->_lang_strings['markspartial']); // Convert the max number of options into a list of variables $this->variable_labels = range('A', chr(64 + $this->max_options)); $this->option_order = 'display order'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); // Convert the max number of options into a list of variables $this->option_order = 'display order'; $this->_fields_change = array('option_marks_correct', 'option_marks_partial', 'option_marks_incorrect', 'correct_full', 'error_full', 'correct_partial', 'error_partial'); $this->_fields_unified = array('correct' => $this->_lang_strings['correctanswer'], 'marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect'], 'marks_partial' => $this->_lang_strings['markspartial']); $this->_score_methods = array($this->_lang_strings['markperoption'], $this->_lang_strings['allowpartial']); }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->sct_types = array(array($this->_lang_strings['hypothesis'], $this->_lang_strings['veryunlikely'], $this->_lang_strings['unlikely'], $this->_lang_strings['neithernorlikely'], $this->_lang_strings['morelikely'], $this->_lang_strings['verylikely']), array($this->_lang_strings['investigation'], $this->_lang_strings['useless'], $this->_lang_strings['lessuseful'], $this->_lang_strings['neithernoruseful'], $this->_lang_strings['moreuseful'], $this->_lang_strings['veryuseful']), array($this->_lang_strings['prescription'], $this->_lang_strings['contraindicatedtotally'], $this->_lang_strings['detrimental'], $this->_lang_strings['neithernoruseful'], $this->_lang_strings['useful'], $this->_lang_strings['necessary']), array($this->_lang_strings['intervention'], $this->_lang_strings['contraindicated'], $this->_lang_strings['lessindicated'], $this->_lang_strings['neithernorindicated'], $this->_lang_strings['indicated'], $this->_lang_strings['stronglyindicated']), array($this->_lang_strings['treatment'], $this->_lang_strings['contraindicated'], $this->_lang_strings['lessindicated'], $this->_lang_strings['neithernorindicated'], $this->_lang_strings['indicated'], $this->_lang_strings['stronglyindicated'])); $i = 1; foreach ($this->sct_types as $type) { $this->_display_methods[$i] = $this->_lang_strings['this'] . ' ' . strtolower($type[0]) . ' ' . $this->_lang_strings['becomes']; $i++; } // 'correct' is not a unified field for SCT questions $this->_fields_unified = array(); $this->_fields_editable[] = 'correct'; }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); // 'correct' is not a unified field for Extmatch because it is compound $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect']); }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_fields_unified = array('marks_correct' => $this->_lang_strings['markscorrect'], 'marks_incorrect' => $this->_lang_strings['marksincorrect']); }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_scale_types = array($this->_lang_strings['oscescales'] => array('0|1' => '0, 1', '0|1|2' => '0, 1, 2', $this->_lang_strings['failpass3'] => $this->_lang_strings['failpass']), '3 ' . $this->_lang_strings['pointscales'] => array($this->_lang_strings['lowhigh3'] => $this->_lang_strings['lowhigh'], $this->_lang_strings['neveralways3'] => $this->_lang_strings['neveralways'], $this->_lang_strings['disagre3'] => $this->_lang_strings['disagre3point']), '4 ' . $this->_lang_strings['pointscales'] => array($this->_lang_strings['lowhigh4'] => $this->_lang_strings['lowhigh'], $this->_lang_strings['neveralways4'] => $this->_lang_strings['neveralways'], $this->_lang_strings['disagre4'] => $this->_lang_strings['disagre4point']), '5 ' . $this->_lang_strings['pointscales'] => array($this->_lang_strings['lowhigh5'] => $this->_lang_strings['lowhigh'], $this->_lang_strings['neveralways5'] => $this->_lang_strings['neveralways'], $this->_lang_strings['disagre5a'] => $this->_lang_strings['disagre5pointneither'], $this->_lang_strings['disagre5b'] => $this->_lang_strings['disagre5pointuncertain'], $this->_lang_strings['disagre5c'] => $this->_lang_strings['disagre5pointneutral'])); $this->get_all_custom_scales(); }
function __construct($mysqli, $userObj, $lang_strings, $data = null) { parent::__construct($mysqli, $userObj, $lang_strings, $data); $this->_display_methods = array('vertical' => $this->_lang_strings['vertical'], 'vertical_other' => $this->_lang_strings['verticalother'], 'horizontal' => $this->_lang_strings['horizontal'], 'dropdown' => $this->_lang_strings['dropdownlist']); }