getContentLink()
getContentTitle()
getReportDetailsFromContent()
getVisibleReportsForUser()
prepareExtraContent()
prepareReport()
prepareReports()
viewCallback()
Base (abstract) report handler for reporting specific content types.
package | XenForo_Report |
---|
getContentLink(array $report, array $contentInfo) : string
array
Report info
array
Extra content with report
string
getContentTitle(array $report, array $contentInfo) : string | \XenForo_Phrase
array
Report info
array
Extra content with report
string
\XenForo_Phrase
getReportDetailsFromContent(array $content) : array
Returns 3 values (as array): * content ID * content user ID * array of info about content to store with report
array
array
See above.getVisibleReportsForUser(array $reports, array $viewingUser) : array
array
Format: [report id] => report info
array
Viewing user array
array
List of reports that can be seen/managed, [report id] => infoprepareExtraContent(array $contentInfo) : array
array
array
prepareReport(array $report) : array
array
array
Prepared reportprepareReports(array $reports) : array
array
array
viewCallback(\XenForo_View $view, array $report, array $contentInfo) : \XenForo_Template_Abstract | string