PluginHelper Class
The PluginHelper provides helper function for handling plugins.
Constructor
PluginHelper
()
Item Index
Methods
Methods
findItem
(
-
plugin
-
id
-
callback
Gets the plugin item from the database
Parameters:
-
plugin
StringThe id of the plugin
-
id
StringThe id of the item to find
-
callback
FunctionThe callback function to execute after find
getPluginList
(
-
callback
Parse all plugins into an array
Parameters:
-
callback
FunctionThe callback method to execute after parsing
-
err
Stringnull if no error occured, otherwise the error
-
result
ObjectAn array containing the plugins
-