Magento 管理员用户集合的问题

Magento 管理员用户集合的问题,magento,Magento,我对Magento有基本的了解。我正在自定义“创建新订单”管理模块。我想显示管理员生成新订单时预期客户的管理员用户列表。我正在自定义文件- app/code/local/Mage/Adminhtml/Block/Sales/Order/Create/Customer/Grid.php 在\u prepareCollection()函数中- “$collection=Mage::getModel(“权限/用户”)->getCollection();” 但是当我打印$collection对象时,不

我对Magento有基本的了解。我正在自定义“创建新订单”管理模块。我想显示管理员生成新订单时预期客户的管理员用户列表。我正在自定义文件-

app/code/local/Mage/Adminhtml/Block/Sales/Order/Create/Customer/Grid.php
\u prepareCollection()
函数中-

“$collection=Mage::getModel(“权限/用户”)->getCollection();”

但是当我打印
$collection
对象时,不返回任何内容。我还尝试使用自定义查询-

$resource = Mage::getSingleton('core/resource');
$readConnection = $resource->getConnection('core_read');
$query = 'SELECT * FROM admin_user';            
$collection = $readConnection->fetchAll($query);
但它无法创建集合对象。
感谢您的帮助

$collection=Mage::getResourceModel(“管理员/角色\u用户\u集合”)
返回预期的集合对象。

如果上述答案正确,请单击下面的勾号以接受答案,这将对其他人有用。发布答案并接受它需要20小时。