 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
Synchro Smarty Rookie
Joined: 27 Apr 2008 Posts: 16
|
Posted: Fri Feb 24, 2012 9:08 pm Post subject: modifiercompiler plugins undocumented? |
|
|
| While migrating from smarty 2 to 3 I ran into an issue relating to use of the string_format plugin. I was a bit mystified to find it named as a 'modifiercompiler' plugin when the source of the plugin (at least in 3.1.7) refers to it as a modifier in several places. I understand the difference between the two (and can see that it's a useful distinction), but it would help if this plugin type was at least mentioned in the docs! |
|
| Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 4178 Location: Hamburg / Germany
|
Posted: Fri Feb 24, 2012 9:31 pm Post subject: |
|
|
| Yes a couple of the standard modifiers produce now compiled inline code for better performance. The compiled code is produced now by the new plugin type modifiercompiler. Thanks for the hint to update documentation for this new plugin type. |
|
| 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
|