Abstract moderator handler.
Moderator handlers deal with the content-specific differences in content moderators.
package | XenForo_Moderator |
---|
getAddModeratorOption(\XenForo_View $view, integer $selectedContentId, string $contentType) : array
The return value should be an array that can be passed as a
\XenForo_View
integer
If being redirected back to this page, there may be a selected content ID.
string
The name of the content type
array
getContentTitle(integer $id) : string
integer
string
getContentTitles(array $ids) : array
The return should be an array keyed by matching keys of the IDs param. Note that an ID value may occur multiple times.
Note that the title may be more than just the title, if necessary. It may include other necessary disambiguation, such as the content type ("Forum - Name").
array
array
Format: [id key (key of param)] => titlegetModeratorInterfaceGroupIds() : array
array