Elgg  Version 6.1
Public Member Functions | List of all members
Elgg\PluginBootstrap Class Reference

Plugin bootstrap. More...

Inheritance diagram for Elgg\PluginBootstrap:
Elgg\PluginBootstrapInterface Elgg\DefaultPluginBootstrap

Public Member Functions

 __construct (protected\ElggPlugin $plugin, protected PublicContainer $dic)
 Constructor. More...
 
 elgg ()
 {Returns Elgg's public DI container.
Returns
PublicContainer
} More...
 
 plugin ()
 {Returns plugin entity this bootstrap is related to.
Returns
} More...
 
- Public Member Functions inherited from Elgg\PluginBootstrapInterface
 load ()
 Executed during 'plugins_load', 'system' event. More...
 
 boot ()
 Executed during 'plugins_boot:before', 'system' event. More...
 
 init ()
 Executed during 'init', 'system' event. More...
 
 ready ()
 Executed during 'ready', 'system' event. More...
 
 shutdown ()
 Executed during 'shutdown', 'system' event. More...
 
 activate ()
 Executed when plugin is activated, after 'activate', 'plugin' event. More...
 
 deactivate ()
 Executed when plugin is deactivated, after 'deactivate', 'plugin' event. More...
 
 upgrade ()
 Registered as handler for 'upgrade', 'system' event. More...
 

Detailed Description

Plugin bootstrap.

Definition at line 10 of file PluginBootstrap.php.

Constructor & Destructor Documentation

Elgg\PluginBootstrap::__construct ( protected\ElggPlugin  $plugin,
protected PublicContainer  $dic 
)

Constructor.

Parameters
\ElggPlugin$pluginThe plugin
PublicContainer$dicPublic services

Definition at line 18 of file PluginBootstrap.php.

Member Function Documentation

Elgg\PluginBootstrap::elgg ( )

{Returns Elgg's public DI container.

Returns
PublicContainer
}

Implements Elgg\PluginBootstrapInterface.

Definition at line 24 of file PluginBootstrap.php.

Elgg\PluginBootstrap::plugin ( )

{Returns plugin entity this bootstrap is related to.

Returns
}

Implements Elgg\PluginBootstrapInterface.

Definition at line 31 of file PluginBootstrap.php.


The documentation for this class was generated from the following file: