public function createPreviewHtmlElement($label = false) {
        if ($label) {
            $options['label'] = $this->translate->_($label);
        } else {
            $options['label'] = $this->translate->_('Preview HTML');
        }
        $options['nohidden'] = true;

        return $this->_form->createElement('Html', 'preview_html', $options);
    }
public function createPreviewHtmlElement($label = false) {
        if ($label) {
            $options['label'] = $this->translate->_($label);
        } else {
            $options['label'] = $this->translate->_('Preview HTML');
        }
        $options['nohidden'] = true;

        return $this->_form->createElement('Html', 'preview_html', $options);
    }
public function createPreviewHtmlElement ( $ label = false ) { if ( $ label ) { $ options [ 'label' ] = $ this -> translate -> _ ( $ label ) ; } else { $ options [ 'label' ] = $ this -> translate -> _ ( 'Preview HTML' ) ; } $ options [ 'nohidden' ] = true ; return $ this -> _form -> createElement ( 'Html' , 'preview_html' , $ options ) ; }
Create the container that holds the preview Email HTML text.

@param bool $noText Is there no preview text button?
@return \MUtil_Form_Element_Exhibitor
Create the container that holds the preview Email HTML text .