#1139: AgaviSmartyRenderer: refactor creating smarty instance out of getEngine()
-------------------------------------------+--------------------------------
 Reporter:  Uwe Mesecke <u...@…>            |       Owner:  david          
     Type:  enhancement                    |      Status:  new            
 Priority:  low                            |   Milestone:  1.0.2          
Component:  renderer                       |     Version:  1.0.1          
 Severity:  normal                         |    Keywords:  smarty renderer
Has_patch:  1                              |  
-------------------------------------------+--------------------------------
 We want to use our own Smarty class and therefore have to subclass
 AgaviSmartyRenderer. But instead of just override the creation of the
 smarty instance we have to copy&paste most of getEngine() to preserve all
 the initialisation work that is done with the fresh instance.

 The attached patch puts the lines that actually create the smarty instance
 out of getEngine() into createEngine(). Now there is no need to override
 getEngine().

-- 
Ticket URL: <http://trac.agavi.org/ticket/1139>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to