That your table need be in the cakephp convetion, so the name of table in
plural and model on singular

2011/4/20 cricket <[email protected]>

> On Wed, Apr 20, 2011 at 11:33 AM, gannher <[email protected]> wrote:
> > Hello
> >
> > My application must create table. It will be done with procedure/
> > function in mysql. So cakephp doesn't need to send query "create
> > table...".
> >
> > How can I use this table with cakephp ? Must I create file model and
> > how ? I would like use function find, paginate, etc with this table.
>
> $this->YourModelName->setSource('your_table_name');
>
> --
> 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
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to