Commit addd4310 authored by David Maus's avatar David Maus
Browse files

Fix wrong example in documentation

parent 353b3d8e
......@@ -26,7 +26,8 @@ either a record object created with PicaRecord's =Record::factory()= function.
#+BEGIN_SRC php
$reader = new \HAB\Pica\Reader\PicaXmlReader()
$record = $reader->read(file_get_contents('http://unapi.gbv.de?id=opac-de-23:ppn:635012286&format=picaxml'));
$reader->open(file_get_contents('http://unapi.gbv.de?id=opac-de-23:ppn:635012286&format=picaxml'));
$record = $reader->read();
$reader->close();
#+END_SRC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment