Ok Thank You SIr.
I more thing Can you please tell me following thing:
I have one table * messages *
I have also take one table *book_favourites*
I have also table book in which I have taken foreign Key user_id
*
*
*
*
Now in *book_favorites *table I have foreign keys *book_id and user_id *
Sam
Chalk and cheese really.
$actsAs (note the 's' after 'act' - common mistake) is a variable that defines
any behaviours the model should use (act as). One such behaviour in Containable
that allows you to define quite precisely what related models are included in
your finds from this model.
Jere
Can u please tell me what is the diff between containable and actAs
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 unsubscr
Sorry this was wrong... you would have
interface IProject {}
interface ILocalProject extends IProject {}
interface ISoftwareProject extends IProject {}
interface IIssue {}
interface IComplaint extends IIssue {}
interface IBugReport extends IIssue {}
cllass LocalModel extends AppModel implements
e missed the point.
Steve (Ratty)
On 01/06/12 20:04, elitalon wrote:
Hi,
I've been reading a couple of articles about implementing factory
patterns in CakePHP but I can't find a hint to solve my actual
problem. There is one that tries to mimic these kind of patterns using
behavio
Hi elitalon,
You got a interesting situation. Please provide any details of solving this.
Regards!
On Friday, June 1, 2012 10:04:13 PM UTC+3, elitalon wrote:
>
> Hi,
>
> I've been reading a couple of articles about implementing factory patterns
> in CakePHP but I can'
Possibly sounds like work for InheritableBehavior from
https://github.com/CakeDC/utils and combination of "Single/Class Table
Inheritance" for your models.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.c
Hi,
I've been reading a couple of articles about implementing factory patterns
in CakePHP but I can't find a hint to solve my actual problem. There is one
that tries to mimic these kind of patterns using
behaviors<http://mamchenkov.net/wordpress/2010/02/17/cakephp-building-f