1
Magento註冊表數據存儲在哪裏?在哪個數據庫表中?Magento註冊表數據存儲在哪裏?
Magento註冊表數據存儲在哪裏?在哪個數據庫表中?Magento註冊表數據存儲在哪裏?
找出用於獲取客戶數據做查詢,這可能是EAV結構,其中所有數據保存:
<?php echo Mage::getModel('customer/customer')->getCollection()->getSelect();?>
或本
<?php echo Mage::getModel('customer/customer')->load('customerid')->getSelect();?>
,並找出哪些字段可用於默認收集或加載:
<?php print_r(Mage::getModel('customer/customer')->getCollection()->getFirstItem()->getData());?>
或此
<?php print_r(Mage::getModel('customer/customer')->load('customerid')->getData());?>
Anton的答案對於通過Magento框架訪問數據是正確的。爲了從字面上回答您的問題,下列表格存儲了基本客戶數據:
+----------------------------------+
| Tables_in_entp (customer%) |
+----------------------------------+
| customer_address_entity |
| customer_address_entity_datetime |
| customer_address_entity_decimal |
| customer_address_entity_int |
| customer_address_entity_text |
| customer_address_entity_varchar |
| customer_entity |
| customer_entity_datetime |
| customer_entity_decimal |
| customer_entity_int |
| customer_entity_text |
| customer_entity_varchar |
+----------------------------------+