@@ 53-58 (lines=6) @@ | ||
50 | $alma->nz->setKey($app['config']->get('alma.nz.key')); |
|
51 | ||
52 | // Optionally, attach SRU client for institution zone |
|
53 | if ($app['config']->get('alma.iz.sru')) { |
|
54 | $alma->setSruClient(new SruClient( |
|
55 | $app['config']->get('alma.iz.sru'), |
|
56 | ['version' => '1.2', 'schema' => 'marcxml'] |
|
57 | )); |
|
58 | } |
|
59 | ||
60 | // Optionally, attach SRU client for network zone |
|
61 | if ($app['config']->get('alma.nz.sru')) { |
|
@@ 61-66 (lines=6) @@ | ||
58 | } |
|
59 | ||
60 | // Optionally, attach SRU client for network zone |
|
61 | if ($app['config']->get('alma.nz.sru')) { |
|
62 | $alma->nz->setSruClient(new SruClient( |
|
63 | $app['config']->get('alma.nz.sru'), |
|
64 | ['version' => '1.2', 'schema' => 'marcxml'] |
|
65 | )); |
|
66 | } |
|
67 | ||
68 | return $alma; |
|
69 | }); |