The Koha implementation might be useful too:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6296
The Koha implementation might be useful too:
http:// bugs.koha- community. org/bugzilla3/ show_bug. cgi?id= 6296