summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-18 17:18:57 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-18 17:18:57 -0400
commit0271859c2425daff6fbaeac74aee6d6a9fcdce16 (patch)
treea93565653ec11237b71a2bcf87d6fbe2fcbcb9f8 /classes/User.php
parent5897dfa4c37d6a44bcde5dc7569c8b0d30f21b84 (diff)
Added personal tag page: http://example.com/MY_NICK/tag/A_TAG
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index b5ac7b220..ea8ba4081 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -407,13 +407,22 @@ class User extends Memcached_DataObject
return Notice::getStreamByIds($ids);
}
+ function getTaggedNotices($tag, $offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null) {
+ $profile = $this->getProfile();
+ if (!$profile) {
+ return null;
+ } else {
+ return $profile->getTaggedNotices($tag, $offset, $limit, $since_id, $before_id, $since);
+ }
+ }
+
function getNotices($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null)
{
$profile = $this->getProfile();
if (!$profile) {
return null;
} else {
- return $profile->getNotices($offset, $limit, $since_id, $before_id);
+ return $profile->getNotices($offset, $limit, $since_id, $before_id, $since);
}
}