开发者

Cakephp Search Plugin from CakeDC

开发者 https://www.devze.com 2023-01-23 05:30 出处:网络
Has anyone incorporated the Seach plugin from CakeDC? I am a confused as in how it has to be used. I am creating a Seach Controller and trying to search all models from there.

Has anyone incorporated the Seach plugin from CakeDC?

I am a confused as in how it has to be used. I am creating a Seach Controller and trying to search all models from there.

In the Wiki, it states that I should create a $filterArgs variable on my models. Should I have 开发者_如何转开发public $filterArgs in every model or should only at one place?

If there is a tutorial can someone point me to it?


Should be in each model. The controller, which generally uses only one model, then uses it. I've had nothing but trouble trying to make one controller handle multiple models, apart from using one model and related data.

0

精彩评论

暂无评论...
验证码 换一张
取 消