Php 我想在Magento的Config.xml文件中添加多个表
我在Magento Config.xml文件中添加了两个表。请告诉我在magento中添加多个表是否正确Php 我想在Magento的Config.xml文件中添加多个表,php,magento-1.4,magento-1.6,magento,Php,Magento 1.4,Magento 1.6,Magento,我在Magento Config.xml文件中添加了两个表。请告诉我在magento中添加多个表是否正确 <tiger_mysql4> <class>Scott_Tiger_Model_Mysql4</class> <entities> <tiger> <table>shop_data</table
<tiger_mysql4>
<class>Scott_Tiger_Model_Mysql4</class>
<entities>
<tiger>
<table>shop_data</table>
</tiger>
<tiger>
<table>Cust_college</table>
</tiger>
</entities>
</tiger_mysql4>
斯科特·老虎·模型·Mysql4
车间数据
卡斯特尤学院
斯科特·老虎·模型·Mysql4
车间数据
卡斯特尤学院
模型名称应该是唯一的。在你的情况下,它是老虎两次
<tiger_mysql4>
<class>Scott_Tiger_Model_Mysql4</class>
<entities>
<tiger_shop>
<table>shop_data</table>
</tiger_shop>
<tiger_cust>
<table>Cust_college</table>
</tiger_cust>
</entities>
</tiger_mysql4>