Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Function to read all questions for category into big array
- *
- * @param object $category category number
- * @param bool $noparent if true only questions with NO parent will be selected
- * @param bool $recurse include subdirectories
- * @param bool $export set true if this is called by questionbank export
- * @param bool $latestversion if only the latest versions needed
- * @return array
- */
- function get_questions_category(object $category, bool $noparent, bool $recurse = true, bool $export = true,
- bool $latestversion = false): array {
- global $DB;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement