On Mar 16, 8:12 pm, yaman666 <[email protected]> wrote:
> Well, that's exactly what I have. However, how to populate that
> property from database automatically during model creation without
> overloading __construct() is what the question is.

Show what you've got and why, and someone will probably point you in
the right direction. probably: do it with a behavior and var $actsAs =
array('Foo'); in your app model.
>
> P.S. I actually figured out that the reason for exceptions was missing
> parameters in constructor, so now it works, but still interested to
> see if there's an alternative solution.

Quite a big oversight ;)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to