$this->cachekey = $cachekey;
}
- function getNoticeIds($offset=0, $limit=20, $sinceId=0, $maxId=0)
+ function getNoticeIds($offset, $limit, $sinceId, $maxId)
{
$cache = Cache::instance();
$this->id = $id;
}
- function getNoticeIds($offset=0, $limit=20, $since_id=0, $max_id=0)
+ function getNoticeIds($offset, $limit, $since_id, $max_id)
{
$notice = new Notice();
*/
abstract class NoticeStream
{
- abstract function getNoticeIds($offset, $limit, $sinceId, $maxId);
+ abstract function getNoticeIds($offset, $limit, $since_id, $max_id);
- function getNotices($offset=0, $limit=20, $sinceId=0, $maxId=0)
+ function getNotices($offset, $limit, $sinceId, $maxId)
{
$ids = $this->getNoticeIds($offset, $limit, $sinceId, $maxId);
class RawPublicNoticeStream extends NoticeStream
{
- function getNoticeIds($offset=0, $limit=20, $since_id=0, $max_id=0)
+ function getNoticeIds($offset, $limit, $since_id, $max_id)
{
$notice = new Notice();
$this->userId = $userId;
}
- function getNoticeIds($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $max_id=0)
+ function getNoticeIds($offset, $limit, $since_id, $max_id)
{
$reply = new Reply();
$reply->profile_id = $this->userId;