magento getCollection() can we put where condition?

Posted by jarus on Stack Overflow See other posts from Stack Overflow or by jarus
Published on 2010-03-10T08:10:12Z Indexed on 2010/03/12 4:37 UTC
Read the original article Hit count: 498

Filed under:
|

hello , i am working on a magento project and i need to get the value according to country wise like select address where country ="Nepal"

can we send the where condition in getCollection() function

$collection = Mage::getModel('relocator/location')->getCollection();

any help will be appreciated

© Stack Overflow or respective owner

Related posts about magento

Related posts about beginner