Skip to content

Instantly share code, notes, and snippets.

@guyht
Created January 23, 2011 14:52
Show Gist options
  • Save guyht/792120 to your computer and use it in GitHub Desktop.
Save guyht/792120 to your computer and use it in GitHub Desktop.
protected $_elementDecorators = array(
'ViewHelper',
'Description',
'Errors',
array(
// Decorator name
'Callback',
// Options
array(
'callback' => function($content, $element, array $options)
{
return '<br />';
},
'placement' => 'prepend',
)
),
'Label',
array(
// Decorator name
'HtmlTag',
// Options
array(
'tag' => 'div',
'class' => 'zend_element',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment