Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Need compile filename method

 
Post new topic   Reply to topic    Smarty Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
luizkim
Smarty n00b


Joined: 03 May 2014
Posts: 3

PostPosted: Tue May 20, 2014 3:06 pm    Post subject: Need compile filename method Reply with quote

I need the filename to smarty compile file.

For exemple:


Code:

$smarty = new Smarty();
$content = $smarty->fetch('final.tpl');
echo $smarty->getCompileFilename();


this code prints this:
d946d44ce19b107d73921025210b1fe9c6cbc8b9.file.final.tpl.php

I need the filename for send headers cache.

Tks...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP