小编Abh*_*rma的帖子

什么是全页缓存

我正在研究Magento(EE)。我找到了一个术语“全页缓存”。谁能告诉我什么是“ Magento或Zend中的全页缓存?

php zend-framework magento

6
推荐指数
1
解决办法
7823
查看次数

如何在Magento集合中添加OR条件

我想通过在Collection中应用OR条件从表中获取数据

我正在使用这些代码行

$ collect =法师:: getModel('storelocater / storelocater')-> getCollection()-> addFieldToFilter(array(
                数组(
'attribute'=>'country', 'eq'=>'印度'),
数组(
'attribute'=>'state', 'eq'=>'上')
)); echo $ data = $ collect-> getSelect();

它输出输出

SELECT main_table。* FROM storelocaterAS main_tableWHERE((Array ='')或(Array =''))

我还使用了addAttributeToFilter而不是addFieldToFilter,但是它返回致命错误

magento magento-1.7

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

magento ×2

magento-1.7 ×1

php ×1

zend-framework ×1