* @return bool success or failure.
*/
function decode_content_links_caller($questionids, $restore, &$i) {
+ $status = true;
+
// Decode links in the question_match_sub table.
if ($subquestions = get_records_list('question_match_sub', 'question',
implode(',', $questionids), '', 'id, questiontext')) {
}
}
}
+
+ return $status;
}
}
//// END OF CLASS ////
* @return bool success or failure.
*/
function decode_content_links_caller($questionids, $restore, &$i) {
+ $status = true;
+
// Decode links in the question_multichoice table.
if ($multichoices = get_records_list('question_multichoice', 'question',
implode(',', $questionids), '', 'id, correctfeedback, partiallycorrectfeedback, incorrectfeedback')) {
}
}
}
+
+ return $status;
}
/**