original_string: 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)
          );
      }
code: 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)
          );
      }
code_tokens: 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 ) ) ; }
docstring: Get other values that do not belong to the basic persisent.
  
  @param renderer_base $output
  @return Array
docstring_tokens: Get other values that do not belong to the basic persisent .