#1105: Routing callback parameters should be set before initialize method is
called
---------------------+------------------------------------------------------
 Reporter:  david    |       Owner:  dominik
     Type:  task     |      Status:  new    
 Priority:  normal   |   Milestone:  1.0.2  
Component:  routing  |     Version:  1.0.1  
 Severity:  minor    |    Keywords:         
Has_patch:  0        |  
---------------------+------------------------------------------------------
 For BC, the signature of {{{AgaviRoutingCallback::initialize()}}} was not
 changed for 1.0 when callback parameters were introduced. Instead,
 parameters are set separately using {{{setParameters()}}}. However, this
 is done ''after'' {{{initialize()}}} is called, which means parameters are
 not accessible in there.

 Therefor, the call should be moved up one line so the parameters are set
 before {{{initialize()}}}.

-- 
Ticket URL: <http://trac.agavi.org/ticket/1105>
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