+ protected $target;
+
+ function __construct(Profile $target, Profile $scoped=null)
+ {
+ $this->target = $target;
+ parent::__construct(new CachingNoticeStream(new RawProfileNoticeStream($target),
+ 'profile:notice_ids:' . $target->getID()),
+ $scoped);
+ }
+
+ function getNoticeIds($offset, $limit, $since_id=null, $max_id=null)
+ {
+ if ($this->impossibleStream()) {
+ return array();
+ } else {
+ return parent::getNoticeIds($offset, $limit, $since_id, $max_id);
+ }
+ }
+
+ function getNotices($offset, $limit, $since_id=null, $max_id=null)