开发者

How to Implement Cascading in CakePHP

I have a following tables in database

people{id,name,email} delegates{id,p开发者_Go百科eople_id,company} and I have two model classes Person Delegate

I want to establish relation between Person and Delegate, means how to cascade save operation when I call on delegate.

And I want to write a controller that should display a form to add a delegate. How to do that please explain me with syntax?


http://book.cakephp.org/view/1036/delete notice the second param

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜