function Record::leader in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Record::leader()
- 6 marcParse/php-marc.php \Record::leader()
- 7 modules/marcParse/php-marc.php \Record::leader()
Get/Set Leader
If argument specified, sets leader, otherwise gets leader. No validation on the specified leader is performed
Parameters
string Leader:
Return value
string|null Return leader in case requested.
File
- modules/
marcParse/ php-marc.php, line 444
Class
- Record
- Record Class Create a MARC Record class
Code
function leader($ldr = "") {
if ($ldr) {
$this->ldr = $ldr;
}
else {
return $this->ldr;
}
}