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:
-
pluginIDsArray- array of plugin unique ids
-
siteString- site unique id
-
cbFunction- 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:
-
pluginIDString- plugin unique id
-
siteString- site unqiue id
-
cbFunction- the callback function
loadPluginOwnedByThisSite
(
static
-
pluginID -
site -
cb
Loads the plugin object on the site level from the database.
Parameters:
-
pluginIDString- plugin unique id
-
siteString- site unique id
-
cbFunction- the callback function
loadPluginsAcrossAllSites
(
static
-
cb
Load the entire plugin collection on both site and global levels.
Parameters:
-
cbFunction- 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:
-
pluginIDsArray- array of plugin unique ids to exclude
-
siteString- site unique id
-
cbFunction- callback function
loadPluginsWithThemesAvailableToThisSite
(
static
-
site -
cb
Retrieves the plugins that have themes associated with them from both site and global level.
Parameters:
-
siteString- site unique id
-
cbFunction- the callback function
loadPluginsWithThemesOwnedByThisSite
(
static
-
site -
cb
Retrieves the plugins that have themes associated with them from site level.
Parameters:
-
siteString- site unique id
-
cbFunction- the callback function
