original_string: public function get_sections() {
          global $DB;
          if ($this->sections === null) {
              $this->sections = array_values($DB->get_records('quiz_sections',
                      array('quizid' => $this->get_quizid()), 'firstslot'));
          }
          return $this->sections;
      }
code: public function get_sections() {
          global $DB;
          if ($this->sections === null) {
              $this->sections = array_values($DB->get_records('quiz_sections',
                      array('quizid' => $this->get_quizid()), 'firstslot'));
          }
          return $this->sections;
      }
code_tokens: public function get_sections ( ) { global $ DB ; if ( $ this -> sections === null ) { $ this -> sections = array_values ( $ DB -> get_records ( 'quiz_sections' , array ( 'quizid' => $ this -> get_quizid ( ) ) , 'firstslot' ) ) ; } return $ this -> sections ; }
docstring: Get all the sections in this quiz.
  @return array 0, 1, 2, ... => quiz_sections row from the database.
docstring_tokens: Get all the sections in this quiz .