VuFind-Marc API Documentation

CodeData
in package

Contains codes from the MARC code lists for Geographic Areas, Languages, and Countries.

Code data is used for validating fields 008, 040, 041, and 043.

Also, sources for subfield 2 in 600-651 and 655.

Note: According to the official MARC documentation, Sears is not a valid 655 term. The code data below treats it as valid, in anticipation of a change in the official documentation.

Tags
category

File_Formats

author

Demian Katz demian.katz@villanova.edu

author

Dan Scott dscott@laurentian.ca

author

Ere Maijala ere.maijala@helsinki.fi

license

http://www.gnu.org/copyleft/lesser.html LGPL License 2.1

link

Wiki

Table of Contents

$countryCodes  : array<string|int, mixed>
Valid Country Codes
$geogAreaCodes  : array<string|int, mixed>
Valid Geographic Area Codes
$languageCodes  : array<string|int, mixed>
Valid Language Codes
$obsoleteCountryCodes  : array<string|int, mixed>
Obsolete Country Codes
$obsoleteGeogAreaCodes  : array<string|int, mixed>
Obsolete Geographic Area Codes
$obsoleteLanguageCodes  : array<string|int, mixed>
Obsolete Language Codes
$obsoleteSources600_651  : array<string|int, mixed>
Obsolete sources for fields 600-651
$obsoleteSources655  : array<string|int, mixed>
Obsolete sources for field 655
$sources600_651  : array<string|int, mixed>
Valid sources for fields 600-651
$sources655  : array<string|int, mixed>
Valid sources for field 655
__construct()  : true
Start function

Properties

$countryCodes

Valid Country Codes

public array<string|int, mixed> $countryCodes

$geogAreaCodes

Valid Geographic Area Codes

public array<string|int, mixed> $geogAreaCodes

$languageCodes

Valid Language Codes

public array<string|int, mixed> $languageCodes

$obsoleteCountryCodes

Obsolete Country Codes

public array<string|int, mixed> $obsoleteCountryCodes

$obsoleteGeogAreaCodes

Obsolete Geographic Area Codes

public array<string|int, mixed> $obsoleteGeogAreaCodes

$obsoleteLanguageCodes

Obsolete Language Codes

public array<string|int, mixed> $obsoleteLanguageCodes

$obsoleteSources600_651

Obsolete sources for fields 600-651

public array<string|int, mixed> $obsoleteSources600_651

$obsoleteSources655

Obsolete sources for field 655

public array<string|int, mixed> $obsoleteSources655

$sources600_651

Valid sources for fields 600-651

public array<string|int, mixed> $sources600_651

$sources655

Valid sources for field 655

public array<string|int, mixed> $sources655

Methods

__construct()

Start function

public __construct() : true

Initialize code arrays.

Return values
true

Search results