|
Mura CMS 6.1 | ||||
FRAMES |
railo-context.Componentmura.cfobject
mura.plugin.pluginManager
public class pluginManager
Constructor Summary | |
---|---|
init(any configBean, any settingsManager, any utility, any standardEventsHandler, any fileWriter)
|
Method Summary | |
---|---|
void |
addEventHandler([any component], any siteID, any persist='true')
|
any |
adjustSiteID([any siteID])
|
void |
announceEvent(any eventToAnnounce='', any currentEventObject='', any rsHandlers='', any moduleID='', any index='0')
|
any |
createAppCFCIncludes()
|
any |
createBundle([any id], [any directory])
I bundle a plugin and return it's filename |
void |
createLookupTXT()
|
void |
deleteAssignedSites([any moduleID])
|
void |
deleteDisplayObjects([any moduleID])
|
void |
deletePlugin([any moduleID])
|
void |
deleteScripts([any moduleID])
|
void |
deleteSettings([any moduleID])
|
any |
deploy(any moduleID='', any id='', any useDefaultSettings='false', [any siteID=''], any pluginFile='', any pluginDir='', any autoDeploy='true')
This method is primarily used internally by Mura |
any |
deployBundle([any siteID], [any bundleFile])
I return a struct of any errors that occured |
any |
deployDirectory([any siteID], [any directory], any useDefaultSettings='true', any autoDeploy='true')
|
any |
deployPlugin([any siteID], [any pluginFile], any useDefaultSettings='true', any autoDeploy='true')
|
any |
discover()
|
any |
displayObject([any object], any event='', any moduleID='', any params='')
|
any |
executeScript([any runat], any siteID='', any event='', any index='1')
|
any |
executeScripts([any runat], any siteID='', any event='', any scripts='', any moduleID='')
|
query |
getAllPlugins(any orderby='name')
|
query |
getAssignedSites([any moduleID])
|
any |
getAttributeBean([any theXML], [any moduleID])
|
any |
getCacheFactory(any siteid='')
|
any |
getComponent([any componentPath], [any pluginID], [any siteID], any cache='true')
|
any |
getConfig([any ID], any siteID='', any cache='true')
|
string |
getDirectoryFromQuery([any rs])
|
any |
getDisplayObjectBean()
|
query |
getDisplayObjectsBySiteID(any siteID='', any modulesOnly='false', any moduleID='', any configuratorsOnly='false')
|
any |
getEventHandlerFromPath([any component])
|
any |
getEventMappings([any eventName], any siteID='')
|
any |
getExecutor()
|
query |
getHandlersQuery([any eventToHandle], any siteID='', any moduleID='')
|
any |
getIDFromPath([any path])
|
any |
getLocalFileFromURL([any pluginURL])
|
string |
getLocation([any directory])
|
query |
getPlugin([any ID], any siteID='', any cache='true')
|
xml |
getPluginXML([any moduleID], [any pluginDir=''])
|
any |
getScriptBean()
|
query |
getScripts([any runat], any siteID='', any moduleID='')
|
any |
getSiteListener([any siteID], [any runat])
|
struct |
getSitePluginGroups([query rsplugins])
|
query |
getSitePlugins([any siteID], any orderby='name', any applyPermFilter='false')
|
any |
getStandardEventFactory(any siteid='')
|
any |
getZipTrim([any pluginFile])
|
any |
hasPlugin([any ID], any siteID='', any cache='true')
|
void |
loadPlugins([any safeMode='false'])
|
any |
purgeCacheFactories()
|
any |
purgePluginConfigs()
|
any |
purgeStandardEventFactories()
|
any |
reDeploy([any siteID], [any ID])
|
any |
renderAdminTemplate([any body], [any pageTitle], any jsLib='prototype', any jsLibLoaded='false', [any compactDisplay='false'])
|
any |
renderAdminToolbar(any jsLib='prototype', any jsLibLoaded='false')
|
any |
renderEvent(any eventToRender='', any currentEventObject='', any rsHandlers='', any moduleID='', any index='0')
|
any |
renderScript([any runat], any siteID='', any event='', any index='1')
|
any |
renderScripts([any runat], any siteID='', any event='', any scripts='', any moduleID='')
|
any |
savePluginXML([any modID])
|
void |
updateSettings([any args])
|
Methods inherited from class mura.cfobject |
---|
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
|
Methods inherited from class railo-context.Component |
---|
|
Constructor Detail |
---|
public init(any configBean, any settingsManager, any utility, any standardEventsHandler, any fileWriter)
configBean
settingsManager
utility
standardEventsHandler
fileWriter
Method Detail |
---|
public void addEventHandler([any component], any siteID, any persist='true')
component
siteID
persist
public any adjustSiteID([any siteID])
siteID
public void announceEvent(any eventToAnnounce='', any currentEventObject='', any rsHandlers='', any moduleID='', any index='0')
eventToAnnounce
currentEventObject
rsHandlers
moduleID
index
public any createAppCFCIncludes()
public any createBundle([any id], [any directory])
id
- ModuleID or pluginID or Packagedirectory
- Server directory to save the bundlepublic void createLookupTXT()
public void deleteAssignedSites([any moduleID])
moduleID
public void deleteDisplayObjects([any moduleID])
moduleID
public void deletePlugin([any moduleID])
moduleID
public void deleteScripts([any moduleID])
moduleID
public void deleteSettings([any moduleID])
moduleID
public any deploy(any moduleID='', any id='', any useDefaultSettings='false', [any siteID=''], any pluginFile='', any pluginDir='', any autoDeploy='true')
moduleID
id
- Either ModuleID, PluginID or Package. Can be used instead of moduleID argument.useDefaultSettings
- Deploy default config.xml settings values, not applicable for bundlessiteID
- List of siteIDs to assign the plugin. Only applicable when useDefaultSettings is set to true.pluginFile
pluginDir
autoDeploy
public any deployBundle([any siteID], [any bundleFile])
siteID
- List of siteIDs to assign the pluginbundleFile
- Complete path to bundle zip filepublic any deployDirectory([any siteID], [any directory], any useDefaultSettings='true', any autoDeploy='true')
siteID
- List of siteIDs to assign the plugin. If not defined will defiend to existing assignment.directory
- Complete path to external plugin directory if external, otherwise the name og the directory in /pluginsuseDefaultSettings
autoDeploy
public any deployPlugin([any siteID], [any pluginFile], any useDefaultSettings='true', any autoDeploy='true')
siteID
- List of siteIDs to assign the pluginpluginFile
- Complete path to plugin zip fileuseDefaultSettings
autoDeploy
public any discover()
public any displayObject([any object], any event='', any moduleID='', any params='')
object
event
moduleID
params
public any executeScript([any runat], any siteID='', any event='', any index='1')
runat
siteID
event
index
public any executeScripts([any runat], any siteID='', any event='', any scripts='', any moduleID='')
runat
siteID
event
scripts
moduleID
public query getAllPlugins(any orderby='name')
orderby
public query getAssignedSites([any moduleID])
moduleID
public any getAttributeBean([any theXML], [any moduleID])
theXML
moduleID
public any getCacheFactory(any siteid='')
siteid
public any getComponent([any componentPath], [any pluginID], [any siteID], any cache='true')
componentPath
pluginID
siteID
cache
public any getConfig([any ID], any siteID='', any cache='true')
ID
siteID
cache
public string getDirectoryFromQuery([any rs])
rs
public any getDisplayObjectBean()
public query getDisplayObjectsBySiteID(any siteID='', any modulesOnly='false', any moduleID='', any configuratorsOnly='false')
siteID
modulesOnly
moduleID
configuratorsOnly
public any getEventHandlerFromPath([any component])
component
public any getEventMappings([any eventName], any siteID='')
eventName
siteID
public any getExecutor()
public query getHandlersQuery([any eventToHandle], any siteID='', any moduleID='')
eventToHandle
siteID
moduleID
public any getIDFromPath([any path])
path
public any getLocalFileFromURL([any pluginURL])
pluginURL
public string getLocation([any directory])
directory
public query getPlugin([any ID], any siteID='', any cache='true')
getPlugin
in class
cfobject
ID
siteID
cache
public xml getPluginXML([any moduleID], [any pluginDir=''])
moduleID
pluginDir
public any getScriptBean()
public query getScripts([any runat], any siteID='', any moduleID='')
runat
siteID
moduleID
public any getSiteListener([any siteID], [any runat])
siteID
runat
public struct getSitePluginGroups([query rsplugins])
rsplugins
public query getSitePlugins([any siteID], any orderby='name', any applyPermFilter='false')
siteID
orderby
applyPermFilter
public any getStandardEventFactory(any siteid='')
siteid
public any getZipTrim([any pluginFile])
pluginFile
public any hasPlugin([any ID], any siteID='', any cache='true')
ID
siteID
cache
public void loadPlugins([any safeMode='false'])
safeMode
public any purgeCacheFactories()
public any purgePluginConfigs()
public any purgeStandardEventFactories()
public any reDeploy([any siteID], [any ID])
siteID
- List of siteIDs to assign the plugin. If not defined will defiend to existing assignment.ID
- The moduleID, pluginID, package or name of plugin to redeploypublic any renderAdminTemplate([any body], [any pageTitle], any jsLib='prototype', any jsLibLoaded='false', [any compactDisplay='false'])
body
pageTitle
jsLib
jsLibLoaded
compactDisplay
public any renderAdminToolbar(any jsLib='prototype', any jsLibLoaded='false')
jsLib
jsLibLoaded
public any renderEvent(any eventToRender='', any currentEventObject='', any rsHandlers='', any moduleID='', any index='0')
eventToRender
currentEventObject
rsHandlers
moduleID
index
public any renderScript([any runat], any siteID='', any event='', any index='1')
runat
siteID
event
index
public any renderScripts([any runat], any siteID='', any event='', any scripts='', any moduleID='')
runat
siteID
event
scripts
moduleID
public any savePluginXML([any modID])
modID
public void updateSettings([any args])
args
|
Mura CMS 6.1 | ||||
FRAMES |