function Field::indicator in Bibliography Module 6
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Field::indicator()
- 7 modules/marcParse/php-marc.php \Field::indicator()
- 7.2 modules/marcParse/php-marc.php \Field::indicator()
* Get values of indicators * *
Parameters
string Indicator number:
File
- marcParse/
php-marc.php, line 846
Class
- Field
- Field Class Create a MARC Field object
Code
function indicator($ind) {
if ($ind == 1) {
return $this->ind1;
}
elseif ($ind == 2) {
return $this->ind2;
}
else {
$this
->_warn("Invalid indicator: {$ind}");
}
}