Constants

ACTION_PREFIX_ENABLEPLUGIN

ACTION_PREFIX_ENABLEPLUGIN

ACTION_PREFIX_DISABLEPLUGIN

ACTION_PREFIX_DISABLEPLUGIN

ACTION_PREFIX_SETTINGS

ACTION_PREFIX_SETTINGS

ACTION_PREFIX_SETTING

ACTION_PREFIX_SETTING

ACTION_BACK_TO_PLUGINS

ACTION_BACK_TO_PLUGINS

ACTION_PREFIX_UPDATEPLUGIN

ACTION_PREFIX_UPDATEPLUGIN

ACTION_UPDATEPLUGINS

ACTION_UPDATEPLUGINS

SETTING_PERMISSION_CHANGE_PLUGIN_SETTINGS

SETTING_PERMISSION_CHANGE_PLUGIN_SETTINGS

CACHE_SETTING_CLASS

CACHE_SETTING_CLASS

Properties

Methods

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Construct a new plugin menu instance

Parameters

\ManiaControl\ManiaControl $maniaControl

getTitle()

getTitle() : string

Get the menu title

Returns

string

backToPlugins()

backToPlugins(array  $callback, \ManiaControl\Players\Player  $player) 

Return back to the plugins overview page

Parameters

array $callback
\ManiaControl\Players\Player $player

handleManialinkPageAnswer()

handleManialinkPageAnswer(array  $callback) 

Handle PlayerManialinkPageAnswer callback

Parameters

array $callback

saveConfigData()

saveConfigData(array  $configData, \ManiaControl\Players\Player  $player) 

Save the config data

Parameters

array $configData
\ManiaControl\Players\Player $player