getRequest()->getParam('rid', false); $users = Mage::getModel("admin/user")->getCollection()->load(); $this->setTemplate('permissions/rolesusers.phtml') ->assign('users', $users->getItems()) ->assign('roleId', $roleId); } protected function _prepareLayout() { $this->setChild('userGrid', $this->getLayout()->createBlock('adminhtml/permissions_role_grid_user', 'roleUsersGrid')); return parent::_prepareLayout(); } protected function _getGridHtml() { return $this->getChildHtml('userGrid'); } protected function _getJsObjectName() { return $this->getChild('userGrid')->getJsObjectName(); } }