protected function get_other_values(renderer_base $output) {
        $filters = array('competencyframeworkid' => $this->persistent->get('id'));
        $context = $this->persistent->get_context();
        $competenciescount = 0;
        try {
            api::count_competencies($filters);
        } catch (\required_capability_exception $re) {
            $competenciescount = 0;
        }
        return array(
            'canmanage' => has_capability('moodle/competency:competencymanage', $context),
            'competenciescount' => $competenciescount,
            'contextname' => $context->get_context_name(),
            'contextnamenoprefix' => $context->get_context_name(false)
        );
    }
protected function get_other_values(renderer_base $output) {
        $filters = array('competencyframeworkid' => $this->persistent->get('id'));
        $context = $this->persistent->get_context();
        $competenciescount = 0;
        try {
            api::count_competencies($filters);
        } catch (\required_capability_exception $re) {
            $competenciescount = 0;
        }
        return array(
            'canmanage' => has_capability('moodle/competency:competencymanage', $context),
            'competenciescount' => $competenciescount,
            'contextname' => $context->get_context_name(),
            'contextnamenoprefix' => $context->get_context_name(false)
        );
    }
protected function get_other_values ( renderer_base $ output ) { $ filters = array ( 'competencyframeworkid' => $ this -> persistent -> get ( 'id' ) ) ; $ context = $ this -> persistent -> get_context ( ) ; $ competenciescount = 0 ; try { api :: count_competencies ( $ filters ) ; } catch ( \ required_capability_exception $ re ) { $ competenciescount = 0 ; } return array ( 'canmanage' => has_capability ( 'moodle/competency:competencymanage' , $ context ) , 'competenciescount' => $ competenciescount , 'contextname' => $ context -> get_context_name ( ) , 'contextnamenoprefix' => $ context -> get_context_name ( false ) ) ; }
Get other values that do not belong to the basic persisent.

@param renderer_base $output
@return Array
Get other values that do not belong to the basic persisent .