[ Index ] |
PHP Cross Reference of MyBB 1.8.38 |
[Source view] [Print] [Project Stats]
MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license
File Size: | 599 lines (17 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 2 files inc/functions_rebuild.php inc/datahandlers/post.php |
CustomModeration:: (4 methods):
tool_info()
execute()
execute_post_moderation()
execute_thread_moderation()
Class: CustomModeration - X-Ref
Used to execute a custom moderation tooltool_info($tool_id) X-Ref |
Get info on a tool return: array|bool Returns tool data (tid, type, name, description) in an array, otherwise boolean false. param: int $tool_id Tool ID |
execute($tool_id, $tids=0, $pids=0) X-Ref |
Execute Custom Moderation Tool return: string 'forum' or 'default' indicating where to redirect param: int $tool_id Tool ID param: int|array Thread ID(s) param: int|array Post ID(s) |
execute_post_moderation($tid, $post_options=array() X-Ref |
Execute Inline Post Moderation return: boolean true param: array|int $tid Thread IDs (in order of dateline ascending). Only the first one will be used param: array $post_options Moderation information param: array $pids Post IDs |
execute_thread_moderation($thread_options=array() X-Ref |
Execute Normal and Inline Thread Moderation return: boolean true param: array $thread_options Moderation information param: array Thread IDs. Only the first one will be used, but it needs to be an array |
2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |