|
NAMEBiber::DataList - Biber::DataList objects newInitialize a Biber::DataList object set_sectionSets the section of a data list get_sectionGets the section of a data list reset_state Resets all state data. Used mainly in tests which call Biber::prepare()
multiple times without re-creating datalists
incr_seenpa Increment the count of occurrences of a primary author base name
if it has a different non-base part. How many variants of the basename
are there in the dlist?
get_seenpa Get the count of unique (i.e. with different hash) occurrences of a primary
author base name
reset_entryfieldsResets all entryfield data in a list get_entryfieldRetrieves per-list datafield information for an entry set_entryfieldRecords per-list datafield information for an entry add_uniquenamecount Add a name to the list of name contexts which have the name in it
(only called for visible names)
add_uniquenamecount_all Add a name to the list of name contexts which have the name in it
(called for all names)
get_uniquelistcountGet the number of uniquelist entries for a (possibly partial) list add_uniquelistcountIncrement the count for a list part to the data for a name add_uniquelistcount_finalIncrement the count for a complete list to the data for a name add_uniquelistcount_minyear Increment the count for a list and year for a name
Used to track uniquelist = minyear
get_uniquelistcount_minyear Get the count for a list and year for a name
Used to track uniquelist = minyear
get_uniquelistcount_finalGet the number of uniquelist entries for a full list reset_uniquelistcountReset the count for list parts and complete lists reset_uniquenamecountReset the list of names which have the name part in it get_basenamestringGet a basenamestring for a particular name get_namestringGet a namestring for a particular name get_namestringsGet namestrings for a particular name set_namedisSet name disambiguation metadata is_unbasepartReturn boolean to say if a namepart is a base part according to template which created the information get_namehashGet hash for a name set_namehashSet hash for a name get_unmininfoGet uniquename minimalness info for a name set_unmininfoSet uniquename minimalness info for a name get_namedisschemaGet a name disambiguation schema for a name get_unsummaryGet legacy uniquename summary for a name get_unpartGet uniquename summary part for a name get_unpartsGet uniquename parts for a name set_unpartsSet uniquename parts for a name _get_uniquename Get the list of name contexts which contain a name
Mainly for use in tests
get_uniquenameGet uniquename for a name set_uniquenameSet uniquename for a name reset_uniquenameReset uniquename for a name get_uniquename_allGet uniquename for a name, regardless of visibility set_uniquename_allSet uniquename for a name, regardless of visibility count_uniquelistCount the names in a string used to determine uniquelist. get_uniquelistGets a uniquelist setting for a namelist set_uniquelistSets a uniquelist setting for a namelist get_visible_citeGets citation name list visibility set_visible_citeGets citation name list visibility get_visible_bibGets bib name list visibility set_visible_bibGets bib name list visibility get_visible_sortGets sort name list visibility set_visible_sortGets sort name list visibility get_visible_alphaGets alpha name list visibility set_visible_alphaGets alpha name list visibility get_numofuniquenamesGet the number of uniquenames entries for a visible name get_numofuniquenames_allGet the number of uniquenames entries for a name get_unul_doneReturn a boolean saying whether uniquenename+uniquelist processing is finished set_unul_changedSet a boolean saying whether uniquename+uniquelist has changed reset_seen_extraReset the counters for extra* incr_seen_extradateIncrement and return the counter for extradate incr_seen_extranameIncrement and return the counter for extraname incr_seen_labelnameIncrement and return a counter used to track extraname incr_seen_extratitleIncrement and return the counter for extratitle incr_seen_extratitleyearIncrement and return the counter for extratitleyear incr_seen_extraalphaIncrement and return the counter for extraalpha get_seen_nametitledateparts Get the count of an labelname/dateparts combination for tracking
extradate. It uses labelyear plus name as we need to disambiguate
entries with different labelyear (like differentiating 1984--1986 from
just 1984)
incr_seen_nametitledateparts Increment the count of an labelname/labeltitle+dateparts combination for extradate
We pass in the name/title and date strings separately as we have to
be careful and only increment this counter beyond 1 if there is
a name/title component. Otherwise, extradate gets defined for all
entries with no name/title but the same year etc.
get_seen_labelnameGet the count of a labelname hash for tracking extraname get_seen_nametitle Get the count of an labelname/labeltitle combination for tracking
extratitle.
incr_seen_nametitle Increment the count of an labelname/labeltitle combination for extratitle
We pass in the name and year strings separately as we have to
be careful and only increment this counter beyond 1 if there is
a title component. Otherwise, extratitle gets defined for all
entries with no title.
get_seen_titleyear Get the count of an labeltitle/labelyear combination for tracking
extratitleyear
incr_seen_titleyear Increment the count of an labeltitle/labelyear combination for extratitleyear
We pass in the title and year strings separately as we have to
be careful and only increment this counter beyond 1 if there is
a title component. Otherwise, extratitleyear gets defined for all
entries with no title.
reset_workuniquenessReset various work uniqueness counters get_seennameGet the count of occurrences of a labelname or labeltitle incr_seennameIncrement the count of occurrences of a labelname or labeltitle get_seentitleGet the count of occurrences of a labeltitle incr_seentitleIncrement the count of occurrences of a labeltitle get_seenbaretitle Get the count of occurrences of a labeltitle when there is
no labelname
incr_seenbaretitle Increment the count of occurrences of a labeltitle
when there is no labelname
get_seenworkGet the count of occurrences of a labelname and labeltitle incr_seenworkIncrement the count of occurrences of a labelname and labeltitle incr_la_disambiguationIncrement a counter to say we have seen this labelalpha get_la_disambiguation Get the disambiguation counter for this labelalpha.
Return a 0 for undefs to avoid spurious errors.
set_sortingtemplatenameSets the sortingtemplate name of a data list get_attrsGets the attributes of a data list get_sortingtemplatenameGets the sortingtemplatename of a data list set_sortingnamekeytemplatenameSets the sortingnamekeytemplate name of a data list get_sortingnamekeytemplatenameGets the sortingnamekeytemplatename of a data list set_uniquenametemplatenameSets the uniquenametemplate name of a data list get_uniquenametemplatenameGets the uniquenametemplate name of a data list set_labelalphanametemplatenameSets the labelalphanametemplate name of a data list get_labelalphanametemplatenameGets the labelalphanametemplate name of a data list set_namehashtemplatenameSets the namehashtemplate name of a data list get_namehashtemplatenameGets the namehashtemplate name of a data list set_sortinit_collatorSets the sortinit collator for this list get_sortinit_collatorGets the sortinit collator for this list get_labelprefixGets the labelprefix setting of a data list set_labelprefixSets the labelprefix setting of a data list set_nameSets the name of a data list get_nameGets the name of a data list set_typeSets the type of a data list get_typeGets the type of a section list set_keysSets the keys for the list get_keysGets the keys for the list count_keysCount the keys for the list get_namelistdataGets name list data set_namelistdataSaves name list data get_labelalphadataGets labelalpha field data set_labelalphadataSaves labelalpha data get_labelalphadata_for_keyGets labelalpha field data for a key set_labelalphadata_for_keySaves labelalpha field data for a key set_extradatedata_for_keySaves extradate field data for a key set_extranamedata_for_keySaves extraname field data for a key get_extranamedata_for_keyGets the extraname field data for a key set_extradatedataSaves extradate field data for all keys get_extradatedata_for_keyGets the extradate field data for a key set_extratitledata_for_keySaves extratitle field data for a key set_extratitledataSaves extratitle field data for all keys get_extratitledataGets the extratitle field data for a key set_extratitleyeardata_for_keySaves extratitleyear field data for a key set_extratitleyeardataSaves extratitleyear field data for all keys get_extratitleyeardataGets the extratitleyear field data for a key set_extraalphadata_for_keySaves extraalpha field data for a key set_extraalphadataSaves extraalpha field data for all keys get_extraalphadataGets the extraalpha field data for a key get_sortdataschemaGets the sortdata schema for a sortlist set_sortdataschemaSaves the sortdata schema for a sortlist set_sortdataSaves sorting data in a list for a key get_sortdata_for_keyGets the sorting data in a list for a key set_sortinitdata_for_keySaves sortinit data for a specific key set_sortinitdataSaves sortinit data for all keys get_sortinit_for_keyGets the sortinit in a list for a key set_sortingtemplateSets the sortingtemplate of a list get_sortingtemplateGets the sortingtemplate of a list add_filterAdds a filter to a list object get_filtersGets all filters for a list object instantiate_entryDo any dynamic information replacement for information which varies in an entry between lists. This is information which needs to be output to the .bbl for an entry but which is a property of the reference context and not the entry per se so it cannot be stored statically in the entry and must be retrieved from the specific datalist when outputting the entry. namelist_differs_index Returns the index where the name list begins to differ from any other list
Assuming these lists
[a, b]
[a, b, d, e, f, g, h, i, j]
[a, b, d, e, f]
[a, b, e, z, z, y]
namelist_differs_index([a, b, c, d, e]) -> 2
namelist_differs_index([a]) -> 1
namelist_differs_nth Returns true if some other name list differs at passed nth place
and is at least as long
namelist_differs_nth([a, b, c, d, e], 3) = 1
if there is another name list like any of these:
[a, b, d, e, f]
[a, b, e, z, z, y]
AUTHORSPhilip Kime "<philip at kime.org.uk>" BUGSPlease report any bugs or feature requests on our Github tracker at <https://github.com/plk/biber/issues>. COPYRIGHT & LICENSECopyright 2012-2024 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.
|