|
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 |
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Tue Jun 22, 2010 7:20 pm Post subject: Modifiers - Supressing errors with @ |
|
|
I would like to suggest searching for some way to suppress to calling modifiers within the templates.
It may be rarely used, but works on php's native function calls.
For example,
Code: | {$ip|@gethostbyaddr} |
Currently, it behaves differently, but it may produce the compile as what we can expect:
Code: | <?php>
...
@gethostbyaddr($ip)
...
?> |
In user defined plugins, we can supress the calls within the php codes.
But, it is not possible to do that with php's own functions.
So, it may be better to have an option for that as well.
Thanks to the development team again! |
|
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
|