載入模型

你可以使用以下程式碼載入 Magento 模型:Mage::getModel(‘modulename / modelname’)

示例:Mage::getModel(‘catalog / product’)這將載入 Mage_Catalog_Model_product