⧼vector-jumptocontent⧽

Datasets.pl: Difference between revisions

From EPrints Documentation
Added actually file name in bold.
mNo edit summary
 
Line 2: Line 2:
{{cfgd}}
{{cfgd}}


''datasets.pl'' contains definition of additional datasets for data objects.  By default all this config file does is define '''<code>$c->{datasets}</code>''' as an empty hash reference.   
'''datasets.pl''' contains definition of additional datasets for data objects.  By default all this config file does is define '''<code>$c->{datasets}</code>''' as an empty hash reference.   


Beyond this the file contains comment out configuration to provide examples for defining a new dataset and then defining fields for that new dataset.  Finally defining an Perl package for the data object, so its '''get_system_field_info''' and any other bespoke versions of [[API:EPrints/DataObj|EPrints::DataObj]] functions needed by this new dataset data object.
Beyond this the file contains comment out configuration to provide examples for defining a new dataset and then defining fields for that new dataset.  Finally defining an Perl package for the data object, so its '''get_system_field_info''' and any other bespoke versions of [[API:EPrints/DataObj|EPrints::DataObj]] functions needed by this new dataset data object.

Latest revision as of 12:13, 27 January 2022


Back to cfg.d

datasets.pl contains definition of additional datasets for data objects. By default all this config file does is define $c->{datasets} as an empty hash reference.

Beyond this the file contains comment out configuration to provide examples for defining a new dataset and then defining fields for that new dataset. Finally defining an Perl package for the data object, so its get_system_field_info and any other bespoke versions of EPrints::DataObj functions needed by this new dataset data object.