Archive for August 2006

HTML_Template_IT 1.2.1 stable released

Well, no bugs were submitted and real application tests (thanks to thorsten) as well as unit tests were passed so we released [b]HTML_Template_IT 1.2.1 stable[/b] today. [b]1.2.1 stable[/b] is exactly the same as [b]1.2.0 beta[/b], but marked as stable.
You can install HTML_Template_IT by using the following command:

# pear install HTML_Template_IT

or upgrade it using

# pear upgrade [...]

HTML_Template_IT 1.2.0 beta released

Today we released the 1.2.0 beta of [b]HTML_Template_IT[/b].
As I mentioned, an option was added to HTML_Template_ITX::setCallbackFunction() to determine if call_user_func or call_user_func_array is used to call the callback function.
Example:[php]
function _numberFormatCallback($float, $decimals) {
return number_format($float, $decimals);
}
$tpl = new HTML_Template_ITX();
$tpl->setTemplate(‘callback:func_numberFormat(1.5, 2)’);
$tpl->setCallbackFunction(‘numberFormat’, ‘_numberFormatCallback’, ”, true);
$tpl->performCallback();
$tpl->show();
// prints “callback:1.50″
[/php]
Look a the line:
[php]
$tpl->setCallbackFunction(‘numberFormat’, ‘_numberFormatCallback’, ”, true);
[/php]
If last parameter ist [...]

A few words about charsets, font, collation.

Just as a bookmark:Kristian Köhntopp has written a informative blog entry about the MySQL 4.1 collation support showing how to handle different encodings of characters (german language).

increment

inc %age