public function tags($taxonomytype)
    {
        $table = $this->getOption('general/database/prefix');
        $table .= 'taxonomy';

        $query = $this->createQueryBuilder()
            ->select("DISTINCT $table.name")
            ->from($table)
            ->where('taxonomytype = :taxonomytype')
            ->orderBy('name', 'ASC')
            ->setParameters([
                ':taxonomytype' => $taxonomytype,
            ]);

        $results = $query->execute()->fetchAll();

        return $this->json($results);
    }
public function tags($taxonomytype)
    {
        $table = $this->getOption('general/database/prefix');
        $table .= 'taxonomy';

        $query = $this->createQueryBuilder()
            ->select("DISTINCT $table.name")
            ->from($table)
            ->where('taxonomytype = :taxonomytype')
            ->orderBy('name', 'ASC')
            ->setParameters([
                ':taxonomytype' => $taxonomytype,
            ]);

        $results = $query->execute()->fetchAll();

        return $this->json($results);
    }
public function tags ( $ taxonomytype ) { $ table = $ this -> getOption ( 'general/database/prefix' ) ; $ table .= 'taxonomy' ; $ query = $ this -> createQueryBuilder ( ) -> select ( "DISTINCT $table.name" ) -> from ( $ table ) -> where ( 'taxonomytype = :taxonomytype' ) -> orderBy ( 'name' , 'ASC' ) -> setParameters ( [ ':taxonomytype' => $ taxonomytype , ] ) ; $ results = $ query -> execute ( ) -> fetchAll ( ) ; return $ this -> json ( $ results ) ; }
Fetch a JSON encoded set of taxonomy specific tags.

@param string $taxonomytype

@return \Symfony\Component\HttpFoundation\JsonResponse
Fetch a JSON encoded set of taxonomy specific tags .