function Record::leader in Bibliography Module 6
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Record::leader()
- 7 modules/marcParse/php-marc.php \Record::leader()
- 7.2 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 string|null Return leader in case requested.
File
- 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;
}
}