Sim
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
It would be useful if we could also define an abstract function
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.
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