Magrathea PHP 2

AdminUsers extends Singleton
in package

Class for Singleton handling

Table of Contents

Properties

$instance  : array<string|int, mixed>|null
$sessionName  : mixed
$tableName  : mixed

Methods

__wakeup()  : mixed
GetLoggedUser()  : mixed
Instance()  : static|Singleton
IsUsersSet()  : bool
Login()  : array<string|int, mixed>
Logout()  : mixed
MockClass()  : static|Singleton
SetInstance()  : mixed
__clone()  : mixed
__construct()  : mixed

Properties

$instance

protected static array<string|int, mixed>|null $instance = []

$sessionName

private mixed $sessionName = "magrathea_user"

$tableName

private mixed $tableName = "MagratheaUsers"

Methods

IsUsersSet()

public IsUsersSet() : bool
Return values
bool

Login()

public Login(mixed $user, mixed $password) : array<string|int, mixed>
Parameters
$user : mixed
$password : mixed
Return values
array<string|int, mixed>

SetInstance()

public SetInstance(mixed $inst) : mixed
Parameters
$inst : mixed

__construct()

private final __construct() : mixed

        
On this page

Search results