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