private function get_scale($scaleid) {
        global $DB;
        $scaletext = $DB->get_field('scale', 'scale', array('id' => $scaleid), IGNORE_MISSING);
        $scale = explode ( ',', $scaletext);
        return $scale;

    }
private function get_scale($scaleid) {
        global $DB;
        $scaletext = $DB->get_field('scale', 'scale', array('id' => $scaleid), IGNORE_MISSING);
        $scale = explode ( ',', $scaletext);
        return $scale;

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