Zend Framework Source Code Snippets

How to get the HTML rendered results into variable

Bookmark and Share
1
$html = $this->view->render(\'/controller/action.phtml\');

Comments

Massimo Massimo
3 years ago

Snippet from http://tagmycode.com/s/76

You must login before commenting on a snippet. If you do not have an account, please register.

Snippet description

Use this code into controller action
http://tagmycode.com/s/76

Snippet details

Created:
Massimo Massimo
3 years ago
Edited:
Massimo Massimo
2 years ago
Revision Id:
209
Edit Message:
Initial Release
ZF Version
1.10.0
Tags:
html render partials
Comments:
1
Views:
6911
Points:
1 (1 votes)

History

r209

Initial Release

Massimo Massimo
2 years ago
diff
r194

Initial Release

Massimo Massimo
3 years ago