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
integerIf being redirected back to this page, there may be a selected content ID.
stringThe name of the content type
arraygetContentTitle(integer $id) : string
integer
stringgetContentTitles(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
arrayFormat: [id key (key of param)] => titlegetModeratorInterfaceGroupIds() : array
array