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
10 months 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
10 months ago
Edited:
Massimo Massimo
7 months ago
Revision Id:
209
Edit Message:
Initial Release
ZF Version
1.10.0
Tags:
html render partials
Comments:
1
Views:
2275
Points:
1 (1 votes)

History

r209

Initial Release

Massimo Massimo
7 months ago
diff
r194

Initial Release

Massimo Massimo
10 months ago