1 | <?php |
||
10 | class Plugin extends PluginBase |
||
11 | { |
||
12 | /** |
||
13 | * Determine if this plugin should have elevated privileges. |
||
14 | * |
||
15 | * @var bool |
||
16 | */ |
||
17 | public $elevated = true; |
||
18 | |||
19 | /** |
||
20 | * Plugin dependencies. |
||
21 | * |
||
22 | * @var array |
||
23 | */ |
||
24 | public $require = ['RainLab.User']; |
||
25 | |||
26 | /** |
||
27 | * Returns information about this plugin. |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | public function pluginDetails() |
||
40 | |||
41 | /** |
||
42 | * Register method, called when the plugin is first registered. |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function register() |
||
52 | } |
||
53 |