+ $profile = $this->user->getProfile();
+ $tags = $profile->getLists(common_current_user());
+
+ $this->tags = array();
+ while ($tags->fetch()) {
+
+ if (empty($this->last_mod)) {
+ $this->last_mod = $tags->modified;
+ }
+
+ $arr = array();
+ $arr['tag'] = $tags->tag;
+ $arr['mode'] = $tags->private ? 'private' : 'public';
+ // $arr['url'] = $tags->homeUrl();
+ $arr['freq'] = $tags->taggedCount();
+
+ $this->tags[] = $arr;
+ }
+
+ $tags = NULL;
+