public function xGetUsersAction() { $account = new Scalr_Account(); $account->loadById($this->getParam('accountId')); $this->response->data(array('users' => $account->getUsers())); }