加载模型

你可以使用以下代码加载 Magento 模型:Mage::getModel(‘modulename / modelname’)

示例:Mage::getModel(‘catalog / product’)这将加载 Mage_Catalog_Model_product