+ parent::prepare($args);
+
+ if (empty($this->tag)) {
+ $stream = new ProfileNoticeStream($this->profile, $this->scoped);
+ } else {
+ $stream = new TaggedProfileNoticeStream($this->profile, $this->tag, $this->scoped);
+ }
+
+ $this->notice = $stream->getNotices(($this->page-1)*NOTICES_PER_PAGE, NOTICES_PER_PAGE + 1);
+