[ Index ] |
PHP Cross Reference of MyBB 1.8.39 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 3832 lines (104 kb) |
Included or required: | 15 times |
Referenced: | 0 times |
Includes or requires: | 1 file inc/functions_upload.php |
Moderation:: (31 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_post_softdelete()
toggle_thread_visibility()
toggle_thread_softdelete()
toggle_thread_status()
toggle_thread_importance()
remove_thread_subscriptions()
apply_thread_prefix()
soft_delete_posts()
restore_posts()
restore_threads()
soft_delete_threads()
Class: Moderation - X-Ref
MyBB 1.8close_threads($tids) X-Ref |
Close one or more threads param: array|int $tids Thread ID(s) return: boolean true |
open_threads($tids) X-Ref |
Open one or more threads param: array|int $tids Thread ID(s) return: boolean |
stick_threads($tids) X-Ref |
Stick one or more threads param: array|int $tids Thread ID(s) return: boolean |
unstick_threads($tids) X-Ref |
Unstick one or more thread param: array|int $tids Thread ID(s) return: boolean |
remove_redirects($tid) X-Ref |
Remove redirects that redirect to the specified thread param: int $tid Thread ID of the thread return: boolean |
delete_thread($tid) X-Ref |
Delete a thread param: int $tid Thread ID of the thread return: boolean |
delete_poll($pid) X-Ref |
Delete a poll param: int $pid Poll id return: boolean |
approve_threads($tids) X-Ref |
Approve one or more threads param: array|int $tids Thread ID(s) return: boolean |
unapprove_threads($tids) X-Ref |
Unapprove one or more threads param: array|int $tids Thread ID(s) return: boolean |
delete_post($pid) X-Ref |
Delete a specific post param: int $pid Post ID return: boolean |
merge_posts($pids=array() X-Ref |
Merge posts within thread param: array $pids Post IDs to be merged param: int $tid Thread ID (Set to 0 if posts from multiple threads are selected) 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 $tid Thread to be moved param: int $new_fid Destination forum param: string $method Method of movement (redirect, copy, move) param: int $redirect_expire Expiry timestamp for redirect return: int Thread ID |
merge_threads($mergetid, $tid, $subject) X-Ref |
Merge one thread into another param: int $mergetid Thread that will be merged into destination param: int $tid Destination thread param: string $subject New thread subject return: boolean |
split_posts($pids, $tid, $moveto, $newsubject, $destination_tid=0) X-Ref |
Split posts into a new/existing thread param: array $pids PIDs of posts to split param: int $tid Original thread ID (this is only used as a base for the new param: int $moveto Destination forum param: string $newsubject New thread subject param: int $destination_tid TID if moving into existing thread return: int|bool New thread ID or false on failure |
move_threads($tids, $moveto) X-Ref |
Move multiple threads to new forum param: array $tids Thread IDs param: int $moveto Destination forum return: boolean |
approve_posts($pids) X-Ref |
Approve multiple posts param: array $pids PIDs return: boolean |
unapprove_posts($pids) X-Ref |
Unapprove multiple posts param: array $pids PIDs return: boolean |
change_thread_subject($tids, $format) X-Ref |
Change thread subject param: int|array $tids Thread ID(s) param: string $format Format of new subject (with {subject}) return: boolean |
expire_thread($tid, $deletetime) X-Ref |
Add thread expiry param: int $tid Thread ID param: int $deletetime Timestamp when the thread is deleted return: boolean |
toggle_post_visibility($pids) X-Ref |
Toggle post visibility (approved/unapproved) param: array $pids Post IDs return: boolean true |
toggle_post_softdelete($pids) X-Ref |
Toggle post visibility (deleted/restored) param: array $pids Post IDs return: boolean true |
toggle_thread_visibility($tids, $fid) X-Ref |
Toggle thread visibility (approved/unapproved) param: array $tids Thread IDs param: int $fid Forum ID return: boolean true |
toggle_thread_softdelete($tids) X-Ref |
Toggle thread visibility (deleted/restored) param: array $tids Thread IDs return: boolean true |
toggle_thread_status($tids) X-Ref |
Toggle threads open/closed param: array $tids Thread IDs return: boolean true |
toggle_thread_importance($tids) X-Ref |
Toggle threads stick/unstick param: array $tids 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|array $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 |
apply_thread_prefix($tids, $prefix = 0) X-Ref |
Apply a thread prefix (to one or multiple threads in the same forum) param: int|array $tids Thread ID, or an array of thread IDs from the same forum. param: int $prefix Prefix ID to apply to the threads return: bool |
soft_delete_posts($pids) X-Ref |
Soft delete multiple posts param: array $pids PIDs return: boolean |
restore_posts($pids) X-Ref |
Restore multiple posts param: array $pids PIDs return: boolean |
restore_threads($tids) X-Ref |
Restore one or more threads param: array|int $tids Thread ID(s) return: boolean true |
soft_delete_threads($tids) X-Ref |
Soft delete one or more threads param: array|int Thread ID(s) return: boolean |
2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |