Magrathea PHP 2

Start extends Singleton
in package

Class for installing Magrathea's Admin

Table of Contents

Properties

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

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

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
bool

IsLoggedIn()

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
bool

Load()

Loads Magrathea Admin

public Load() : void

SetInstance()

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

ShouldLogout()

public ShouldLogout() : mixed

Initialize()

protected Initialize() : mixed

__construct()

private final __construct() : mixed

        
On this page

Search results