Documentation

Report
in package

Report creation class.

Tags
author

Samerton

version
2.0.0-pr8
license

MIT

Table of Contents

Constants

ORIGIN_API  = 1
ORIGIN_WEBSITE  = 0

Methods

create()  : void
Create a report.

Constants

ORIGIN_API

public mixed ORIGIN_API = 1

ORIGIN_WEBSITE

public mixed ORIGIN_WEBSITE = 0

Methods

create()

Create a report.

public static create(Language $language, User $user_reporting, User $reported_user, array<string|int, mixed> $data) : void
Parameters
$language : Language

Language to use for messages.

$user_reporting : User

User making the report.

$reported_user : User

User being reported.

$data : array<string|int, mixed>

Array containing report data.


        
On this page

Search results