original_string: public function get_taxonomy($level) {
          $taxonomies = $this->get_taxonomies();
  
          if (empty($taxonomies[$level])) {
              // If for some reason we cannot find the level, we fallback onto competency.
              $constant = self::TAXONOMY_COMPETENCY;
          } else {
              $constant = $taxonomies[$level];
          }
  
          return $constant;
      }
code: public function get_taxonomy($level) {
          $taxonomies = $this->get_taxonomies();
  
          if (empty($taxonomies[$level])) {
              // If for some reason we cannot find the level, we fallback onto competency.
              $constant = self::TAXONOMY_COMPETENCY;
          } else {
              $constant = $taxonomies[$level];
          }
  
          return $constant;
      }
code_tokens: public function get_taxonomy ( $ level ) { $ taxonomies = $ this -> get_taxonomies ( ) ; if ( empty ( $ taxonomies [ $ level ] ) ) { // If for some reason we cannot find the level, we fallback onto competency. $ constant = self :: TAXONOMY_COMPETENCY ; } else { $ constant = $ taxonomies [ $ level ] ; } return $ constant ; }
docstring: Get the constant name for a level.
  
  @param  int $level The level of the term.
  @return string
docstring_tokens: Get the constant name for a level .