Elgg
Version master
|
Null plugin boostrap for plugins not defining 'bootstrap' in their elgg-plugin.php Can also be extended by plugin developers when only needing a limited subset of the bootstrap functions. More...
Public Member Functions | |
load () | |
{Executed during 'plugins_load', 'system' event.Allows the plugin to require additional files, as well as configure services prior to booting the plugin
| |
boot () | |
{Executed during 'plugins_boot:before', 'system' event.Allows the plugin to register handlers for 'plugins_boot', 'system' and 'init', 'system' events, as well as implement boot time logic
| |
init () | |
{Executed during 'init', 'system' event.Allows the plugin to implement business logic and register all other handlers
| |
ready () | |
{Executed during 'ready', 'system' event.Allows the plugin to implement logic after all plugins are initialized
| |
shutdown () | |
{Executed during 'shutdown', 'system' event.Allows the plugin to implement logic during shutdown
| |
upgrade () | |
{Registered as handler for 'upgrade', 'system' event.Allows the plugin to implement logic during system upgrade
| |
activate () | |
{Executed when plugin is activated, after 'activate', 'plugin' event.
| |
deactivate () | |
{Executed when plugin is deactivated, after 'deactivate', 'plugin' event.
| |
Public Member Functions inherited from Elgg\PluginBootstrap | |
__construct (protected\ElggPlugin $plugin, protected PublicContainer $dic) | |
Constructor. More... | |
elgg () | |
{Returns Elgg's public DI container.
| |
plugin () | |
{Returns plugin entity this bootstrap is related to.
| |
Null plugin boostrap for plugins not defining 'bootstrap' in their elgg-plugin.php Can also be extended by plugin developers when only needing a limited subset of the bootstrap functions.
NOTE: This class should never implement any code in it's functions
Definition at line 11 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::activate | ( | ) |
{Executed when plugin is activated, after 'activate', 'plugin' event.
Implements Elgg\PluginBootstrapInterface.
Definition at line 52 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::boot | ( | ) |
{Executed during 'plugins_boot:before', 'system' event.Allows the plugin to register handlers for 'plugins_boot', 'system' and 'init', 'system' events, as well as implement boot time logic
Implements Elgg\PluginBootstrapInterface.
Definition at line 22 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::deactivate | ( | ) |
{Executed when plugin is deactivated, after 'deactivate', 'plugin' event.
Implements Elgg\PluginBootstrapInterface.
Definition at line 58 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::init | ( | ) |
{Executed during 'init', 'system' event.Allows the plugin to implement business logic and register all other handlers
Implements Elgg\PluginBootstrapInterface.
Definition at line 28 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::load | ( | ) |
{Executed during 'plugins_load', 'system' event.Allows the plugin to require additional files, as well as configure services prior to booting the plugin
Implements Elgg\PluginBootstrapInterface.
Definition at line 16 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::ready | ( | ) |
{Executed during 'ready', 'system' event.Allows the plugin to implement logic after all plugins are initialized
Implements Elgg\PluginBootstrapInterface.
Definition at line 34 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::shutdown | ( | ) |
{Executed during 'shutdown', 'system' event.Allows the plugin to implement logic during shutdown
Implements Elgg\PluginBootstrapInterface.
Definition at line 40 of file DefaultPluginBootstrap.php.
Elgg\DefaultPluginBootstrap::upgrade | ( | ) |
{Registered as handler for 'upgrade', 'system' event.Allows the plugin to implement logic during system upgrade
Implements Elgg\PluginBootstrapInterface.
Definition at line 46 of file DefaultPluginBootstrap.php.