Which methods are used to create and destroy model associations on the fly?
Answer / Shivendra Kishore
To create model associations dynamically, you can use the saveAssociated() method for creating associations, while deleteAssociated() is used for destroying them.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to convert html to pdf in cakephp?
When cakephp was developed?
How we can call a model from view in cakephp?
What are sessions in php.
What is habtm?
What are component, helper and why are they used?
How to create a cakephp project using composer?
What is the current stable version of cakephp?
What is the use of security.salt and security.cipherseed in cakephp? How to change its default value?
What are components in cakephp.
What is mvc in cakephp?
Please provide controllers naming convention in cakephp?