Core

Core

Gibbon Core

Methods

__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