MosparoConfiguration ViewHelper <mosparoform:mosparoConfiguration>
@package: Denkwerk\MosparoForm\ViewHelpers
ViewHelper to retrieve the public mosparo project configuration from the TypoScript setup.
This ViewHelper returns configuration values (public
, uuid
, public
) for a specific
mosparo project defined in TypoScript. The project can be specified via the selected
argument.
If no project is specified, or the given project is not configured in TypoScript, the configuration
of the default
(as defined in TypoScript) will be used instead.
Example usage in a Fluid template: <mosparoform:mosparoConfiguration selectedProject="projectA" />
Expected TypoScript structure: plugin.tx_mosparoform.settings.projects { defaultProject = projectA projectA { publicServer = https://... verifyServer = https://... uuid = ... publicKey = ... privateKey = ... } }
Class MosparoConfigurationViewHelper
Arguments
The following arguments are available for the mosparoConfiguration ViewHelper:
selectedProject
-
- Type
- string
The mosparo project configuration to be used