» Version | » Information |
---|---|
2014-01-13 stable |
|
2008-07-22 stable |
|
2007-05-19 stable |
|
2006-05-31 stable |
|
2005-11-05 stable |
|
2005-08-09 stable |
|
2004-10-20 stable |
|
2004-05-31 stable |
|
2004-04-14 stable |
|
2003-10-02 stable |
|
2003-05-20 stable |
|
1.0 |
Easy InstallNot sure? Get more info. pear install HTML_Template_Sigma-1.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/HTML_Template_Sigma-1.0 Release date: 2003-04-28 09:06 UTC Release state: stable Release uploaded by: avb Changelog: This release has Sigma's template functions/callbacks infrastructure significantly enhanced. This unfortunately means some backwards compatibility breaks. If you were using callbacks before, please carefully examine the release notes and test you scripts before upgrading to 1.0. If you weren't using callbacks due to their shortcomings it is a good time to give them a try, consult docs/example_4.php for some of their possible applications. Template functions/callbacks changes and incompatibilities: * Templates are parsed for function calls not only on setTemplate()/loadTemplatefile(), but on addBlock()/addBlockfile() and replaceBlock()/replaceBlockfile() as well. * The arguments to template functions can now contain variable placeholders: func_uppercase('Hello, {username}!). * Template functions are now compatible with template caching. * Method setCallbackFunction() now accepts a callback that is compatible with call_user_func() as its second argument. Its third argument is used to control variable substitution in function arguments. * Method performCallback() was removed. Callbacks are now called automatically when the block containing them is parse()'d. * Callbacks are now called via call_user_func_array() instead of call_user_func(). This makes it possible to use built-in functions as callbacks, but also means that you have to rewrite your old functions! * Usage example is available in docs/example_4.php Other changes: * Option 'use_preg' was removed. * Stricter error checking when doing addBlockfile() with a prepared template. |
2003-04-21 stable |
|
2003-04-18 stable |
|
2003-04-04 stable |