CIA.vc
PHP XTemplate
Real-time open source activity stats
Stats » Projects » PHP XTemplate
informationsyndicateUTC clock
05:33 on May 27, 2012
event counters
The last message was received 3.69 years ago at 20:40 on Sep 17, 2008
0 messages so far today, 0 messages yesterday
0 messages so far this week, 0 messages last week
0 messages so far this month, 0 messages last month
16 messages since the first one, 5.4 years ago, for an average of 4.11 months between messages
recent messages
dateReversed sort columnprojectcontentlink
20:35 on Sep 17, 2008PHP XTemplate
Commit by cocomp :: r28 /branches/php4/ (4 files): (link)
Backport from PHP 5 version changes, Big changes to tag callback regex - much improved, change in constructor - now pass in an array of options, assign objects as well as arrays, _pre_var_dump made protected instead of private, new protected method _ob_var_dump
#
20:35 on Sep 17, 2008PHP XTemplate
Commit by cocomp :: r27 /trunk/ (3 files): (link)
Big changes to tag callback regex - much improved, change in constructor - now pass in an array of options, assign objects as well as arrays, _pre_var_dump made protected instead of private, new protected method _ob_var_dump
#
22:31 on Aug 16, 2007PHP XTemplate
Commit by cocomp :: r26 / (5 files in 2 dirs): (link)

  • r26 | cocomp | 2007-08-16 23:30:00 +0100 (Thu, 16 Aug 2007) | 4 lines * Added XTemplate::force_globals parameter to force existance of $_SERVER, * $_ENV and $_REQUEST if PHP 5 auto_globals_jit directive is in effect * Stopped recursion of $GLOBALS in scan_globals method
#
20:09 on Aug 16, 2007PHP XTemplate
Commit by cocomp :: r25 /branches/php4/ (4 files): (link)

  • r25 | cocomp | 2007-08-16 21:09:00 +0100 (Thu, 16 Aug 2007) | 29 lines * Backport from PHP 5 version changes - untested, need feedback in the forums * http://forum.phpxtemplate.org/ * * Re-factored tag callback code - improve functionality: * Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a * comment} to get different output for each (thanks again for the * feedback Oliver) * * Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & feedback if you experience side-effects * Added XTemplate::comment_delim defaults to '#' * Added XTemplate::callback_delim defaults to '|' * Tag callback functions - improve security (thanks Oliver): * Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off * Added XTemplate::allowed_callbacks (array) to limit functions available from templates * Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array * * Fix for $_SESSION being empty when using scan_globals method in certain situations * Changes to regular expressions: Now use definable delimiter throughout code $preg_delimiter, defaults to ` (backtick) * Support top bit set characters x7f-xff in file, block and tags * Major new feature: tag callback functions - allow calling of (mutiple) PHP methods (in XTemplate or it's subclasses) or * functions from within a tag prior to output using | (pipe) as delimiter. See ex9.php * contents of tag are sent as a parameter to the callback function or method. NB. Methods take priority over same named function * e.g. {tagname|callback_function} for simple single parameter callback, tag contents passed as only parameter to callback. * e.g. {tagname|callback_function('param1', 'param2', %s)} to allow mutiple parameters to be specified, %s replaced by tag contents. * Real world chaining callbacks together: * e.g. {tagname|str_replace('Hello World', 'Welcome to the Jungle', %s)|strtolower|ucwords|my_user_callback_func} * (Inspired by sf feature request #1756946 christophe_lu) * Altered debug code in text method to cater for situations when $tpldir may be an array
#
20:00 on Aug 16, 2007PHP XTemplate
Commit by cocomp :: r24 /trunk/ (3 files): (link)

  • r24 | cocomp | 2007-08-16 21:00:00 +0100 (Thu, 16 Aug 2007) | 6 lines * Removed PHP4 style constructor only call parent::__construct from now on * Re-factored tag callback code - improve functionality: * Now can call {tag|callback1} {tag|callback2} {tag|callback1#With a * comment} to get different output for each (thanks again for the * feedback Oliver)
#
05:04 on Aug 09, 2007PHP XTemplate
Commit by cocomp :: r23 /trunk/ (5 files): (link)

  • Further fix for $_SESSION being empty when used with XTemplate::scan_globals() - monitor & feedback if you experience side-effects * Added XTemplate::comment_delim defaults to '#' * Added XTemplate::callback_delim defaults to '|' * Tag callback functions - improve security (thanks Oliver): * Added XTemplate::allow_callbacks property (boolean) to allow switching functionality off * Added XTemplate::allowed_callbacks (array) to limit functions available from templates * Callbacks now only available for methods of subclasses of XTemplate or as functions in XTemplate::allowed_callbacks array
#
23:29 on Aug 03, 2007PHP XTemplate
Commit by cocomp :: r22 /trunk/ (6 files): (link)

  • Fix for $_SESSION being empty when using scan_globals method in certain situations * Changes to regular expressions: Now use definable delimiter throughout code $preg_delimiter, defaults to ` (backtick) * Support top bit set characters x7f-xff in file, block and tags * Major new feature: tag callback functions - allow calling of (mutiple) PHP methods (in XTemplate or it's subclasses) or * functions from within a tag prior to output using | (pipe) as delimiter. See ex9.php * contents of tag are sent as a parameter to the callback function or method. NB. Methods take priority over same named function * e.g. {tagname|callback_function} for simple single parameter callback, tag contents passed as only parameter to callback. * e.g. {tagname|callback_function('param1', 'param2', %s)} to allow mutiple parameters to be specified, %s replaced by tag contents. * Real world chaining callbacks together: * e.g. {tagname|str_replace('Hello World', 'Welcome to the Jungle', %s)|strtolower|ucwords|my_user_callback_func} * (Inspired by sf feature request #1756946 christophe_lu) * Altered debug code in text method to cater for situations when $tpldir may be an array
#
18:01 on May 29, 2007PHP XTemplate
Commit by cocomp :: r21 / (9 files in 2 dirs): (link)
Added facility for constructor to be an array of file paths, the first path supplied that has the file is matched
#
03:39 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r20 / (4 files in 3 dirs): (link)
Initial commit CachingXTemplate subclass
#
03:30 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r19 /branches/php4/ (changelog.txt xtemplate.class.php): (link)
Major update backport from PHP 5 version changes. Deprecated: SetNullString (use set_null_string) and SetNullBlock (use set_null_block). Added sf Feature request #1529478. Fixed SF Bug #1261828. Introduced comment_preg property. Refactored assign method - may break some old functionality! Constructor now only calls restart method
#
03:29 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r18 /trunk/xtemplate.class.php: (link)
Major update for initial PHP 5 version
Deprecated: PHP 4 constructor, SetNullString (use set_null_string) and SetNullBlock (use set_null_block). Added sf Feature request #1529478. Fixed SF Bug #1261828. Introduced comment_preg property. Refactored assign method - may break some old functionality! Constructor now only calls restart method
#
03:09 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r17 /branches/php4/: (link)
PHP 4 branch
#
03:02 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r16 / (25 files in 3 dirs): (link)
svn tweaks: folders, keywords and properties
#
01:41 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r15 /trunk/ (9 files): (link)
ex8 code refactoring & tidy up
#
00:22 on Jan 11, 2007PHP XTemplate
Commit by cocomp :: r14 /trunk/ (10 files): (link)
General tidy up and add new table rows example
#
11:29 on Jan 02, 2007PHP XTemplate
Commit by cocomp :: r13 /trunk/ (9 files): (link)
Clean up white space, update dates, add changelog.txt
#