Elgg  Version master
PluginBootstrapInterface.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg;
4 
6 
11 
19  public function load();
20 
29  public function boot();
30 
38  public function init();
39 
47  public function ready();
48 
56  public function shutdown();
57 
63  public function activate();
64 
70  public function deactivate();
71 
79  public function upgrade();
80 
86  public function elgg();
87 
93  public function plugin();
94 }
ready()
Executed during 'ready', 'system' event.
activate()
Executed when plugin is activated, after 'activate', 'plugin' event.
upgrade()
Registered as handler for 'upgrade', 'system' event.
plugin()
Returns plugin entity this bootstrap is related to.
load()
Executed during 'plugins_load', 'system' event.
boot()
Executed during 'plugins_boot:before', 'system' event.
elgg()
Returns Elgg's public DI container.
deactivate()
Executed when plugin is deactivated, after 'deactivate', 'plugin' event.
shutdown()
Executed during 'shutdown', 'system' event.
init()
Executed during 'init', 'system' event.