public function get_proficiency_of_grade($grade) {
        $scaleid = $this->get('scaleid');
        $scaleconfig = $this->get('scaleconfiguration');
        if ($scaleid === null) {
            $scaleconfig = $this->get_framework()->get('scaleconfiguration');
        }
        return competency_framework::get_proficiency_of_grade_from_scale_configuration($scaleconfig, $grade);
    }
public function get_proficiency_of_grade($grade) {
        $scaleid = $this->get('scaleid');
        $scaleconfig = $this->get('scaleconfiguration');
        if ($scaleid === null) {
            $scaleconfig = $this->get_framework()->get('scaleconfiguration');
        }
        return competency_framework::get_proficiency_of_grade_from_scale_configuration($scaleconfig, $grade);
    }
public function get_proficiency_of_grade ( $ grade ) { $ scaleid = $ this -> get ( 'scaleid' ) ; $ scaleconfig = $ this -> get ( 'scaleconfiguration' ) ; if ( $ scaleid === null ) { $ scaleconfig = $ this -> get_framework ( ) -> get ( 'scaleconfiguration' ) ; } return competency_framework :: get_proficiency_of_grade_from_scale_configuration ( $ scaleconfig , $ grade ) ; }
Extracts the proficiency of a grade from the scale configuration.

@param int $grade The grade (scale item ID).
@return array(int grade, bool proficient)
Extracts the proficiency of a grade from the scale configuration .