public class MMLanguage extends ProcessorModule
ProcessorModule.GetNodeListFunction, ProcessorModule.ProcessFunction, ProcessorModule.ReplaceFunction| Modifier and Type | Field and Description |
|---|---|
(package private) String |
languagePrefix
The language currently in use.
|
(package private) MMBase |
mmb
Reference to the MMbase module.
|
PARAM_PAGEINFO, PARAMS_PAGEINFOconfigurationPath, getMaintainerFunction, getVersionFunction, properties, STATE_START_TIMEdescription, guiName, namefunctions, getFunctions| Constructor and Description |
|---|
MMLanguage()
Basic constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFromCoreEnglish(String term) |
void |
init()
Initializes the module.
|
String |
replace(PageInfo sp,
String cmds)
Handles the $MOD-MMLANGUAGE-commands.
|
getList, getListBuilder, getNodeList, onload, process, reload, replace, unloadaddInitParameters, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, shutdown, shutdownModules, startModule, startModulesgetDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setNameaddFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstanceMMBase mmb
String languagePrefix
public void init()
ProcessorModuleModule.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.init in class ProcessorModulepublic String replace(PageInfo sp, String cmds)
replace in class ProcessorModulesp - the current page contextcmds - the tokenized commandMMBase 1.9-SNAPSHOT - ${javadoctimestamp}