u can create your own view helper
libraray--App>View>Helper>PlainTextElemet.php
create a folder in your library folder that name is App
so a folder that name is View so in View create Helper Folder so in Helper folder create
a class with PlainTextElement name same following
class App_View_Helper_PlainTextElement extends Zend_View_Helper_FormElement {
public function PlainTextElement($name, $value = null, $attribs = null) {
$info = $this->_getInfo($name, $value, $attribs);
extract($info); // name, value, attribs, options, listsep, disable
if (null === $value) {$value = $name;}
return $value;
}
}
then in libray same above create a class App>Form>Element>PlainText.php
so put folowing code in this class
class App_Form_Element_PlainText extends Zend_Form_Element_Xhtml {
public $helper='PlainTextElement';
public function isValid($value){
return true;
}
}
now in your form you can create each html code you like
$someValue = <div id="wmd-button-bar" class="wmd-panel"></div>
$this->addElement(new App_Form_Element_PlainText('pliantext1', array(
'value'=>$someValue,
)));
dont forget in your application.ini add fllowing lines too
autoloaderNamespaces.app = "App_"
resources.view.helperPath.App_View_Helper="App/View/Helper"