Documentation

BasicUser
in package

Table of Contents

__construct()  : mixed
isDevConsole()  : bool
Returns whether current IP is from a developer machine
sourceAuth()  : mixed

Methods

__construct()

public __construct([mixed $userID = false ][, mixed $fast_login = false ]) : mixed
Parameters
$userID : mixed = false
$fast_login : mixed = false
Return values
mixed

isDevConsole()

Returns whether current IP is from a developer machine

public static isDevConsole([mixed $ip = false ][, mixed $any = false ]) : bool
Parameters
$ip : mixed = false
$any : mixed = false
Tags
any

bool : True when we also accept older IPs to check whether the IP has ever been of a dev machine

Return values
bool

sourceAuth()

public static sourceAuth() : mixed
Return values
mixed

Search results