Re: Dynamic table with cakephp

2011-04-21 Thread gannher
On 20 avr, 18:30, cricket zijn.digi...@gmail.com wrote: On Wed, Apr 20, 2011 at 11:33 AM, gannher g.lebo...@gmail.com 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

Re: Dynamic table with cakephp

2011-04-21 Thread gannher
On 21 avr, 10:21, gannher g.lebo...@gmail.com wrote: On 20 avr, 18:30, cricket zijn.digi...@gmail.com wrote: On Wed, Apr 20, 2011 at 11:33 AM, gannher g.lebo...@gmail.com wrote: Hello My application must create table. It will be done with procedure/ function in mysql. So cakephp

Re: Dynamic table with cakephp

2011-04-21 Thread Jeremy Burns | Class Outfit
Please show some more of your code - we're in the dark a bit about what you are trying to do. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 21 Apr 2011, at 09:21, gannher wrote: On 20 avr, 18:30, cricket zijn.digi...@gmail.com wrote: On Wed, Apr 20,

Re: Dynamic table with cakephp

2011-04-21 Thread hunny
Create a model file (lets call it Dynamic) ?php class Dynamic extens AppModel $useTable = false; ? In your Controller, you can use $this-Dynamic-useTable = 'YOUR_TABLE_NAME'; Thanks. On Apr 21, 1:23 pm, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Please show some

Re: Dynamic table with cakephp

2011-04-21 Thread gannher
On 21 avr, 10:23, Jeremy Burns | Class Outfit jeremybu...@classoutfit.com wrote: Please show some more of your code - we're in the dark a bit about what you are trying to do. Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 21 Apr 2011, at 09:21,

Re: Dynamic table with cakephp

2011-04-21 Thread Otavio Martins Salomao
That your table need be in the cakephp convetion, so the name of table in plural and model on singular 2011/4/20 cricket zijn.digi...@gmail.com On Wed, Apr 20, 2011 at 11:33 AM, gannher g.lebo...@gmail.com wrote: Hello My application must create table. It will be done with procedure/

Dynamic table with cakephp

2011-04-20 Thread gannher
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. Thanks

Re: Dynamic table with cakephp

2011-04-20 Thread cricket
On Wed, Apr 20, 2011 at 11:33 AM, gannher g.lebo...@gmail.com 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 ?