original_string: private function get_scale($scaleid) {
          global $DB;
          $scaletext = $DB->get_field('scale', 'scale', array('id' => $scaleid), IGNORE_MISSING);
          $scale = explode ( ',', $scaletext);
          return $scale;
  
      }
code: private function get_scale($scaleid) {
          global $DB;
          $scaletext = $DB->get_field('scale', 'scale', array('id' => $scaleid), IGNORE_MISSING);
          $scale = explode ( ',', $scaletext);
          return $scale;
  
      }
code_tokens: private function get_scale ( $ scaleid ) { global $ DB ; $ scaletext = $ DB -> get_field ( 'scale' , 'scale' , array ( 'id' => $ scaleid ) , IGNORE_MISSING ) ; $ scale = explode ( ',' , $ scaletext ) ; return $ scale ; }
docstring: Generates a numeric array of scale entries
  @param int $scaleid
  @return array
docstring_tokens: Generates a numeric array of scale entries