Thursday, December 18, 2014

Re: universal searchbox and MVC

Create a search controller.  

On Thu, Dec 18, 2014 at 4:12 PM, Radharadhya Dasa <rrd@1108.cc> wrote:
Hi,

This is more likely a theoretical question.

I have let say 4 different models. On the header bar of the page I want to have an universal search box. If the user types anything in the box I start a search in all the 4 models.

Where should i put my controller function? Just pick any of the corresponding controllers and inculde the other models to it?

rrd

--
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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


--
=============================================================
Hire a CakePHP dev team : http://sanisoft.com
=============================================================

--
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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: