PluginRepository Class
Empty constructor because this object uses static methods.
Constructor
PluginRepository
()
Methods
loadIncludedPluginsOwnedByThisSite
(
static
-
pluginIDs
-
site
-
cb
Load all plugin objects included in pluginIDs on a site level.
Parameters:
-
pluginIDs
Array- array of plugin unique ids
-
site
String- site unique id
-
cb
Function- callback function
loadPluginAvailableToThisSite
(
static
-
pluginID
-
site
-
cb
Loads the plugin object on the site level first. If blank, attempts to load plugin object from the global level.
Parameters:
-
pluginID
String- plugin unique id
-
site
String- site unqiue id
-
cb
Function- the callback function
loadPluginOwnedByThisSite
(
static
-
pluginID
-
site
-
cb
Loads the plugin object on the site level from the database.
Parameters:
-
pluginID
String- plugin unique id
-
site
String- site unique id
-
cb
Function- the callback function
loadPluginsAcrossAllSites
(
static
-
cb
Load the entire plugin collection on both site and global levels.
Parameters:
-
cb
Function- the callback function
loadPluginsNotIncludedOwnedByThisSite
(
static
-
pluginIDs
-
site
-
cb
Loads plugin objects of plugin IDs that are not include in pluginIDs on the site level.
Parameters:
-
pluginIDs
Array- array of plugin unique ids to exclude
-
site
String- site unique id
-
cb
Function- callback function
loadPluginsWithThemesAvailableToThisSite
(
static
-
site
-
cb
Retrieves the plugins that have themes associated with them from both site and global level.
Parameters:
-
site
String- site unique id
-
cb
Function- the callback function
loadPluginsWithThemesOwnedByThisSite
(
static
-
site
-
cb
Retrieves the plugins that have themes associated with them from site level.
Parameters:
-
site
String- site unique id
-
cb
Function- the callback function