Class RichTextEditorProfileMethod
java.lang.Object
fr.paris.lutece.portal.service.editor.RichTextEditorProfileMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
public class RichTextEditorProfileMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
Template function richTextEditorProfile( [plugin] ): the editor of the back office and its profile for the rendered template and the connected user, as a
hash { plugin, name, editor, config }. editor is the name of the editor of the back office, name and config the ones of its profile (config is {} when
the editor has no profile). Without argument, the plugin is the one of the rendered template, or of the requested JSP when the template belongs to the core.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RichTextEditorProfileMethod
public RichTextEditorProfileMethod()
-
-
Method Details
-
exec
- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException
-