Making phptal_tales() a static methods could be a good idea, but static
methods are a bit slower :\
To avoid namespace pollution it could be better if you use
PHPTAL\phptal_tales() or better PHPTAL\tales()
A simple find/replace should be able to fix that problem with code
compatibility... or am I w
Little background story:
PHPTAL has been accepted as PEAR package, but PEAR requires change of
class names from PHPTAL_* to HTML_Template_PHPTAL_*, which would break all
existing code for IMHO not a good enough reason.
Therefore I've decided that if I'm having to break existing code, at lea
On 27-01-2010 at 08:39:36 Murat Çorlu wrote:
Is there a simple way to define a custom namespace globally for all of
our templates like tal and metal namespaces?
No, and I'm not planning to add it. TAL namespaces are already in
violation of the XML spec.
--
regards, Kornel
__
Is there a simple way to define a custom namespace globally for all of our
templates like tal and metal namespaces?
romtek wrote:
2009/11/12 Kornel Lesiński
> xmlns stops working when you close element.
>
>
>
>
> does nothing.
>
>
>
>
>
>
>
>
> should work.
It worked. Thank you.
-