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;
    }
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;
    }
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 ; }
Get the constant name for a level.

@param  int $level The level of the term.
@return string
Get the constant name for a level .