public function Record::leader in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \Record::leader()
- 6 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 value
string|null Return leader in case requested.
File
- modules/
marcParse/ php-marc.php, line 485 - @package PHP-MARC
Class
- Record
- Record Class Create a MARC Record class.
Code
public function leader($ldr = "") {
if ($ldr) {
$this->ldr = $ldr;
}
else {
return $this->ldr;
}
}