Make stub model with $useTable = false, load it, then call $this- >setSource('table_name') on it.
Or list all "static" models in AppModel, overwrite __construct() there and set $useTable to false there for any not listed name. On 16 июн, 02:49, "qua...@gmail.com" <qua...@gmail.com> wrote: > Hi, > > I have tables that are created on the fly and I'd like to access it > thru Model. Since those tables are dynamically created, I don't have > the model .php files for them. The tables are created conforming to > Cake's naming convention. I tried to use loadModel() to load them but > Cake still complains that the tables are missing. > > Is there a solution for it? > > Thank you. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php