ExtensionManagerTrait
Trait for classes which can load extensions
| since |
4.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
bootComponent
Boots the component with the given name.
bootComponent( component) : \Joomla\CMS\Extension\ComponentInterface
bootModule
Boots the module with the given name.
bootModule( module, applicationName) : \Joomla\CMS\Extension\ModuleInterface
| since |
4.0.0 |
|---|
Arguments
- module
stringThe module to boot- applicationName
stringThe application name
Response
bootPlugin
Boots the plugin with the given name and type.
bootPlugin( plugin, type) : \Joomla\CMS\Extension\PluginInterface
| since |
4.0.0 |
|---|
Arguments
- plugin
stringThe plugin name- type
stringThe type of the plugin
Response
getContainer
Get the DI container.
getContainer() : \Joomla\DI\Container
abstract
| since |
4.0.0 |
|---|---|
| throws |
|
Response
Container
loadExtension
Loads the extension.
loadExtension( type, extensionName, extensionPath) : \Joomla\CMS\Extension\ComponentInterface|\Joomla\CMS\Extension\ModuleInterface|\Joomla\CMS\Extension\PluginInterface
| since |
4.0.0 |
|---|
Arguments
- type
stringThe extension type- extensionName
stringThe extension name- extensionPath
stringThe path of the extension
Response
loadPluginFromFilesystem
Creates a CMS plugin from the filesystem.
loadPluginFromFilesystem( plugin, type) : \Joomla\CMS\Plugin\CMSPlugin