What is the correct way to retrieve Database information using a custom cakePHP helper?
What is the correct way to retrieve Database information using a custom cakePHP helper?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
the short answer is – no. You need to pull the data from the Controller and pass it to the view from where the helper will get it.
I had the same heretic ideas in the beginning when I started with MVC pattern. 🙂