#1095: Add response to default template assigns
---------------------+------------------------------------------------------
 Reporter:  david    |        Owner:  david 
     Type:  task     |       Status:  closed
 Priority:  low      |    Milestone:  1.1   
Component:  filter   |      Version:        
 Severity:  trivial  |   Resolution:  fixed 
 Keywords:           |    Has_patch:  0     
---------------------+------------------------------------------------------
Description changed by david:

Old description:

> Currently, context factories (request, user etc) and certain additional
> assigns (container, {{{$inner}}}, validation manager etc) are assigned to
> the template prior to rendering.
>
> We should also assign the container's response object (simply for
> convenience, so a {{{$container->getResponse() isn't necessary in the
> template to access it), for instance to allow accessing response
> attributes (see #1062)

New description:

 Currently, context factories (request, user etc) and certain additional
 assigns (container, {{{$inner}}}, validation manager etc) are assigned to
 the template prior to rendering.

 We should also assign the container's response object (simply for
 convenience, so a {{{$container->getResponse()}}} isn't necessary in the
 template to access it), for instance to allow accessing response
 attributes (see #1062)

--

-- 
Ticket URL: <http://trac.agavi.org/ticket/1095#comment:3>
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