original_string: protected function validate_taxonomies($value) {
          $terms = explode(',', $value);
  
          foreach ($terms as $term) {
              if (!empty($term) && !array_key_exists($term, self::get_taxonomies_list())) {
                  return new lang_string('invalidtaxonomy', 'core_competency', $term);
              }
          }
  
          return true;
      }
code: protected function validate_taxonomies($value) {
          $terms = explode(',', $value);
  
          foreach ($terms as $term) {
              if (!empty($term) && !array_key_exists($term, self::get_taxonomies_list())) {
                  return new lang_string('invalidtaxonomy', 'core_competency', $term);
              }
          }
  
          return true;
      }
code_tokens: protected function validate_taxonomies ( $ value ) { $ terms = explode ( ',' , $ value ) ; foreach ( $ terms as $ term ) { if ( ! empty ( $ term ) && ! array_key_exists ( $ term , self :: get_taxonomies_list ( ) ) ) { return new lang_string ( 'invalidtaxonomy' , 'core_competency' , $ term ) ; } } return true ; }
docstring: Validate taxonomies.
  
  @param  mixed $value The taxonomies.
  @return true|lang_string
docstring_tokens: Validate taxonomies .