*/
abstract class NoticeStream
{
+ // Will only get notices with the 'post' activityverb by default.
+ protected $selectVerbs = array();
+
+ public function __construct()
+ {
+ $this->selectVerbs = array(ActivityVerb::POST, ActivityUtils::resolveUri(ActivityVerb::POST, true));
+ }
+
abstract function getNoticeIds($offset, $limit, $since_id, $max_id);
function getNotices($offset, $limit, $sinceId = null, $maxId = null)