#1146: Have AgaviRequestDataHolder implement ArrayAccess
-------------------------+--------------------------------------------------
Reporter: saracen | Owner: david
Type: enhancement | Status: closed
Priority: normal | Milestone: 1.0.2
Component: request | Version: 1.0.1
Severity: normal | Resolution: wontfix
Keywords: | Has_patch: 0
-------------------------+--------------------------------------------------
Changes (by david):
* status: new => closed
* resolution: => wontfix
Comment:
Arran,
I don't think this is a good idea. Parameters are just one of the types of
request data and receive no preferential treatment whatsoever (except for
being the default source in all present implementations of course).
I recommend you use a common base view for those views that share this
functionality and perform the respective assignment in
{{{setupHtml()}}} or a similar place.
Or you wait for PHP6 which will allow dereferencing of array return values
from function calls ;)
--
Ticket URL: <http://trac.agavi.org/ticket/1146#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets