NAME¶
Biber::DataModel - Biber::DataModel objects
new¶
Initialize a Biber::DataModel object
is_field¶
Returns boolean to say if a field is a legal field
Allows intermediate temp custom fields which are used
when a driver source field doesn't have an obvious 1:1 mapping
to a datamodel field. Such intermediates are defined in the target
field mapping of a sourcemap.
Also allows for fields with script form and optional lang suffix
is_entrytype¶
Returns boolean to say if an entrytype is a legal entrytype
is_field_for_entrytype¶
Returns boolean to say if a field is legal for an entrytype
entrytype_is_skipout¶
Returns boolean depending on whether an entrytype is to be skipped on output
get_fields_of_fieldtype¶
Retrieve fields of a certain biblatex fieldtype from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
Retrieve fields of a certain format from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
get_fields_of_datatype¶
Retrieve fields of a certain biblatex datatype from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
get_fields_of_type¶
Retrieve fields of a certain biblatex type from data model
Return in sorted order so that bbl order doesn't change when changing
.bcf. This really messes up tests otherwise.
get_fieldtype¶
Returns the fieldtype of a field
get_datatype¶
Returns the datatype of a field
Returns the format of a field
get_dm_for_field¶
Returns the fieldtype and datatype of a field
field_is_fieldtype¶
Returns boolean depending on whether a field is a certain biblatex fieldtype
field_is_datatype¶
Returns boolean depending on whether a field is a certain biblatex datatype
field_is_nullok¶
Returns boolean depending on whether a field is ok to be null
field_is_skipout¶
Returns boolean depending on whether a field is to be skipped on output
check_mandatory_constraints¶
Checks constraints of type "mandatory" on entry and
returns an arry of warnings, if any
check_conditional_constraints¶
Checks constraints of type "conditional" on entry and
returns an arry of warnings, if any
check_data_constraints¶
Checks constraints of type "data" on entry and
returns an array of warnings, if any
dump¶
Dump Biber::DataModel object
AUTHORS¶
Francois Charette, "<firmicus at ankabut.net>" 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-2014 Francois Charette and 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.