Studyon Minte9.com
ZF 1.0

Study

Layout



# index.php

// Mvc
$layout = Zend_Layout::startMvc(array(
	'layout'     => 'frontend',
	'layoutPath' => '../Application/layouts',
	'contentKey' => 'content'
));

# controller

Zend_Layout::getMvcInstance()->setLayout('print');

# get current Layout

Zend_Layout::getMvcInstance()->getLayout();