Advertisement
sarjona

question/editlib.php coding style

Jan 24th, 2022
1,157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. /**
  2.  * Function to read all questions for category into big array
  3.  *
  4.  * @param object $category category number
  5.  * @param bool $noparent if true only questions with NO parent will be selected
  6.  * @param bool $recurse include subdirectories
  7.  * @param bool $export set true if this is called by questionbank export
  8.  * @param bool $latestversion if only the latest versions needed
  9.  * @return array
  10.  */
  11. function get_questions_category(object $category, bool $noparent, bool $recurse = true, bool $export = true,
  12.         bool $latestversion = false): array {
  13.     global $DB;
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement