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 (publicServer, uuid, publicKey) for a specific mosparo project defined in TypoScript. The project can be specified via the selectedProject argument. If no project is specified, or the given project is not configured in TypoScript, the configuration of the defaultProject (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

selectedProject
Type
string
The mosparo project configuration to be used