如何列出所有用户
作为练习的一部分,我试图在一页上列出我数据库中所有用户的电子邮件。到目前为止,我最接近的是 $user = mage::getModel('customer/customer')->getCollection()->getData(); 退货 array 0 => array 'entity_id' => string '1' (length=1) 'entity_type_id' => string '1' (length=1) 'attribute_set_id' => string '0' (length=1) 'website_id' => string '1' (length=1) 'email' => string 'john.doe@example.com' (length=20) 'group_id' => string '1' (length=1) 'increment_id' => string '000000001' (length=9) 'store_id' => string '1' (length=1) 'created_at' …