[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_custommoderation.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

File Size: 423 lines (12 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 1 file
 inc/datahandlers/post.php

Defines 1 class

CustomModeration:: (4 methods):
  tool_info()
  execute()
  execute_post_moderation()
  execute_thread_moderation()


Class: CustomModeration  - X-Ref

Used to execute a custom moderation tool

tool_info($tool_id)   X-Ref
Get info on a tool

param: int Tool ID
param: mixed Thread IDs
param: mixed Post IDs
return: mixed Returns tool data (tid, type, name, description) in an array, otherwise boolean false.

execute($tool_id, $tids=0, $pids=0)   X-Ref
Execute Custom Moderation Tool

param: int Tool ID
param: mixed Thread ID(s)
param: mixed Post IDs
return: string 'forum' or 'default' indicating where to redirect

execute_post_moderation($post_options, $pids, $tid)   X-Ref
Execute Inline Post Moderation

param: array Moderation information
param: mixed Post IDs
param: array Thread IDs (in order of dateline ascending)
return: boolean true

execute_thread_moderation($thread_options, $tids)   X-Ref
Execute Normal and Inline Thread Moderation

param: array Moderation information
param: mixed Thread IDs
return: boolean true



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1