how to make smarty's display function return to a variable

Posted by user327396 on Stack Overflow See other posts from Stack Overflow or by user327396
Published on 2010-05-11T00:57:47Z Indexed on 2010/05/11 1:04 UTC
Read the original article Hit count: 178

Filed under:
|

In smarty is it possible or is there any kind of function to render a template and return the result?

for example:

$rendered_content = $smarty->render("content.html")

© Stack Overflow or respective owner

Related posts about smarty

Related posts about php