PHP Class Traq\Kernel

Author: Jack P.
Inheritance: extends Avalon\AppKernel
ファイルを表示 Open project: nirix/traq Class Usage Examples

Protected Properties

Property Type Description
$configDefaults array Configration defaults.
$loader

Public Methods

Method Description
__construct ( )
registerNamespace ( string $namespace, string $directory ) Registers the namespace and directory with the autoloader.

Protected Methods

Method Description
configureDatabase ( ) Connect to the database.
configureTemplating ( ) Configure templating.
loadPlugins ( ) Load plugins.
loadRoutes ( ) Load routes.
loadTranslations ( ) Load translations.
setupAliases ( ) Alias commonly used helpers.

Method Details

__construct() public method

public __construct ( )

configureDatabase() protected method

Connect to the database.
protected configureDatabase ( )

configureTemplating() protected method

Configure templating.
protected configureTemplating ( )

loadPlugins() protected method

Load plugins.
protected loadPlugins ( )

loadRoutes() protected method

Load routes.
protected loadRoutes ( )

loadTranslations() protected method

Load translations.
protected loadTranslations ( )

registerNamespace() public static method

Registers the namespace and directory with the autoloader.
public static registerNamespace ( string $namespace, string $directory )
$namespace string
$directory string

setupAliases() protected method

Alias commonly used helpers.
protected setupAliases ( )

Property Details

$configDefaults protected_oe property

Configration defaults.
protected array $configDefaults
return array

$loader protected_oe static_oe property

protected static $loader