Tag Archives: doctype

Doctype declaration (Zend Framework)

The following snippet will add a doctype declaration to your views. Modify Bootstrap.php . protected function _initDoctype() { $this->bootstrap(‘view’); $view = $this->getResource(‘view’); $view->doctype(‘XHTML1_STRICT’); }

Posted in PHP | Also tagged , , , , | Leave a comment