void activate(
$pluginType,
$pluginId
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::activatePlugin |
void deactivate(
$pluginType,
$pluginId
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::deactivatePlugin |
void getAllPluginIds(
$pluginType
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::getAllPluginIds |
void removeAllParameters(
$pluginType,
$pluginId
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::removeAllPluginParameters |
void removeParameter(
$pluginType,
$pluginId,
$parameterName, [
$itemIds = 0]
)
|
|
Parameters:
|
$pluginType: |
|
|
$pluginId: |
|
|
$parameterName: |
|
|
$itemIds: |
|
API Tags:
See: | GalleryCoreApi::removePluginParameter |
void removeParameterByValue(
$pluginType,
$pluginId,
$parameterName,
$parameterValue
)
|
|
Parameters:
|
$pluginType: |
|
|
$pluginId: |
|
|
$parameterName: |
|
|
$parameterValue: |
|
API Tags:
See: | GalleryCoreApi::removePluginParameterByValue |
void removeParametersForItemId(
$itemId
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::removePluginParametersForItemId |
void removePlugin(
$pluginType,
$pluginId
)
|
|
Parameters:
API Tags:
See: | GalleryCoreApi::removePlugin |
void setParameter(
$pluginType,
$pluginId,
$parameterName,
$parameterValue, [
$itemId = 0]
)
|
|
Parameters:
|
$pluginType: |
|
|
$pluginId: |
|
|
$parameterName: |
|
|
$parameterValue: |
|
|
$itemId: |
|
API Tags:
See: | GalleryCoreApi::setPluginParameter |
void setPluginInstance(
string
$pluginType, string
$pluginId,
&$instance, GalleryPlugin
$instance
)
|
|
Set a given plugin instance in the plugin cache.
This should only be used by unit tests that want to force a specific dummy plugin to exist.
Parameters:
string |
$pluginType: |
plugin type |
string |
$pluginId: |
plugin id |
GalleryPlugin |
$instance: |
|
|
&$instance: |
|
API Tags:
GalleryStatus _addParameter(
string
$pluginType, string
$pluginId, string
$parameterName, string
$parameterValue, [int
$itemId = 0]
)
|
|
Add a new parameter for this plugin
Parameters:
string |
$pluginType: |
the type of the plugin |
string |
$pluginId: |
the id of the plugin |
string |
$parameterName: |
the name of the parameter |
string |
$parameterValue: |
the value of the parameter |
int |
$itemId: |
the id of item (or null for a global setting) |
API Tags:
Return: | a status code |
Access: | private |
GalleryStatus _updateParameter(
string
$pluginType, string
$pluginId, string
$parameterName, string
$parameterValue, [int
$itemId = 0]
)
|
|
Update an existing parameter for this plugin
Parameters:
string |
$pluginType: |
the type of the plugin |
string |
$pluginId: |
the id of the plugin |
string |
$parameterName: |
the name of the parameter |
string |
$parameterValue: |
the value of the parameter |
int |
$itemId: |
the id of item (or null for a global setting) |
API Tags:
Return: | a status code |
Access: | private |