Merc Studio Tech Blog
Tuesday, May 15, 2012
zend view render vs layout render
To render another view file within the same controller,
$view / $this->render("filename.phtml");
to render a view file within layout:
$view / $this->layout()->render("filename"); //without .phtml
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment