Biber::Entry::Names

NAME

Biber::Entry::Names

new
Initialize a Biber::Entry::Names object

TO_JSON
Serialiser for JSON::XS::encode

notnull
Test for an empty object

names
Return ref to array of all Biber::Entry::Name objects
in object

add_name
Add a Biber::Entry::Name object to the Biber::Entry::Names
object

replace_name
Replace a Biber::Entry::Name at a position (1−based)
with a provided one

set_morenames
Sets a flag to say that we had a "and others" in the data

get_morenames
Gets the morenames flag

count_names
Returns the number of Biber::Entry::Name objects in the object

is_nth_name
Returns boolean to say of there is an nth name

nth_name
Returns the nth Biber::Entry::Name object in the object or the last one
if n > total names

first_n_names
Returns an array ref of Biber::Entry::Name objects containing only
the first n Biber::Entry::Name objects or all names if n > total names

del_last_name
Deletes the last Biber::Entry::Name object in the object

last_name
Returns the last Biber::Entry::Name object in the object

get_xdata
Get any xdata reference information for a namelist

dump
Dump a Biber::Entry::Names object for debugging purposes

AUTHORS

Philip Kime "<philip at kime.org.uk>"

BUGS

Please report any bugs or feature requests on our Github tracker at <https://github.com/plk/biber/issues>.

COPYRIGHT & LICENSE

Copyright 2009−2012 Francois Charette and Philip Kime, all rights reserved. Copyright 2012−2019 Philip Kime, all rights reserved.

This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.