On 19.07.2009, at 17:33, Michal Charemza wrote:


On 19 Jul 2009, at 16:17, David Zülke wrote:
I'm thinking about using routing callbacks on an upcoming projects,
together with caching. I see at 
http://www.agavi.org/documentation/tutorial/step4/routing-callbacks.html
that onMatched can modify parameters extract to the route. So I have
a good understanding of this and caching...

- If using such a parameter in the source for a caching group, is the
source taken to be the parameter before or after the modification by
the callback?

After.

Thanks!

Although what happens if the parameter is modified to be no longer a
string, but an object? Is there some sort of "deep" usage of the
object as the caching source?

No. Agavi will call a __toString() on the object, if present, and otherwise fall back to spl_object_hash().

- David


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to