开发者

How to Implement Cascading in CakePHP

开发者 https://www.devze.com 2023-02-12 07:39 出处:网络
I have a following tables in database people{id,name,email} delegates{id,p开发者_Go百科eople_id,company}

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

精彩评论

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