protected static function transform_framework_brief(competency_framework $framework) {
        global $OUTPUT;
        $exporter = new \core_competency\external\competency_framework_exporter($framework);
        $data = $exporter->export($OUTPUT);
        return [
            'name' => $data->shortname,
            'idnumber' => $data->idnumber,
            'description' => $data->description
        ];
    }
protected static function transform_framework_brief(competency_framework $framework) {
        global $OUTPUT;
        $exporter = new \core_competency\external\competency_framework_exporter($framework);
        $data = $exporter->export($OUTPUT);
        return [
            'name' => $data->shortname,
            'idnumber' => $data->idnumber,
            'description' => $data->description
        ];
    }
protected static function transform_framework_brief ( competency_framework $ framework ) { global $ OUTPUT ; $ exporter = new \ core_competency \ external \ competency_framework_exporter ( $ framework ) ; $ data = $ exporter -> export ( $ OUTPUT ) ; return [ 'name' => $ data -> shortname , 'idnumber' => $ data -> idnumber , 'description' => $ data -> description ] ; }
Transform a framework into a brief description.

@param competency_framework $framework The framework.
@return array
Transform a framework into a brief description .