Difference between revisions of "Name field"

From EPrints Documentation
Jump to: navigation, search
(Properties)
(Properties)
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
| name || default || description  
 
| name || default || description  
 
|-
 
|-
| '''family_first''' || n/a || '''This property is taken from the repository configuration.''' Determines the input order: when 1 then the first box asks the family name, and the second the given name. The default is 0.
+
| '''family_first''' || n/a || '''This property is taken from the repository configuration.''' Determines the input order: when 1 then the first asks the family name, and then the given name. The default is set in cfg.d/field_property_defaults.pl.
 
|-
 
|-
| '''hide_honourific''' || n/a || '''This property is taken from the repository configuration.''' For input: if 1 do not ask for the title (Dr, Prof, Esq)
+
| '''hide_honourific''' || n/a || '''This property is taken from the repository configuration.''' For input: if 1 do not prompt for the title (Dr, Prof, Esq)
 
|-
 
|-
| '''hide_lineage''' || n/a || '''This property is taken from the repository configuration.''' For input: if 1 do not ask for lineage (Jr, III, IV)
+
| '''hide_lineage''' || n/a || '''This property is taken from the repository configuration.''' For input: if 1 do not prompt for lineage (Jr, Sr, III, IV)
 
|-
 
|-
| '''input_name_cols''' || n/a || '''This property is taken from the repository configuration.'''
+
| '''input_name_cols''' || n/a || '''This property is taken from the repository configuration.''' It is a hash of four fields, see the format in cfg.d/field_property_defaults.pl
 
|-
 
|-
| '''render_order''' || fg || Output: f is for ''family'', g is for ''given''. The ''fg'' format is rendered as "Davis Jr, Dr Sammy" if both lineage and honourific is present; the ''gf'' order results in "Dr Sammy Davis Jr"
+
| '''render_order''' || fg || Output: f is for ''family'', g is for ''given''. The ''fg'' format is rendered as "Davis Jr, Dr Sammy" if both lineage and honourific is present; the ''gf'' order results in "Dr Sammy Davis Jr"  
 
|}
 
|}
  
 
== Required Phrases ==
 
== Required Phrases ==

Revision as of 07:18, 27 June 2007

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Metadata Fields: Arclanguage - Base64 - Bigint - Boolean - Compound - Counter - Dataobjref - Date - Decimal - Email - Fields - Float - Id - Idci - Image - Int - Itemref - Keywords - Langid - Longtext - Longtext_counter - Multilang - Multipart - Name - Namedset - Pagerange - Recaptcha - Relation - Search - Secret - Set - Storable - Subject - Subobject - Text - Time - Timestamp - Url - Uuid

Inheritance

Description

Properties

As for text fields with the following differences...

name default description
family_first n/a This property is taken from the repository configuration. Determines the input order: when 1 then the first asks the family name, and then the given name. The default is set in cfg.d/field_property_defaults.pl.
hide_honourific n/a This property is taken from the repository configuration. For input: if 1 do not prompt for the title (Dr, Prof, Esq)
hide_lineage n/a This property is taken from the repository configuration. For input: if 1 do not prompt for lineage (Jr, Sr, III, IV)
input_name_cols n/a This property is taken from the repository configuration. It is a hash of four fields, see the format in cfg.d/field_property_defaults.pl
render_order fg Output: f is for family, g is for given. The fg format is rendered as "Davis Jr, Dr Sammy" if both lineage and honourific is present; the gf order results in "Dr Sammy Davis Jr"

Required Phrases