Skip to content

Instantly share code, notes, and snippets.

@Swader
Created September 25, 2012 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swader/3781256 to your computer and use it in GitHub Desktop.
Save Swader/3781256 to your computer and use it in GitHub Desktop.
$oFormRow = \Zend\Form\View\Helper\FormRow();
echo $oFormRow->render($myElement);
// or
echo $oFormRow($myElement)
// Always produces empty markup when used outside zend views. Otherwise works ok.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment