Lack of interest Add "getContentDate" abstract function to Report handler

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.


Well-known member
Report handlers for the various content types in XF2 make it easy for us to extract information about the report regardless of the content type being reported.

We already have abstract functions getContentTitle, getContentMessage and getContentLink defined in \XF\Report\AbstractHandler

It would be useful if we could also define an abstract function getContentDate (and of course, add the concrete implementation to all the report handlers) to make it easy to extract the date the content was created.

It can be useful to see at a glance whether the report being made it about new content or older content - something which is not currently visible in the report centre or easily accessible to addons dealing with reports.
Upvote 2
This suggestion has been closed. Votes are no longer accepted.