Magrathea PHP 2

Application

Table of Contents

Interfaces

iAdminFeature
iAdmin
iMagratheaModel

Classes

Admin
Class for managing Magrathea's Admin
AdminDatabase
Class for installing Magrathea's Admin
AdminElements
Class for Admin Elements
AdminFeature
Class for Admin Feature
AdminForm
Class for Admin Elements
AdminManager
Class for managing Magrathea's Admin
AdminMenu
Class for managing Magrathea's Admin Menu
AdminUrls
Class for managing Magrathea's Admin
AdminUsers
Class for Singleton handling
AdminApi
Creates a server using Magrathea Tools to respond Json files
AdminConfigApi
Control for Create, Read, List, Update, Delete
AdminUserApi
Control for Create, Read, List, Update, Delete
DatabaseApi
Control for Create, Read, List, Update, Delete
ObjectsApi
Control for Create, Read, List, Update, Delete
CodeCreator
Class for code generations
CodeManager
Class for handling automatically generated files
ApiExplorer
Class for Admin Feature
AdminFeatureAppConfig
Class for installing Magrathea's Admin
AppConfig
Class for installing Magrathea's Admin
AppConfigControl
Class for installing Magrathea's Admin
AdminCrudObject
Class for Admin Object
AdminFeatureFileEditor
Class for installing Magrathea's Admin
AdminFeatureUser
Class for installing Magrathea's Admin
AdminUser
Class for installing Magrathea's Admin
AdminUserControl
AdminFeatureUserLog
Class for installing Magrathea's Admin
AdminLog
Class for installing Magrathea's Admin
AdminLogControl
Install
Class for installing Magrathea's Admin
ObjectManager
This class will help you deal with objects
Start
Class for installing Magrathea's Admin
Authentication
Authentication class
Start
Class for handling and loading Magrathea's Bootstrap system
CssCompressor
JavascriptCompressor
MagratheaCompressor
Config
This class will provide you the quickest access possible to the magrathea.conf config file.
ConfigApp
This class will provide you the quickest access possible to the magrathea.conf config file.
ConfigFile
Magrathea Config loads and saves information in config files.
Database
This class will provide a layer for connecting with mysql
DatabaseSimulate
This class will provide a simulation of MagratheaDatabase queries will be saved on a file.
QueryDelete
Extension of Magrathea Query for creating Delete queries
QueryHelper
QueryInsert
Extension of Magrathea Query for creating Insert queries
QueryUpdate
Extension of Magrathea Query for creating Update queries
Debugger
Magrathea Debugger can manage anything for debugging and error-searching through Magrathea Codes.
ErrorManager
This class will print errors in beautiful pages
MagratheaApiException
Class for Magrathea Api Errors
MagratheaConfigException
Class for Magrathea Config Errors
MagratheaDBException
Class for Magrathea DB Errors
MagratheaException
MagratheaModelException
Class for Magrathea Model Errors
Logger
Magrathea class for logging anything By default, the message is written with a timestamp before it.
MagratheaApi
Creates a server using Magrathea Tools to respond Json files
MagratheaApiAuth
Control for Create, Read, List, Update, Delete
MagratheaApiControl
Control for Create, Read, List, Update, Delete
MagratheaHelper
MagratheaMail
MagratheaEmail: function that manages e-mail sends, building headers and sending e-mails
MagratheaMailSMTP
MagratheaEmail: function that manages e-mail sends, building headers and sending e-mails
MagratheaModel
MagratheaModelControl
MagratheaPHP
Base class for Magrathea project
Singleton
Class for Singleton handling
appConfigTest
configFileTest
configTest
loggerTest
objectManagerTest
queryTest
TestsHelper
TestsManager
Class for handling and code generations

Traits

Magrathea_Enum

Functions

now()  : string
Date of now - mySQL format
arrToStr()  : string
p_r()  : mixed
Prints easily and beautifully
isMagratheaModel()  : bool
Gets an object and returns if it is a Magrathea Model
getClassNameOfClass()  : string
As asked to ChatGPT: a function that gets a full class name, such as MagratheaContacts\Users\AdminUsers and return just the last part AdminUsers
magrathea_getTypesArr()  : array<string|int, mixed>
Array of types available at Magrathea
Debug()  : mixed
Debugs what is sent, according with debug configurations
DebugError()  : mixed
Debugs error, according with debug configurations
Info()  : mixed
Adds to info debug, according with configurations
getSqlFilesInFolder()  : mixed
getLastLines()  : mixed
hasColumn()  : mixed
printResponse()  : mixed
checkPathIsOk()  : mixed
getMainTitle()  : mixed
getTitle()  : mixed
getExternalLink()  : mixed
getEmpty()  : mixed
getItem()  : mixed
linkTo()  : mixed
getClass()  : mixed
linkStepTo()  : mixed

Functions

now()

Date of now - mySQL format

now() : string
Return values
string

Y-m-d H:i:s format of date

arrToStr()

arrToStr(mixed $array) : string
Parameters
$array : mixed
Return values
string

p_r()

Prints easily and beautifully

p_r(object|array<string|int, mixed>|string|int $debugme) : mixed
Parameters
$debugme : object|array<string|int, mixed>|string|int

Object to be printed

isMagratheaModel()

Gets an object and returns if it is a Magrathea Model

isMagratheaModel(mixed $object) : bool
Parameters
$object : mixed
Return values
bool

getClassNameOfClass()

As asked to ChatGPT: a function that gets a full class name, such as MagratheaContacts\Users\AdminUsers and return just the last part AdminUsers

getClassNameOfClass(string $fullClassName) : string
Parameters
$fullClassName : string

full class name

Return values
string

class name

magrathea_getTypesArr()

Array of types available at Magrathea

magrathea_getTypesArr() : array<string|int, mixed>
Return values
array<string|int, mixed>

Debug()

Debugs what is sent, according with debug configurations

Debug(object $bug) : mixed
Parameters
$bug : object

object to debug

DebugError()

Debugs error, according with debug configurations

DebugError(mixed $error) : mixed
Parameters
$error : mixed

Info()

Adds to info debug, according with configurations

Info(object $bug) : mixed
Parameters
$bug : object

object to debug

getSqlFilesInFolder()

getSqlFilesInFolder(mixed $folderPath) : mixed
Parameters
$folderPath : mixed

getLastLines()

getLastLines(mixed $filename, mixed $lines) : mixed
Parameters
$filename : mixed
$lines : mixed

hasColumn()

hasColumn(mixed $arr, mixed $field) : mixed
Parameters
$arr : mixed
$field : mixed

printResponse()

printResponse(mixed $response) : mixed
Parameters
$response : mixed

checkPathIsOk()

checkPathIsOk(mixed $p) : mixed
Parameters
$p : mixed

getMainTitle()

getMainTitle(mixed $item) : mixed
Parameters
$item : mixed

getTitle()

getTitle(mixed $item) : mixed
Parameters
$item : mixed
getExternalLink(mixed $item) : mixed
Parameters
$item : mixed

getEmpty()

getEmpty(mixed $item) : mixed
Parameters
$item : mixed

getItem()

getItem(mixed $item) : mixed
Parameters
$item : mixed

linkTo()

linkTo(mixed $step) : mixed
Parameters
$step : mixed

getClass()

getClass(mixed $step) : mixed
Parameters
$step : mixed

linkStepTo()

linkStepTo(mixed $step) : mixed
Parameters
$step : mixed

        
On this page

Search results