namesco / ZTal

ZTal makes integrating the PHP templating system PHPTAL into Zend Framework easy.
Other
21 stars 3 forks source link

Set PHPTAL output mode based on view doctype declaration #22

Open xorock opened 11 years ago

xorock commented 11 years ago

PHPTAL has 3 constants

    const XHTML = 11;
    const XML   = 22;
    const HTML5 = 55;

which are responsible for generating the corresponding closing tag for specific doctype. Maybe You could add option for setting correct output mode being in relation with resources.view.doctype option?

Thank You in advance.