3 namespace Friendica\Model;
5 use Friendica\Database\DBA;
8 * Model for DB specific logic for the search entity
13 * Returns the list of user defined tags (e.g. #Friendica)
19 public static function getUserTags()
21 $termsStmt = DBA::p("SELECT DISTINCT(`term`) FROM `search`");
25 while ($term = DBA::fetch($termsStmt)) {
26 $tags[] = trim($term['term'], '#');