For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > November 2004 > Re: [SMARTY] How to get the name of a compiled template?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] How to get the name of a compiled template?
Jordi Canals

2004-11-18, 8:58 am

On Wed, 17 Nov 2004 21:05:20 -0800 (PST), boots <jayboots@yahoo.com> wrote:
> --- Jordi Canals <jcanals@gmail.com> wrote:
[color=darkred]
>
> I don't know of another way, so if it works for you then you might want
> to wrap the _get_auto_filename() method with a method in an extended
> Smarty class and then call your custom method where you need that
> functionality. That way if the private function changes you only have
> to alter your application in one place.
>


Boots,

Many thanks. That's what I'm doing now as the best solution found.

Regards,
Jordi.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com