Lines 159-165
Biblio.pm contains functions for managing storage and editing of bibliographic d
Link Here
|
159 |
|
159 |
|
160 |
=item 2. as raw MARC in the Zebra index and storage engine |
160 |
=item 2. as raw MARC in the Zebra index and storage engine |
161 |
|
161 |
|
162 |
=item 3. as raw MARC the biblioitems.marc and biblioitems.marcxml |
162 |
=item 3. as MARC XML in biblioitems.marcxml |
163 |
|
163 |
|
164 |
=back |
164 |
=back |
165 |
|
165 |
|
Lines 183-189
Because of this design choice, the process of managing storage and editing is a
Link Here
|
183 |
|
183 |
|
184 |
=item 2. _koha_* - low-level internal functions for managing the koha tables |
184 |
=item 2. _koha_* - low-level internal functions for managing the koha tables |
185 |
|
185 |
|
186 |
=item 3. Marc management function : as the MARC record is stored in biblioitems.marc(xml), some subs dedicated to it's management are in this package. They should be used only internally by Biblio.pm, the only official entry points being AddBiblio, AddItem, ModBiblio, ModItem. |
186 |
=item 3. Marc management function : as the MARC record is stored in biblioitems.marcxml, some subs dedicated to it's management are in this package. They should be used only internally by Biblio.pm, the only official entry points being AddBiblio, AddItem, ModBiblio, ModItem. |
187 |
|
187 |
|
188 |
=item 4. Zebra functions used to update the Zebra index |
188 |
=item 4. Zebra functions used to update the Zebra index |
189 |
|
189 |
|
Lines 211-217
When dealing with items, we must :
Link Here
|
211 |
|
211 |
|
212 |
=item 2. add the itemnumber to the item MARC field |
212 |
=item 2. add the itemnumber to the item MARC field |
213 |
|
213 |
|
214 |
=item 3. overwrite the MARC record (with the added item) into biblioitems.marc(xml) |
214 |
=item 3. overwrite the MARC record (with the added item) into biblioitems.marcxml |
215 |
|
215 |
|
216 |
When modifying a biblio or an item, the behaviour is quite similar. |
216 |
When modifying a biblio or an item, the behaviour is quite similar. |
217 |
|
217 |
|
Lines 232-239
framework code.
Link Here
|
232 |
This function also accepts a third, optional argument: a hashref |
232 |
This function also accepts a third, optional argument: a hashref |
233 |
to additional options. The only defined option is C<defer_marc_save>, |
233 |
to additional options. The only defined option is C<defer_marc_save>, |
234 |
which if present and mapped to a true value, causes C<AddBiblio> |
234 |
which if present and mapped to a true value, causes C<AddBiblio> |
235 |
to omit the call to save the MARC in C<bibilioitems.marc> |
235 |
to omit the call to save the MARC in C<bibilioitems.marcxml> |
236 |
and C<biblioitems.marcxml> This option is provided B<only> |
236 |
This option is provided B<only> |
237 |
for the use of scripts such as C<bulkmarcimport.pl> that may need |
237 |
for the use of scripts such as C<bulkmarcimport.pl> that may need |
238 |
to do some manipulation of the MARC record for item parsing before |
238 |
to do some manipulation of the MARC record for item parsing before |
239 |
saving it and which cannot afford the performance hit of saving |
239 |
saving it and which cannot afford the performance hit of saving |