- $all = Memcached_DataObject::listGet('Notice', 'conversation', array($this->id));
- $notices = $all[$this->id];
- // Re-order in reverse-chron
- usort($notices, array('RawConversationNoticeStream', '_reverseChron'));
- // FIXME: handle since and max
- $wanted = array_slice($notices, $offset, $limit);
- return new ArrayWrapper($wanted);
- }
-
- function getNoticeIds($offset, $limit, $since_id, $max_id)
- {
- $notice = $this->getNotices($offset, $limit, $since_id, $max_id);
- $ids = $notice->fetchAll('id');
- return $ids;
- }