/** * Set the doctype * @param string $doctype */ public function setDoctype($doctype = NULL) { $doctypeHandler = new Doctype(); $this->_doctype = $doctypeHandler->getDoctype($doctype); }