You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[QuiteSimpleXMLElement](//github.com/danmichaelo/quitesimplexmlelement) instances. Includes an iterator to easily iterate over search results, abstracting away the process of making multiple requests.
10
10
11
11
If you prefer a simple text response, you might have a look at
12
12
the [php-sru-search](https://github.com/Zeitschriftendatenbank/php-sru-search) package.
To iterate over all the results from a `searchRetrieve` query, use the [Records](//scriptotek.github.io/php-sru-client/api_docs/Scriptotek/Sru/Records.html) class returned from `Client::records()`. It abstracts away the process of actually making the requests. The first argument is
43
+
To iterate over all the results from a `searchRetrieve` query, use the [Records](//scriptotek.github.io/php-sru-client/api_docs/Scriptotek/Sru/Records.html) class returned from `Client::records()`. The first argument is
44
44
the CQL query, and the second optional argument is the number of records to fetch for each request (defaults to 10).
45
45
46
46
```php
@@ -54,6 +54,42 @@ foreach ($records as $record) {
0 commit comments