Legend of the Green Dragon

Superuser

Functions for superuser account.

Table of Contents

getLoginSuperuserWithPermit()  : array<string|int, mixed>|null
Superuser login.
getSuperuserCountWithPermit()  : int
Get count of superusers who have the given permission.
getSuperuserWithPermit()  : array<string|int, mixed>
Get all superusers who have the given permission.

Methods

getLoginSuperuserWithPermit()

Superuser login.

public getLoginSuperuserWithPermit(string $name, string $password, int $permit) : array<string|int, mixed>|null
Parameters
$name : string
$password : string
$permit : int
Return values
array<string|int, mixed>|null

getSuperuserCountWithPermit()

Get count of superusers who have the given permission.

public getSuperuserCountWithPermit(int $permit) : int
Parameters
$permit : int
Return values
int

getSuperuserWithPermit()

Get all superusers who have the given permission.

public getSuperuserWithPermit(int $permit) : array<string|int, mixed>
Parameters
$permit : int
Return values
array<string|int, mixed>

Search results