Jump to content

php bclock - check for unread content


Recommended Posts

I currently work on custom php block that retrieves topics from the API.

How can I check if the a given topic has unread content for the end usr?

I see that within templates  this is used

Quote

$topic->unread()

Can this somehow be used within custom php blocks? 

Thanks.

Edited by virap
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...