1 | <?php namespace Scriptotek\OaiPmh; |
||
6 | class ListRecordsResponse extends Response |
||
7 | { |
||
8 | |||
9 | /** @var Record[] Array of records */ |
||
10 | public $records; |
||
11 | |||
12 | /** @var int Total number of records in the result set */ |
||
13 | public $numberOfRecords = null; |
||
14 | |||
15 | /** @var int Position of the first record in the response relative to the result set (starts at 0) */ |
||
16 | public $cursor = null; |
||
17 | |||
18 | /** @var int Token for retrieving more records */ |
||
19 | public $resumptionToken = null; |
||
20 | |||
21 | /** |
||
22 | * Create a new ListRecords response |
||
23 | * |
||
24 | * @param string $text Raw XML response |
||
25 | * @param Client $client OAI-PMH client reference (optional) |
||
26 | */ |
||
27 | public function __construct($text, &$client = null) |
||
57 | } |
||
58 |