public function get_default_grade() {
        $scaleid = $this->get('scaleid');
        $scaleconfig = $this->get('scaleconfiguration');
        if ($scaleid === null) {
            $scaleconfig = $this->get_framework()->get('scaleconfiguration');
        }
        return competency_framework::get_default_grade_from_scale_configuration($scaleconfig);
    }
public function get_default_grade() {
        $scaleid = $this->get('scaleid');
        $scaleconfig = $this->get('scaleconfiguration');
        if ($scaleid === null) {
            $scaleconfig = $this->get_framework()->get('scaleconfiguration');
        }
        return competency_framework::get_default_grade_from_scale_configuration($scaleconfig);
    }
public function get_default_grade ( ) { $ scaleid = $ this -> get ( 'scaleid' ) ; $ scaleconfig = $ this -> get ( 'scaleconfiguration' ) ; if ( $ scaleid === null ) { $ scaleconfig = $ this -> get_framework ( ) -> get ( 'scaleconfiguration' ) ; } return competency_framework :: get_default_grade_from_scale_configuration ( $ scaleconfig ) ; }
Extracts the default grade from the scale configuration.

Returns an array where the first element is the grade, and the second
is a boolean representing whether or not this grade is considered 'proficient'.

@return array(int grade, bool proficient)
Extracts the default grade from the scale configuration .