On Wed, Aug 27, 2008 at 12:53 PM, BiraRai <[EMAIL PROTECTED]> wrote: > > How to does one tell cakephp controller not to use a database table?
Controllers don't use database tables Models do. See http://book.cakephp.org/view/10/understanding-model-view-contr but you might want a controller that doesn't use a Model (and hence a db table) so see the section on Controller attributes. http://book.cakephp.org/view/51/controller-attributes#components-helpers-and-uses-53 but essentially you will want to not $uses anything ;) See the book in section on models http://book.cakephp.org/view/66/models#usetable-436 section on useTable covers how to have a model that is not DB backed --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
