Monday, December 10, 2012

Re: Un-related models / functions

read about Controller::requestAction(string $urlarray $optionshttp://book.cakephp.org/2.0/en/controllers.html

W dniu poniedziałek, 10 grudnia 2012 03:35:05 UTC+1 użytkownik advantage+ napisał:

I have a footer which has a featured product and recent news.

What is the best way to call these actions getFeatured(), and getNews() when there is no related model to use as they are permanent "blocks" in the footer in default.ctp layout?

 

Thanks,

Dave

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: