original_string: protected function load_definition() {
          global $DB;
          $this->definition = $DB->get_record('grading_definitions', array(
              'areaid' => $this->areaid,
              'method' => $this->get_method_name()), '*', IGNORE_MISSING);
      }
code: protected function load_definition() {
          global $DB;
          $this->definition = $DB->get_record('grading_definitions', array(
              'areaid' => $this->areaid,
              'method' => $this->get_method_name()), '*', IGNORE_MISSING);
      }
code_tokens: protected function load_definition ( ) { global $ DB ; $ this -> definition = $ DB -> get_record ( 'grading_definitions' , array ( 'areaid' => $ this -> areaid , 'method' => $ this -> get_method_name ( ) ) , '*' , IGNORE_MISSING ) ; }
docstring: Loads the form definition if it exists
  
  The default implementation just tries to load the record from the {grading_definitions}
  table. The plugins are likely to override this with a more complex query that loads
  all required data at once.
docstring_tokens: Loads the form definition if it exists