private function getTaxonomyWeights()
    {
        $taxonomies = [];

        if (isset($this->contenttype['taxonomy'])) {
            foreach ($this->contenttype['taxonomy'] as $key) {
                if ($this->app['config']->get('taxonomy/' . $key . '/behaves_like') === 'tags') {
                    $taxonomies[$key] = $this->app['config']->get('taxonomy/' . $key . '/searchweight', 75);
                }
            }
        }

        return $taxonomies;
    }
private function getTaxonomyWeights()
    {
        $taxonomies = [];

        if (isset($this->contenttype['taxonomy'])) {
            foreach ($this->contenttype['taxonomy'] as $key) {
                if ($this->app['config']->get('taxonomy/' . $key . '/behaves_like') === 'tags') {
                    $taxonomies[$key] = $this->app['config']->get('taxonomy/' . $key . '/searchweight', 75);
                }
            }
        }

        return $taxonomies;
    }
private function getTaxonomyWeights ( ) { $ taxonomies = [ ] ; if ( isset ( $ this -> contenttype [ 'taxonomy' ] ) ) { foreach ( $ this -> contenttype [ 'taxonomy' ] as $ key ) { if ( $ this -> app [ 'config' ] -> get ( 'taxonomy/' . $ key . '/behaves_like' ) === 'tags' ) { $ taxonomies [ $ key ] = $ this -> app [ 'config' ] -> get ( 'taxonomy/' . $ key . '/searchweight' , 75 ) ; } } } return $ taxonomies ; }
Calculate the default taxonomy weights.

Adds weights to taxonomies that behave like tags.

@return array
Calculate the default taxonomy weights .