/** * 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(); }
/** * {@InheritDoc} */ public function setContent($content) { return parent::setContent((string) $this->translate($content)); }