\TriTan\Interfaces\PluginsPluginsRepositoryInterface

Summary

Methods
Constants
activate()
deactivate()
isActivated()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

activate()

activate(string  $plugin) : mixed

Activates a specific plugin that is called by $_GET['id'] variable.

Parameters

string $plugin

ID of the plugin to activate

Returns

mixed

deactivate()

deactivate(string  $plugin) 

Deactivates a specific plugin that is called by $_GET['id'] variable.

Parameters

string $plugin

ID of the plugin to deactivate.

isActivated()

isActivated(  $plugin) : boolean

Checks if a particular plugin has been activated.

Parameters

$plugin

Returns

boolean —

True if plugin is activated, false otherwise