|
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 |
FractalizeR Smarty Rookie
Joined: 01 Nov 2003 Posts: 16
|
Posted: Thu Jun 11, 2009 6:25 am Post subject: |
|
|
This {function} looks like Smarty becomes something like PHP inside PHP... Not just a template engine, but a complete language already. Don't know if that is good or... ? _________________ Things are changing,
But nothing changes,
And still there are changes |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Jun 11, 2009 3:18 pm Post subject: |
|
|
Not quite. The template functions are useful for creating a small sequence of (presentation) logic that is repeated or recursively called, such as displaying a directory tree. You can't do this very elegantly with a smarty plugin, as presentation elements within the loop are no longer defined within the template without some more complicated fetching in the plugin. |
|
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
|