* Template.php:
(BSTemplate::_parseTemplate)
- Change: Added BSPrinterAbstract::__toString() that merely calls paint()
- Change: BSTemplate is completely redone
- New: Implement Iterator in BSDBResult
+- New: In the BSTemplate::$preParseHook method, the second parameter will be the BSTemplate object itself
{
if (function_exists(self::$preParseHook))
{
- $template = call_user_func(self::$preParseHook, $template);
+ $template = call_user_func(self::$preParseHook, $template, $this);
}
$template = $this->_parseTokens($template);