public function get_framework_from_competency(competency $competency) {
        $frameworkid = $competency->get('competencyframeworkid');
        if (!isset($this->frameworks[$frameworkid])) {
            $this->frameworks[$frameworkid] = $competency->get_framework();
        }
        return $this->frameworks[$frameworkid];
    }
public function get_framework_from_competency(competency $competency) {
        $frameworkid = $competency->get('competencyframeworkid');
        if (!isset($this->frameworks[$frameworkid])) {
            $this->frameworks[$frameworkid] = $competency->get_framework();
        }
        return $this->frameworks[$frameworkid];
    }
public function get_framework_from_competency ( competency $ competency ) { $ frameworkid = $ competency -> get ( 'competencyframeworkid' ) ; if ( ! isset ( $ this -> frameworks [ $ frameworkid ] ) ) { $ this -> frameworks [ $ frameworkid ] = $ competency -> get_framework ( ) ; } return $ this -> frameworks [ $ frameworkid ] ; }
Get the framework of a competency.

@param competency $competency The competency.
@return competency_framework
Get the framework of a competency .