[PHPTAL] Extending namespace
Tjerk Meesters
tjerk.meesters at gmail.com
Fri Jun 10 08:38:44 CEST 2011
Why not just have tal:content="nl2br: var"
Just define phptal_tales_nl2br() and voila :)
On Jun 10, 2011 12:03 PM, "Hisateru Tanaka" <tanakahisateru at gmail.com>
wrote:
> Hi,
>
> I'm trying to extend namespace of PHPTAL to use in my framework.
> 3 new attributes would introduced.
>
> pal:content-nl2br
> pal:replace-nl2br
> pal:attr
>
> They might be things which some users wanted...
>
> Test code is here:
> https://gist.github.com/1016531
> Someone tell me which this implementation is even good or not.
>
> If developer team is planning to change class tree or public/protected
> method, how can I keep compatibility safer?
>
> --
> Hisateru Tanaka
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20110610/342de6e4/attachment.htm
More information about the PHPTAL
mailing list