Start
extends Singleton
in package
Class for installing Magrathea's Admin
Table of Contents
Properties
Methods
- __wakeup() : mixed
- CheckApi() : void
- Check Admin API calls
- CheckFeature() : void
- Checks if a feature is being loaded
- HasUsers() : bool
- Instance() : static|Singleton
- IsLoggedIn() : bool
- checks if any admin user is logged in
- IsStarted() : bool
- Checks if MagratheaAdmin is already started
- Load() : void
- Loads Magrathea Admin
- MockClass() : static|Singleton
- SetInstance() : mixed
- ShouldLogout() : mixed
- StartDb() : Start
- Starts the database
- __clone() : mixed
- Initialize() : mixed
- __construct() : mixed
Properties
$appPath
protected
mixed
$appPath
$instance
protected
static array<string|int, mixed>|null
$instance
= []
Methods
__wakeup()
public
final __wakeup() : mixed
CheckApi()
Check Admin API calls
public
CheckApi() : void
CheckFeature()
Checks if a feature is being loaded
public
CheckFeature() : void
HasUsers()
public
HasUsers() : bool
Return values
boolInstance()
public
static Instance() : static|Singleton
Return values
static|SingletonIsLoggedIn()
checks if any admin user is logged in
public
IsLoggedIn() : bool
Return values
bool —$isLogged is it?
IsStarted()
Checks if MagratheaAdmin is already started
public
IsStarted() : bool
Return values
boolLoad()
Loads Magrathea Admin
public
Load() : void
MockClass()
public
static MockClass(mixed $mocker) : static|Singleton
Parameters
- $mocker : mixed
Return values
static|SingletonSetInstance()
public
SetInstance(mixed $inst) : mixed
Parameters
- $inst : mixed
ShouldLogout()
public
ShouldLogout() : mixed
StartDb()
Starts the database
public
StartDb() : Start
Return values
Start__clone()
protected
final __clone() : mixed
Initialize()
protected
Initialize() : mixed
__construct()
private
final __construct() : mixed