is there and working but still not producing data and I still can't
figure out what the proper syntax is.
I can understand that the router code is saying that the display
function in restaurants_controller.php should be used to fetch the
data, but I'm still at a loss to how to actually get the data. I want
to call the query method of the model, does that make it
Restaurants.query('select * from table') ?
.. and by using the Router style of coding, I've lost the table format
that I'm after - should that be in the controller as well ?
--~--~---------~--~----~------------~-------~--~----~
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:
Post a Comment