Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function loadAccounts() {
- $startid = -1;
- $xml = '
- <queryxml>
- <entity>Account</entity>
- <query>
- <field>id<expression op="greaterthan">'. $startid .'</expression></field>
- </query>
- </queryxml>
- ';
- $query = new query ( $xml );
- $result = $this->client->query ( $query );
- $this->accounts = Array ();
- $laccounts = $result->queryResult->EntityResults->Entity;
- foreach ( $laccounts as $account ) {
- $this->accounts [$account->id] = $account;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement