public class PluginConfiguration
extends java.lang.Object
Constructor and Description |
---|
PluginConfiguration(java.lang.String id,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBasePath()
Returns the Plugin base folder path.
|
java.lang.String |
getCss()
Returns the Plugin CSS path or null if the file doesn't exist.
|
java.lang.String |
getId()
Returns the plugin ID
|
java.lang.String |
getLanguagePath(java.lang.String lang)
Returns the JS lang file path from the given language.
If the JS lang file is not found for the given language, it uses the JS lang file with the main language of the site. If the JS lang file is not found for the main language, it uses the english JS lang. |
java.lang.String |
getPath()
Returns the JavaScript file path of the plugin.
|
void |
init() |
public PluginConfiguration(java.lang.String id, java.lang.String path)
public void init()
public java.lang.String getId()
public java.lang.String getPath()
public java.lang.String getBasePath()
public java.lang.String getCss()
public java.lang.String getLanguagePath(java.lang.String lang)
lang
- language of the JS lang file to findCopyright © 2001-2018 Jalios SA. All Rights Reserved.