Sunday, November 30, 2008

Re: Using model without a database for form

On Oct 2, 10:49 am, sniper <suren...@gmail.com> wrote:
> i finally got it! i searched "cakephp _schema" and got this linkhttp://snook.ca/archives/cakephp/contact_form_cakephp/
> when i implemented it, to my surprise it worked! So i striped my cheer
> model to exactly like contact one and that too worked.
> So turns out (after little debugging) i had to call parent class
> constructor since i was doing some init in my constructor.
> i added a line parent::__construct(); this fixed the problem
>

hi sniper

i've created a tableless model and have same trouble with you,
where should i put thec parent::_construct() in my constructor?

thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: