Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Smarty3: missing doCompile() in compiler base class

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
Lillilotte
Smarty Rookie


Joined: 09 Jan 2013
Posts: 8

PostPosted: Wed Jan 09, 2013 10:28 pm    Post subject: Smarty3: missing doCompile() in compiler base class Reply with quote

I use Smarty 3.1.12. I would extend the Smarty Compiler (Smarty_Internal_TemplateCompilerBase) so i have a look at the code. I saw it extends from Smarty_Internal_TemplateCompilerBase and i ask myself why these abstract class has no abstract method doCompile() which is called in method compileTemplate()? Wouldn’t it be better if there where such an abstract method?
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4703
Location: Hamburg / Germany

PostPosted: Wed Jan 09, 2013 11:55 pm    Post subject: Reply with quote

This did not create a problem but is better programming practis.

It' now in the SVN
Back to top
View user's profile Send private message
Lillilotte
Smarty Rookie


Joined: 09 Jan 2013
Posts: 8

PostPosted: Thu Jan 10, 2013 7:52 pm    Post subject: Reply with quote

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development 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