/** * @param int $domainId * @param int $page * @param int $pageCnt * @param string $orderBy[optional] = null * @param bool $asc[optional] = null * @param string $condition[optional] = null * @return array|false */ function AccountList($domainId, $page, $pageCnt, $orderBy = null, $asc = null, $condition = null) { $array = array(); if (!$this->_connector->Execute($this->_commandCreator->GetAccountList($domainId, $page, $pageCnt, $orderBy, $asc, $condition))) { return false; } while (($row = $this->_connector->GetNextRecord()) != false) { $array[$row->id_acct] = array($row->id_user, $row->email, $row->nlast_login, $row->logins_count, $row->mailbox_size, $row->mailbox_limit, (bool) $row->mailing_list, $row->mail_protocol, $row->deleted); } return $array; }