[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/ -> moderation.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved

File Size: 2638 lines (72 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 6 files
 inc/class_custommoderation.php
 inc/functions_post.php
 global.php
 inc/functions_upload.php
 inc/class_moderation.php
 inc/class_parser.php

Defines 7 functions

  getids()
  getallids()
  clearinline()
  extendinline()
  is_moderator_by_pids()
  is_moderator_by_tids()
  moderation_redirect()

Functions
Functions that are not part of a class:

getids($id, $type)   X-Ref
No description

getallids($id, $type)   X-Ref
No description

clearinline($id, $type)   X-Ref
No description

extendinline($id, $type)   X-Ref
No description

is_moderator_by_pids($posts, $permission='')   X-Ref
Checks if the current user is a moderator of all the posts specified

Note: If no posts are specified, this function will return true.  It is the
responsibility of the calling script to error-check this case if necessary.

returns: bool True if moderator of all; false otherwise
param: array Array of post IDs
param: string Permission to check

is_moderator_by_tids($threads, $permission='')   X-Ref
Checks if the current user is a moderator of all the threads specified

Note: If no threads are specified, this function will return true.  It is the
responsibility of the calling script to error-check this case if necessary.

returns: bool True if moderator of all; false otherwise
param: array Array of thread IDs
param: string Permission to check

moderation_redirect($url, $message="", $title="")   X-Ref
Special redirect that takes a return URL into account

param: string URL
param: string Message
param: string Title



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