Thank you Vincent,

that's not exactly what i was looking for but it helps.

Denis.

Vincent a écrit :


On 4/16/08, *Denis Fohl* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

    in comments to this tutorial :
    
http://codeutopia.net/blog/2008/03/17/introduction-to-zend_layout-updated-for-zf-15/

    Matthew said : "I'd recommend calling the doctype() helper with the
    doctype you want from your bootstrap. "

    how to do that ?


I currently do it like this:

$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');
$view = new Zend_View(array('encoding' => 'utf-8'));
$view->doctype('XHTML1_STRICT');
$viewRenderer->setView($view);

    Thanks.

-- Denis


--
Vincent

--
Denis Fohl
--------------
df-info
06 84 38 21 99

Reply via email to