\ManiaControl\ServerDirectory

Class offering Operations for the Server Directory

Summary

Methods
Properties
Constants
getUsageInformation()
__construct()
getMapsFolder()
getSkinsFolder()
handleServerStopCallback()
getLogsFolder()
getGameDataFolder()
getCacheFolder()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
cleanLogsFolder()
cleanCacheFolder()
$maniaControl
N/A

Properties

Methods

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Construct new server directory instance

Parameters

\ManiaControl\ManiaControl $maniaControl

getMapsFolder()

getMapsFolder() : string

Retrieve the Maps Folder Path

Returns

string

getSkinsFolder()

getSkinsFolder() : string

Retrieve the Skins Folder Path

Returns

string

handleServerStopCallback()

handleServerStopCallback() 

Handle Server Stop Callback

getLogsFolder()

getLogsFolder() : string

Retrieve the Logs Folder Path

Returns

string

getGameDataFolder()

getGameDataFolder() : string

Retrieve the Game Data Folder Path

Returns

string

getCacheFolder()

getCacheFolder() : string

Retrieve the Cache Folder Path

Returns

string

cleanLogsFolder()

cleanLogsFolder() : boolean

Clean the server logs folder

Returns

boolean

cleanCacheFolder()

cleanCacheFolder() : boolean

Returns

boolean