ShopwareAG/shopware-4 — pull request #124 by kpasson (2013-10-16 09:17:59+00:00)
Title: Json Output enableJsonExprFinder

enableJsonExprFinder for Zend_Json::encode so you can e.g. define listeners for plugin form elements
$form->setElement(
'select',
'mappingFilesPath',
array(
'label' => 'Modus',
'required' => true,
'store' => array(),
'listeners' => array(
'select' => new Zend_Json_Expr('function() { /*code*/ }')
),
'scope' => Shopware\Models\Config\Element::SCOPE_SHOP
)
);