- $result = array();
-
- $tags = new Status_network_tag();
- $tags->site_id = $this->site_id;
- if ($tags->find()) {
- while ($tags->fetch()) {
- $result[] = $tags->tag;
- }
- }
-
- // XXX : for backwards compatibility
- if (empty($result)) {
- return explode('|', $this->tags);
- }
-
- return $result;