|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bsaksida Smarty n00b
Joined: 07 Oct 2006 Posts: 2
|
Posted: Sun Nov 19, 2006 5:05 pm Post subject: Alternative to Display() |
|
|
I woud like to have a function to do exactly like Display, exept it will not display to browser, but it woud return as a string. This woud be useful for emails, like email confirmations, reset password and so on. |
|
Back to top |
|
reb Smarty Rookie
Joined: 17 Aug 2005 Posts: 23
|
Posted: Sun Nov 19, 2006 5:28 pm Post subject: $smarty->fetch() |
|
|
Code: | $myString = $smarty->fetch('template.tpl'); |
Last edited by reb on Wed May 05, 2010 10:34 pm; edited 1 time in total |
|
Back to top |
|
Hielke Hoeve Smarty Elite
Joined: 06 Jan 2006 Posts: 406 Location: Netherlands
|
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
bsaksida Smarty n00b
Joined: 07 Oct 2006 Posts: 2
|
Posted: Mon Nov 20, 2006 4:32 am Post subject: |
|
|
I was searching for this function and coudn't find it. Many thanks |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|