开发者

Pass array to setFilter() in Symfony

开发者 https://www.devze.com 2023-02-07 04:03 出处:网络
I\'m using symfon开发者_开发技巧y 1.4 with Doctrine ORM and was wondering whether it\'spossible to pass an array when using setFilter() as in below?

I'm using symfon开发者_开发技巧y 1.4 with Doctrine ORM and was wondering whether it's possible to pass an array when using setFilter() as in below?

$this->setFilters(array('subcounty_id'=>$array));


Yes. It is possible for widgets like Select box

0

精彩评论

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