1 | <?php namespace Scriptotek\Sru; |
||
6 | class SearchRetrieveResponse extends Response implements ResponseInterface |
||
7 | { |
||
8 | /** @var Record[] Array of records */ |
||
9 | public $records = array(); |
||
10 | |||
11 | /** @var int Total number of records in the result set */ |
||
12 | public $numberOfRecords = 0; |
||
13 | |||
14 | /** @var int Position of next record in the result set, or null if no such record exist */ |
||
15 | public $nextRecordPosition = null; |
||
16 | |||
17 | /** @var string The CQL query used to generate the response */ |
||
18 | public $query = ''; |
||
19 | |||
20 | /** |
||
21 | * Create a new searchRetrieve response |
||
22 | * |
||
23 | * @param string $text Raw XML response |
||
24 | * @param Client $client SRU client reference (optional) |
||
25 | * @param string $url Request URL |
||
26 | */ |
||
27 | public function __construct($text = null, &$client = null, $url = null) |
||
46 | |||
47 | /** |
||
48 | * Request next batch of records in the result set, or return null if we're at the end of the set |
||
49 | * |
||
50 | * @return Response |
||
51 | */ |
||
52 | public function next() |
||
65 | } |
||
66 |
This method has been deprecated.