[ Index ] |
PHP Cross Reference of MyBB 1.8.38 |
[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 return: boolean true param: array|int $tids Thread ID(s) |
open_threads($tids) X-Ref |
Open one or more threads return: boolean param: array|int $tids Thread ID(s) |
stick_threads($tids) X-Ref |
Stick one or more threads return: boolean param: array|int $tids Thread ID(s) |
unstick_threads($tids) X-Ref |
Unstick one or more thread return: boolean param: array|int $tids Thread ID(s) |
remove_redirects($tid) X-Ref |
Remove redirects that redirect to the specified thread return: boolean param: int $tid Thread ID of the thread |
delete_thread($tid) X-Ref |
Delete a thread return: boolean param: int $tid Thread ID of the thread |
delete_poll($pid) X-Ref |
Delete a poll return: boolean param: int $pid Poll id |
approve_threads($tids) X-Ref |
Approve one or more threads return: boolean param: array|int $tids Thread ID(s) |
unapprove_threads($tids) X-Ref |
Unapprove one or more threads return: boolean param: array|int $tids Thread ID(s) |
delete_post($pid) X-Ref |
Delete a specific post return: boolean param: int $pid Post ID |
merge_posts($pids=array() X-Ref |
Merge posts within thread return: int ID of the post into which all other posts are merged param: array $pids Post IDs to be merged param: int $tid Thread ID (Set to 0 if posts from multiple threads are selected) |
move_thread($tid, $new_fid, $method="redirect", $redirect_expire=0) X-Ref |
Move/copy thread return: int Thread ID 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 |
merge_threads($mergetid, $tid, $subject) X-Ref |
Merge one thread into another return: boolean param: int $mergetid Thread that will be merged into destination param: int $tid Destination thread param: string $subject New thread subject |
split_posts($pids, $tid, $moveto, $newsubject, $destination_tid=0) X-Ref |
Split posts into a new/existing thread return: int|bool New thread ID or false on failure 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 |
move_threads($tids, $moveto) X-Ref |
Move multiple threads to new forum return: boolean param: array $tids Thread IDs param: int $moveto Destination forum |
approve_posts($pids) X-Ref |
Approve multiple posts return: boolean param: array $pids PIDs |
unapprove_posts($pids) X-Ref |
Unapprove multiple posts return: boolean param: array $pids PIDs |
change_thread_subject($tids, $format) X-Ref |
Change thread subject return: boolean param: int|array $tids Thread ID(s) param: string $format Format of new subject (with {subject}) |
expire_thread($tid, $deletetime) X-Ref |
Add thread expiry return: boolean param: int $tid Thread ID param: int $deletetime Timestamp when the thread is deleted |
toggle_post_visibility($pids) X-Ref |
Toggle post visibility (approved/unapproved) return: boolean true param: array $pids Post IDs |
toggle_post_softdelete($pids) X-Ref |
Toggle post visibility (deleted/restored) return: boolean true param: array $pids Post IDs |
toggle_thread_visibility($tids, $fid) X-Ref |
Toggle thread visibility (approved/unapproved) return: boolean true param: array $tids Thread IDs param: int $fid Forum ID |
toggle_thread_softdelete($tids) X-Ref |
Toggle thread visibility (deleted/restored) return: boolean true param: array $tids Thread IDs |
toggle_thread_status($tids) X-Ref |
Toggle threads open/closed return: boolean true param: array $tids Thread IDs |
toggle_thread_importance($tids) X-Ref |
Toggle threads stick/unstick return: boolean true param: array $tids Thread IDs |
remove_thread_subscriptions($tids, $all = true, $fid = 0) X-Ref |
Remove thread subscriptions (from one or multiple threads in the same forum) return: boolean 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 |
apply_thread_prefix($tids, $prefix = 0) X-Ref |
Apply a thread prefix (to one or multiple threads in the same forum) return: bool 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 |
soft_delete_posts($pids) X-Ref |
Soft delete multiple posts return: boolean param: array $pids PIDs |
restore_posts($pids) X-Ref |
Restore multiple posts return: boolean param: array $pids PIDs |
restore_threads($tids) X-Ref |
Restore one or more threads return: boolean true param: array|int $tids Thread ID(s) |
soft_delete_threads($tids) X-Ref |
Soft delete one or more threads return: boolean param: array|int Thread ID(s) |
2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup | Cross-referenced by PHPXref |