You are here

function _biblio_data_bibliographic_types in Bibliography Module 6.2

Defines data for initial collection of biblio publication types.

Return value

array An array of publication types where each publication type is an array that includes (in order) data about:

  • tid: The ID of the publication type.
  • name: The name of the publication type.
  • description: Controls the order the types are listed in.
  • weight: Controls the order the types are listed in.
2 calls to _biblio_data_bibliographic_types()
_biblio_add_bibliographic_types in ./biblio.install
Populates {biblio_types} table with initial bibliographvic type data.
_biblio_add_field_definitions in ./biblio.install
Adds biblio field definitions to fields tables based upon data in a CSV file.

File

./biblio.install, line 1393
Install, update, and uninstall functions for the biblio module.

Code

function _biblio_data_bibliographic_types() {
  $types = array();

  // Definitions about types of bibliographic material.
  $types[] = array(
    100,
    'Book',
    NULL,
    1,
  );
  $types[] = array(
    101,
    'Book Chapter',
    NULL,
    2,
  );
  $types[] = array(
    102,
    'Journal Article',
    NULL,
    3,
  );
  $types[] = array(
    131,
    'Journal',
    NULL,
    3,
  );
  $types[] = array(
    103,
    'Conference Paper',
    NULL,
    4,
  );
  $types[] = array(
    104,
    'Conference Proceedings',
    NULL,
    5,
  );
  $types[] = array(
    105,
    'Newspaper Article',
    NULL,
    6,
  );
  $types[] = array(
    106,
    'Magazine Article',
    NULL,
    7,
  );
  $types[] = array(
    107,
    'Web Article',
    NULL,
    8,
  );
  $types[] = array(
    132,
    'Website',
    NULL,
    8,
  );
  $types[] = array(
    133,
    'Web service',
    NULL,
    8,
  );
  $types[] = array(
    134,
    'Web project page',
    NULL,
    8,
  );
  $types[] = array(
    108,
    'Thesis',
    NULL,
    9,
  );
  $types[] = array(
    109,
    'Report',
    NULL,
    10,
  );
  $types[] = array(
    110,
    'Film',
    NULL,
    11,
  );
  $types[] = array(
    111,
    'Broadcast',
    NULL,
    12,
  );
  $types[] = array(
    112,
    'Artwork',
    NULL,
    13,
  );
  $types[] = array(
    113,
    'Software',
    NULL,
    14,
  );
  $types[] = array(
    114,
    'Audiovisual',
    NULL,
    15,
  );
  $types[] = array(
    115,
    'Hearing',
    NULL,
    16,
  );
  $types[] = array(
    116,
    'Case',
    NULL,
    17,
  );
  $types[] = array(
    117,
    'Bill',
    NULL,
    18,
  );
  $types[] = array(
    118,
    'Statute',
    NULL,
    19,
  );
  $types[] = array(
    119,
    'Patent',
    NULL,
    20,
  );
  $types[] = array(
    120,
    'Personal',
    NULL,
    21,
  );
  $types[] = array(
    121,
    'Manuscript',
    NULL,
    22,
  );
  $types[] = array(
    122,
    'Map',
    NULL,
    23,
  );
  $types[] = array(
    123,
    'Chart',
    NULL,
    24,
  );
  $types[] = array(
    124,
    'Unpublished',
    NULL,
    25,
  );
  $types[] = array(
    125,
    'Database',
    NULL,
    26,
  );
  $types[] = array(
    126,
    'Government Report',
    NULL,
    27,
  );
  $types[] = array(
    127,
    'Classical',
    NULL,
    28,
  );
  $types[] = array(
    128,
    'Legal Ruling',
    NULL,
    29,
  );
  $types[] = array(
    129,
    'Miscellaneous',
    NULL,
    30,
  );
  $types[] = array(
    130,
    'Miscellaneous Section',
    NULL,
    31,
  );
  $types[] = array(
    135,
    'Presentation',
    NULL,
    8,
  );
  return $types;
}