Core
Core
Gibbon Core
- Full name: \Gibbon\Core
Methods
- __construct — Construct
- initializeCore — Setup the Gibbon core: Runs once (enforced), if Gibbon is installed & database connection exists
- isInstalled — Is Gibbon Installed? Based on existance of config.php file
- isInstalling
- guid — Gets the globally unique id, to allow multiple installs on the server
- getVersion — Gets the current Gibbon version
- getConfig — Get a config value by name, othwerwise return the config array.
- getSystemRequirement — Gets a System Requirement by array key.
__construct
Construct
Core::__construct( $directory )
initializeCore
Setup the Gibbon core: Runs once (enforced), if Gibbon is installed & database connection exists
Core::initializeCore( \Psr\Container\ContainerInterface $container )
isInstalled
Is Gibbon Installed? Based on existance of config.php file
Core::isInstalled( ): boolean
Return Value:
boolean
isInstalling
Core::isInstalling( )
guid
Gets the globally unique id, to allow multiple installs on the server
Core::guid( ): string|null
Return Value:
string|null
getVersion
Gets the current Gibbon version
Core::getVersion( ): string
Return Value:
string
getConfig
Get a config value by name, othwerwise return the config array.
Core::getConfig( string $name = null ): mixed|array
Return Value:
mixed|array
getSystemRequirement
Gets a System Requirement by array key.
Core::getSystemRequirement( $key ): string
Return Value:
string