PHP Class Themosis, framework

Afficher le fichier Open project: themosis/framework Class Usage Examples

Méthodes publiques

Свойство Type Description
$container Themosis\Foundation\Application The service container.

Protected Properties

Свойство Type Description
$instance Themosis Themosis instance.

Méthodes publiques

Méthode Description
adminEnqueueScripts ( ) Enqueue Admin scripts.
adminHead ( ) Output a global JS object in the tag for the admin.
instance ( ) : Themosis Retrieve Themosis class instance.
setRouter ( ) Hook into front-end routing.

Méthodes protégées

Méthode Description
autoload ( ) Check for the composer autoload file.
bootstrap ( ) Bootstrap the core plugin.
registerProviders ( ) Register core framework service providers.
setup ( ) Setup core framework parameters.

Private Methods

Méthode Description
__construct ( )

Method Details

adminEnqueueScripts() public méthode

Enqueue Admin scripts.
public adminEnqueueScripts ( )

adminHead() public méthode

Allow developers to add JS data for their project in the admin area only.
public adminHead ( )

autoload() protected méthode

Check for the composer autoload file.
protected autoload ( )

bootstrap() protected méthode

Bootstrap the core plugin.
protected bootstrap ( )

instance() public static méthode

Retrieve Themosis class instance.
public static instance ( ) : Themosis
Résultat Themosis

registerProviders() protected méthode

Register core framework service providers.
protected registerProviders ( )

setRouter() public méthode

Setup the router API to be executed before theme default templates.
public setRouter ( )

setup() protected méthode

At this moment, all activated plugins have been loaded. Each plugin has its service providers registered.
protected setup ( )

Property Details

$container public_oe property

The service container.
public Application,Themosis\Foundation $container
Résultat Themosis\Foundation\Application

$instance protected_oe static_oe property

Themosis instance.
protected static Themosis $instance
Résultat Themosis