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);
}