public function getTags() {
$tags = array();
$query = $this->db->query("SELECT tag FROM " . DB_PREFIX . "producte_description WHERE tag != ''");
foreach ($query->rows as $row) {
$row_tags = explode(',', $row['tag']);
foreach ($row_tags as $tag) {
$tags[] = trim($tag);
}
}
$tags = array_unique($tags);
return $tags;
}