Why we used $this->set() in cakephp?
Answer / Vikas Narayan Jha
In CakePHP, $this->set() is used to pass data from the controller to the view. It allows you to set variables that can be accessed within the view file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why cakephp have two vendor folder?what is the difference between two vendors folder available in cakephp?
Which function is executed before every action in the controller?
What is the name of cakephp database configuration file?
What are the server requirements for installing cakephp?
What is a behavior?
What is a element?
Why cakaphp is used?
How to run cakephp project in xampp?
What is cakephp tutorial?
How to install cakephp with composer?
List different type of cache cakephp supports?
What is a helper?