Esempio n. 1
0
 /**
  * Return the HTML string of this HTML element
  *
  * @return string
  */
 public function render()
 {
     /* @var $doctypeHelper \Zend\View\Helper\Doctype */
     $doctypeHelper = $this->getView()->plugin('doctype');
     $this->getElement()->setIsXhtml($doctypeHelper->isXhtml());
     return parent::render();
 }
Esempio n. 2
0
 /**
  * {@InheritDoc}
  */
 public function setContent($content)
 {
     return parent::setContent((string) $this->translate($content));
 }