Advertisement
sarjona

question/editlib.php coding style

Jan 24th, 2022
1,071
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement