Hi Folks,
What's the old saying? "Ask, and ye shall embarrassingly figure out the
answer to your own question?"
I just managed to make the necessary conceptual leap and understood
Notice::stream(). Ignore my questions.
Regards,
Steve
Stephen Jacob Sekula wrote:
Hi Folks,
I've been attempting to implement Notice privacy in StatusNet. Craig
suggested I modify the Notice::stream function to do this correctly.
However, I have been completely unsuccessful at determining the intended
functioning of the ::stream method. This has prevented me from making
progress on this small project.
I've manage to boil this down to a series of fundamental questions about
this class. Let me list them here. I believe that if you are able to
help me answer these, I can get this ship off the rocks, so to speak.
(1) Although I would like to think of a Notice as a singular object,
which is created for each status update a user posts, ::stream appears
to suggest that the Notice class is, in fact, able to report about all
Notices. Is this correct? If not, of what exactly is this a stream?
(2) What, exactly, is it that ::stream is returning? For instance, since
the function seems to deal with "$ids", I would assume these are notice
$ids. However, they don't appear to correspond to Notice $ids in my
MySQL database. So to narrow this question, for what are these the "$ids"?
I think with answers to these, I can get back on course with my work.
Regards,
Steve
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev