original_string: protected function get_taxonomies() {
          $taxonomies = explode(',', $this->raw_get('taxonomies'));
  
          // Indexing first level at 1.
          array_unshift($taxonomies, null);
          unset($taxonomies[0]);
  
          // Ensure that we do not return empty levels.
          foreach ($taxonomies as $i => $taxonomy) {
              if (empty($taxonomy)) {
                  $taxonomies[$i] = self::TAXONOMY_COMPETENCY;
              }
          }
  
          return $taxonomies;
      }
code: protected function get_taxonomies() {
          $taxonomies = explode(',', $this->raw_get('taxonomies'));
  
          // Indexing first level at 1.
          array_unshift($taxonomies, null);
          unset($taxonomies[0]);
  
          // Ensure that we do not return empty levels.
          foreach ($taxonomies as $i => $taxonomy) {
              if (empty($taxonomy)) {
                  $taxonomies[$i] = self::TAXONOMY_COMPETENCY;
              }
          }
  
          return $taxonomies;
      }
code_tokens: protected function get_taxonomies ( ) { $ taxonomies = explode ( ',' , $ this -> raw_get ( 'taxonomies' ) ) ; // Indexing first level at 1. array_unshift ( $ taxonomies , null ) ; unset ( $ taxonomies [ 0 ] ) ; // Ensure that we do not return empty levels. foreach ( $ taxonomies as $ i => $ taxonomy ) { if ( empty ( $ taxonomy ) ) { $ taxonomies [ $ i ] = self :: TAXONOMY_COMPETENCY ; } } return $ taxonomies ; }
docstring: Return the taxonomy constants indexed by level.
  
  @return array Contains the list of taxonomy constants indexed by level.
docstring_tokens: Return the taxonomy constants indexed by level .