logo
  • 教程列表
  • SO官方文档
  • 集合
    • 产品系列
    • 获取模型集合
    • 类别特定商店和特定级别的集合
    • 获取其他对象属性
    • 过滤
    • 排序
    • 访问
    • 获取集合对象
  1. StackOverflow 文档
  2. magento 教程
  3. 集合
  4. 获取模型集合

获取模型集合

Created: November-22, 2018

// get existing collections
$orders = Mage::getModel('sales/order')->getCollection();
$products = Mage::getModel('catalog/product')->getCollection();
$customers = Mage::getModel('customer/customer')->getCollection();
  • 类别特定商店和特定级别的集合
  • 产品系列

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明