[ Index ] |
PHP Cross Reference of MyBB |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 2161 lines (63 kb) |
Included or required: | 8 times |
Referenced: | 0 times |
Includes or requires: | 1 file inc/functions_upload.php |
Moderation:: (24 methods):
close_threads()
open_threads()
stick_threads()
unstick_threads()
remove_redirects()
delete_thread()
delete_poll()
approve_threads()
unapprove_threads()
delete_post()
merge_posts()
move_thread()
merge_threads()
split_posts()
move_threads()
approve_posts()
unapprove_posts()
change_thread_subject()
expire_thread()
toggle_post_visibility()
toggle_thread_visibility()
toggle_thread_status()
remove_thread_subscriptions()
apply_thread_prefix()
Class: Moderation - X-Ref
MyBB 1.6close_threads($tids) X-Ref |
Close one or more threads param: array Thread IDs return: boolean true |
open_threads($tids) X-Ref |
Open one or more threads param: int Thread IDs return: boolean true |
stick_threads($tids) X-Ref |
Stick one or more threads param: int Thread IDs return: boolean true |
unstick_threads($tids) X-Ref |
Unstick one or more thread param: int Thread IDs return: boolean true |
remove_redirects($tid) X-Ref |
Remove redirects that redirect to the specified thread param: int Thread ID of the thread return: boolean true |
delete_thread($tid) X-Ref |
Delete a thread param: int Thread ID of the thread return: boolean true |
delete_poll($pid) X-Ref |
Delete a poll param: int Poll id return: boolean true |
approve_threads($tids) X-Ref |
Approve one or more threads param: array Thread IDs return: boolean true |
unapprove_threads($tids) X-Ref |
Unapprove one or more threads param: array Thread IDs return: boolean true |
delete_post($pid) X-Ref |
Delete a specific post param: int Post ID return: boolean true |
merge_posts($pids, $tid=0, $sep="new_line") X-Ref |
Merge posts within thread param: array Post IDs to be merged param: int Thread ID (Set to 0 if posts from multiple threads are return: int ID of the post into which all other posts are merged |
move_thread($tid, $new_fid, $method="redirect", $redirect_expire=0) X-Ref |
Move/copy thread param: int Thread to be moved param: int Destination forum param: string Method of movement (redirect, copy, move) param: int Expiry timestamp for redirect return: int Thread ID |
merge_threads($mergetid, $tid, $subject) X-Ref |
Merge one thread into another param: int Thread that will be merged into destination param: int Destination thread param: string New thread subject return: boolean true |
split_posts($pids, $tid, $moveto, $newsubject, $destination_tid=0) X-Ref |
Split posts into a new/existing thread param: array PIDs of posts to split param: int Original thread ID (this is only used as a base for the new param: int Destination forum param: string New thread subject param: int TID if moving into existing thread return: int New thread ID |
move_threads($tids, $moveto) X-Ref |
Move multiple threads to new forum param: array Thread IDs param: int Destination forum return: boolean true |
approve_posts($pids) X-Ref |
Approve multiple posts param: array PIDs return: boolean true |
unapprove_posts($pids) X-Ref |
Unapprove multiple posts param: array PIDs return: boolean true |
change_thread_subject($tids, $format) X-Ref |
Change thread subject param: mixed Thread ID(s) param: string Format of new subject (with {subject}) return: boolean true |
expire_thread($tid, $deletetime) X-Ref |
Add thread expiry param: int Thread ID param: int Timestamp when the thread is deleted return: boolean true |
toggle_post_visibility($pids) X-Ref |
Toggle post visibility (approved/unapproved) param: array Post IDs param: int Thread ID param: int Forum ID return: boolean true |
toggle_thread_visibility($tids, $fid) X-Ref |
Toggle thread visibility (approved/unapproved) param: array Thread IDs param: int Forum ID return: boolean true |
toggle_thread_status($tids) X-Ref |
Toggle threads open/closed param: array Thread IDs return: boolean true |
remove_thread_subscriptions($tids, $all = true, $fid = 0) X-Ref |
Remove thread subscriptions (from one or multiple threads in the same forum) param: int $tids Thread ID, or an array of thread IDs from the same forum. param: boolean $all True (default) to delete all subscriptions, false to only delete subscriptions from users with no permission to read the thread param: int $fid (Only applies if $all is false) The forum ID of the thread return: boolean true |
apply_thread_prefix($tids, $prefix = 0) X-Ref |
Apply a thread prefix (to one or multiple threads in the same forum) param: int $tids Thread ID, or an array of thread IDs from the same forum. param: int $prefix Prefix ID to apply to the threads |
Generated: Tue Oct 8 19:19:50 2013 | Cross-referenced by PHPXref 0.7.1 |