ModerateAction
class ModerateAction
Properties
| ForumController | $mod |
Methods
bool|string
findParentsBySearchAction()
Tries to find writable parent elements of search query request from autocomplete
array
getModeratableElements(string $type)
Skims all ids of given post ids, where the current user has no can moderate rights on parent thread(s).
array
getWritableParentsBySearchterm(string $searchQuery, string $type, array $excludeIds = [], int $limit = 10)
Returns writable parent elements for $type(post||thread) filtered by $searchQuery and exluding $excludeIds
Details
at line 273
bool|string
findParentsBySearchAction()
Tries to find writable parent elements of search query request from autocomplete
at line 29
array
getModeratableElements(string $type)
Skims all ids of given post ids, where the current user has no can moderate rights on parent thread(s).
at line 80
array
getWritableParentsBySearchterm(string $searchQuery, string $type, array $excludeIds = [], int $limit = 10)
Returns writable parent elements for $type(post||thread) filtered by $searchQuery and exluding $excludeIds