tag (it is really just a
wrapper now).
*
* Also, identifies sub-forms and display groups with a
* 'fieldset' css class so that they can be styled
* separately.
*
* @copyright 2011 Perforce Software. All rights reserved.
* @license Please see LICENSE.txt in top-level folder of this distribution.
* @version /
*/
class P4Cms_Form_Decorator_DtDdWrapper extends Zend_Form_Decorator_DtDdWrapper
{
/**
* Extend render to eliminate spurious dt tag.
*
* @param string $content the content to render.
* @return string
*/
public function render($content)
{
$elementName = $this->getElement()->getName();
$isFieldset = ($this->getElement() instanceof Zend_Form_DisplayGroup ||
$this->getElement() instanceof Zend_Form_SubForm);
$html = '';
return $html;
}
}