Sunday, March 1, 2009

Model Cache and Dynamic Prefix

Hi...

I see that CakePHP caches a table schema and saves it under /app/tmp/
cache/models directory.

Is there any way to {pre/ap}pend database name to a cached model?

If posts model is requested,
- instead of saving temporary file cake_model_default_posts
- it would save it as cake_model_default_posts_mydbname ?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: