Hello!

Smarty 2.4.2 now supports the ability to access objects within the
templates, a long awaited feature. Two methods are available, one which
closely follows Smartys existing syntax conventions, and another that
follows more traditional object syntax for those familiar with PHP.

The regex parsing was rewritten to be more strict, secure and
maintainable. Config files are now compiled instead of parsed. Assigned
variables are no longer extracted to PHP namespace saving extract()
calls. There is now support for applying modifiers to static values and
functions. You can now access constants with $smarty.const.VAR. If you
use the security features of Smarty be sure to upgrade, the previous
not-so-strict parser opened the possibility of executing PHP in the
templates. Other misc things are in the change log.

Have fun!
-Monte

Homepage: 
http://smarty.php.net/

Release Notes: 
http://smarty.php.net/misc/RELEASE_NOTES

ChangeLog: 
http://smarty.php.net/misc/NEWS

Download: 
http://smarty.php.net/download.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to