Re: [Phplib-users] PEAR phplibtemplate vs phplib teplate.inc
Brought to you by:
nhruby,
richardarcher
From: S. <bj...@th...> - 2003-03-21 08:59:51
|
Hi, * Serghej Petrov wrote: > Does anybody know which is more updated template version - PEAR PHPLIB > template version or phplib phplib-7.4-pre1 version? > Which version is better to use? That depends on your system architecture. If you're currently using other components of PHPLIB, it might be wise to use the PHPLIB's template.inc. If you already use PEAR components (remember: PEAR is the future of PHP components) in your application, there's no need to use PHPLIB components and you could switch to PEAR::HTML_Template_PHPL= IB if you were used to PHPLIB's template engine. PEAR::HTML_Template_PHPLIB currently lacks the methods unset_var() and clear_var(). clear_var() can be currently achieved via setVar(array("varname" =3D> "")), I'm thinking about including unsetVar() into HTML_Template_PHPLIB. --=20 ThinkPHP / rent-a-phpwizard bj...@th... Sedanstra=DFe 27 Tel: 0931 / 78 43 804 97082 W=FCrzburg Fax: 0931 / 78 43 795 http://www.thinkphp.de/ http://www.rent-a-phpwizard.de/ |