DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Enum

aMapping

This is a very powerful array setting that allows you to translate real database-saved values to nicely formatted outputs (not for the form, though). Now this sounds as if you don't want to do that on your own but for limited amount of options it makes sense to configure that manually.

The only thing you need to do is to configure the value you want to translate (map, thus the name) as array key and the output it should become (be mapped on) as the configuration value. Pretty easy example: Translate status values into images:

'aMapping' => array(
    'on hold' => '<img src="fileadmin/img/hold.png" alt="on hold" />',
    'done' => '<img src="fileadmin/img/done.png" alt="done" />',
    'in work' => '<img src="fileadmin/img/work.png" alt="in work" />'
)