\ManiaControl\PluginsPlugin

Interface for ManiaControl Plugins

Summary

Methods
Constants
prepare()
getId()
getName()
getVersion()
getAuthor()
getDescription()
load()
unload()
PLUGIN_INTERFACE
No protected methods found
N/A
No private methods found
N/A

Constants

PLUGIN_INTERFACE

PLUGIN_INTERFACE

Methods

prepare()

prepare(\ManiaControl\ManiaControl  $maniaControl) 

Prepare the Plugin

Parameters

\ManiaControl\ManiaControl $maniaControl

getId()

getId() : integer

Get plugin id

Returns

integer

getName()

getName() : string

Get Plugin Name

Returns

string

getVersion()

getVersion() : string

Get Plugin Version

Returns

string

getAuthor()

getAuthor() : string

Get Plugin Author

Returns

string

getDescription()

getDescription() : string

Get Plugin Description

Returns

string

load()

load(\ManiaControl\ManiaControl  $maniaControl) : boolean

Load the plugin

Parameters

\ManiaControl\ManiaControl $maniaControl

Returns

boolean

unload()

unload() 

Unload the plugin and its Resources