[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/ -> functions_modcp.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 341 lines (10 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 1 file
 inc/datahandlers/pm.php

Defines 5 functions

  modcp_can_manage_user()
  fetch_forum_announcements()
  send_report()
  add_report()
  update_report()

Functions
Functions that are not part of a class:

modcp_can_manage_user($uid)   X-Ref
Check if the current user has permission to perform a ModCP action on another user
return: boolean True if the user has necessary permissions
param: int $uid The user ID to perform the action on.

fetch_forum_announcements($pid=0, $depth=1)   X-Ref
Fetch forums the moderator can manage announcements to
param: int $pid (Optional) The parent forum ID
param: int $depth (Optional) The depth from parent forum the moderator can manage to

send_report($report, $report_type='post')   X-Ref
Send reported content to moderators
return: bool|array PM Information or false
param: array $report Array of reported content
param: string $report_type Type of content being reported

add_report($report, $type = 'post')   X-Ref
Add a report
return: int Report ID
param: array $report Array of reported content
param: string $type Type of content being reported

update_report($report)   X-Ref
Update an existing report
return: bool true
param: array $report Array of reported content



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref