public function addElement(\Zend_Form_Element $element)
    {
        $decorators = $element->getDecorators();
        $decorator = array_shift($decorators);
        $element->setDecorators(array($decorator,
            array('Description', array('class'=>'description')),
                            'Errors',
                            array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'element')),
                            array('Label'),
                            array(array('labelCell' => 'HtmlTag'), array('tag' => 'td', 'class'=>'label')),
                            array(array('row' => 'HtmlTag'), array('tag' => 'tr', 'class' => $this->_alternate))
            ));
        
        return parent::addElement($element);
    }
public function addElement(\Zend_Form_Element $element)
    {
        $decorators = $element->getDecorators();
        $decorator = array_shift($decorators);
        $element->setDecorators(array($decorator,
            array('Description', array('class'=>'description')),
                            'Errors',
                            array(array('data' => 'HtmlTag'), array('tag' => 'td', 'class' => 'element')),
                            array('Label'),
                            array(array('labelCell' => 'HtmlTag'), array('tag' => 'td', 'class'=>'label')),
                            array(array('row' => 'HtmlTag'), array('tag' => 'tr', 'class' => $this->_alternate))
            ));
        
        return parent::addElement($element);
    }
public function addElement ( \ Zend_Form_Element $ element ) { $ decorators = $ element -> getDecorators ( ) ; $ decorator = array_shift ( $ decorators ) ; $ element -> setDecorators ( array ( $ decorator , array ( 'Description' , array ( 'class' => 'description' ) ) , 'Errors' , array ( array ( 'data' => 'HtmlTag' ) , array ( 'tag' => 'td' , 'class' => 'element' ) ) , array ( 'Label' ) , array ( array ( 'labelCell' => 'HtmlTag' ) , array ( 'tag' => 'td' , 'class' => 'label' ) ) , array ( array ( 'row' => 'HtmlTag' ) , array ( 'tag' => 'tr' , 'class' => $ this -> _alternate ) ) ) ) ; return parent :: addElement ( $ element ) ; }
Add element to stack

@param  \Zend_Form_Element $element
@return \Zend_Form_DisplayGroup
Add element to stack