Hi, If i use $useTable then I dont need to worry about the singular and plural again right ? the last question, what the use of $name ? Is it name of the class ?
thank you for your time adwin On Aug 27, 5:22 pm, Grant Cox <[EMAIL PROTECTED]> wrote: > var $useTable = 'your_table_name'; > > in your model. And search this list in future, or read the manual. > > On Aug 27, 7:45 pm, Adwin Wijaya <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I was asked by my boss to develop a web application so that the user > > from outside can connect to the system. Currently we use Oracle and > > VFP for desktop application. Basically I just need to develop the GUI > > for the web and use the current database, > > > I am going to use Cakephp for this project because for me it is easy. > > But the problem is, my table doesnt use Cake/Rails conventions, like > > the table name must be plural. My question is, how to "giving > > information" to cakephp's model that I am using "that" table (let > > say : dev_user, rpt_user, mtowner, etc)? > > (I dont want to modifiy the table name, because others application > > using that tables too) > > > Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
