For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > March 2006 > Re: [SMARTY] Template last modification date









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] Template last modification date
messju mohr

2006-03-17, 6:59 pm

On Fri, Mar 17, 2006 at 10:01:01AM -0500, Robert Hicks wrote:
> I thought I had seen this somewhere on the site but I have been looking
> all morning.
>
> Is there a simple way to display the last mod date of a template?


No, AFAIK there is not *simple* way. A not so simple way would be
using smarty's internal Smarty::_fetch_resource_info() function. But
this one is internal and not dokumented. You may have to figure it out
yourself and there is no warrenty that it's API may not change some
day (though it is very unlikely that it may change in Smarty-2.x)

> Robert
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


Sponsored Links







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

Copyright 2008 codecomments.com