1 | <?php |
||
5 | class XisbnResponse |
||
6 | { |
||
7 | protected $data; |
||
8 | |||
9 | public $formats = [ |
||
10 | 'AA' => 'audio', |
||
11 | 'AA BA' => 'audio book', |
||
12 | 'BA' => 'book', |
||
13 | 'BA DA' => 'ebook', // Yes, we DO actually get these |
||
14 | 'BB' => 'hardcover', |
||
15 | 'BB BC' => 'book', // ... and these |
||
16 | 'BB DA' => 'ebook', // ... and these |
||
17 | 'BC' => 'paperback', |
||
18 | 'BC DA' => 'ebook', // ... and these |
||
19 | 'DA' => 'digital', |
||
20 | 'FA' => 'film/transp.', |
||
21 | 'MA' => 'microform', |
||
22 | 'VA' => 'video', |
||
23 | ]; |
||
24 | |||
25 | public function __construct(array $data = null) |
||
29 | |||
30 | public function overLimit() |
||
40 | |||
41 | protected function getForm($item) |
||
59 | |||
60 | public function toArray() |
||
64 | |||
65 | public function getSimpleRepr() |
||
88 | } |
||
89 |