public function getElement($name)
    {
        if ($element = parent::getElement($name)) {
            return $element;
        } else {
            $subforms = $this->getSubForms();
            foreach($subforms as $subform) {
                if ($element = $subform->getElement($name)) {
                    return $element;
                }
            }
            return;
        }
    }
public function getElement($name)
    {
        if ($element = parent::getElement($name)) {
            return $element;
        } else {
            $subforms = $this->getSubForms();
            foreach($subforms as $subform) {
                if ($element = $subform->getElement($name)) {
                    return $element;
                }
            }
            return;
        }
    }
public function getElement ( $ name ) { if ( $ element = parent :: getElement ( $ name ) ) { return $ element ; } else { $ subforms = $ this -> getSubForms ( ) ; foreach ( $ subforms as $ subform ) { if ( $ element = $ subform -> getElement ( $ name ) ) { return $ element ; } } return ; } }
Retrieve a single element, use recursive search in subforms to provide a transparent experience
with tabs

@param  string $name
@return \Zend_Form_Element|null
Retrieve a single element use recursive search in subforms to provide a transparent experience with tabs