Base (abstract) report handler for reporting specific content types.
| package | XenForo_Report |
|---|
getContentLink(array $report, array $contentInfo) : string
arrayReport info
arrayExtra content with report
stringgetContentTitle(array $report, array $contentInfo) : string | \XenForo_Phrase
arrayReport info
arrayExtra 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
arraySee above.getVisibleReportsForUser(array $reports, array $viewingUser) : array
arrayFormat: [report id] => report info
arrayViewing user array
arrayList of reports that can be seen/managed, [report id] => infoprepareExtraContent(array $contentInfo) : array
array
arrayprepareReport(array $report) : array
array
arrayPrepared reportprepareReports(array $reports) : array
array
arrayviewCallback(\XenForo_View $view, array $report, array $contentInfo) : \XenForo_Template_Abstract | string