|
Grima 2018-08
Whispering into Alma's ear
|
Public Member Functions | |
| __construct () | |
| isTagValid ( $tag) | |
| assertTagValid ( $tag) | |
| isTagRepeatable ( $tag) | |
| assertTagRepeatable ( $tag) | |
| tagOrder ( $a, $b) | |
| assertTagOrder ( $a, $b) | |
| exception ( $string) | |
| loadFromBinaryStream ( $filehandle) | |
| setLeader ( $string) | |
| loadFromBinaryString ( $string, $fuzzy=true) | |
| DataNotInDirectory () | |
| loadFromString ( $string) | |
| ParseBinaryField ( $tag, $data, $directoryEntry) | |
| AppendFieldBinary ( $tag, $data, $directoryEntry=array(), $reorder=false) | |
| CheckField ( $field) | |
| AppendField ( $field, $reorder=false) | |
| removeField ( $field) | |
| delFields ( $tag) | |
| getFields ( $tag) | |
| getTagPattern ( $patt) | |
| AsBinaryString () | |
| AsMnemonicString ( $leader_tag="LDR", $field_initiator="=", $tag_terminator=" ", $identifier_initiator="\$", $field_terminator="\r\n", $record_terminator="\r\n", $space_replacer=" ") | |
Public Attributes | |
| $leader | |
| $fields | |
| $exceptions | |
| $raw | |
Protected Member Functions | |
| set_default ( $name, $value) | |
Protected Attributes | |
| $identifierLength | |
| $indicatorLength | |
| $defaults | |
Private Member Functions | |
| checkString ( $name, $trueValue, $string, $start=0, $length=false, $default=false) | |
Definition at line 129 of file ISO2709.php.
| ISO2709Record::__construct | ( | ) |
Reimplemented in MARC21Record.
Definition at line 143 of file ISO2709.php.
References set_default().
| ISO2709Record::AppendField | ( | $field, | |
$reorder = false |
|||
| ) |
Reimplemented in MARC21Record.
Definition at line 435 of file ISO2709.php.
References tagOrder().
Referenced by AppendFieldBinary().
| ISO2709Record::AppendFieldBinary | ( | $tag, | |
| $data, | |||
$directoryEntry = array(), |
|||
$reorder = false |
|||
| ) |
Definition at line 412 of file ISO2709.php.
References AppendField(), and ParseBinaryField().
Referenced by loadFromBinaryString().
| ISO2709Record::AsBinaryString | ( | ) |
Definition at line 497 of file ISO2709.php.
References $identifierLength, $indicatorLength, $leader, checkString(), ISO2709\FieldTerminator, ISO2709\RecordTerminator, and ISO2709\SubfieldInitiator.
| ISO2709Record::AsMnemonicString | ( |
$leader_tag = "LDR", |
|
$field_initiator = "=", |
|||
$tag_terminator = " ", |
|||
$identifier_initiator = "\$", |
|||
$field_terminator = "\r\n", |
|||
$record_terminator = "\r\n", |
|||
$space_replacer = " " |
|||
| ) |
Reimplemented in MARC21Record.
Definition at line 550 of file ISO2709.php.
| ISO2709Record::assertTagOrder | ( | $a, | |
| $b | |||
| ) |
Reimplemented in MARC21Record.
Definition at line 209 of file ISO2709.php.
References exception(), and tagOrder().
| ISO2709Record::assertTagRepeatable | ( | $tag | ) |
Definition at line 181 of file ISO2709.php.
References exception(), and isTagRepeatable().
| ISO2709Record::assertTagValid | ( | $tag | ) |
Reimplemented in MARC21Record.
Definition at line 164 of file ISO2709.php.
References exception(), and isTagValid().
Referenced by ParseBinaryField().
| ISO2709Record::CheckField | ( | $field | ) |
Reimplemented in MARC21Record.
Definition at line 417 of file ISO2709.php.
References exception().
|
private |
Definition at line 238 of file ISO2709.php.
References exception().
Referenced by AsBinaryString(), DataNotInDirectory(), loadFromBinaryString(), and setLeader().
| ISO2709Record::DataNotInDirectory | ( | ) |
Definition at line 334 of file ISO2709.php.
References $raw, checkString(), ISO2709\FieldTerminator, and ISO2709\RecordTerminator.
| ISO2709Record::delFields | ( | $tag | ) |
Reimplemented in MARC21Record.
Definition at line 469 of file ISO2709.php.
| ISO2709Record::exception | ( | $string | ) |
Definition at line 216 of file ISO2709.php.
Referenced by assertTagOrder(), MARC21Record\assertTagOrder(), assertTagRepeatable(), assertTagValid(), MARC21Record\assertTagValid(), CheckField(), MARC21Record\CheckField(), checkString(), loadFromBinaryString(), MARC21Record\loadFromBinaryString(), and MARC21Record\ParseMnemonicLine().
| ISO2709Record::getFields | ( | $tag | ) |
Definition at line 476 of file ISO2709.php.
| ISO2709Record::getTagPattern | ( | $patt | ) |
Definition at line 484 of file ISO2709.php.
| ISO2709Record::isTagRepeatable | ( | $tag | ) |
Reimplemented in MARC21Record.
Definition at line 177 of file ISO2709.php.
Referenced by assertTagRepeatable().
| ISO2709Record::isTagValid | ( | $tag | ) |
Reimplemented in MARC21Record.
Definition at line 160 of file ISO2709.php.
Referenced by assertTagValid(), and tagOrder().
| ISO2709Record::loadFromBinaryStream | ( | $filehandle | ) |
Definition at line 225 of file ISO2709.php.
References loadFromBinaryString(), and ISO2709\RecordTerminator.
| ISO2709Record::loadFromBinaryString | ( | $string, | |
$fuzzy = true |
|||
| ) |
Reimplemented in MARC21Record.
Definition at line 258 of file ISO2709.php.
References $identifierLength, $indicatorLength, AppendFieldBinary(), checkString(), exception(), ISO2709\FieldTerminator, and ISO2709\RecordTerminator.
Referenced by loadFromBinaryStream(), and loadFromString().
| ISO2709Record::loadFromString | ( | $string | ) |
Reimplemented in MARC21Record.
Definition at line 374 of file ISO2709.php.
References loadFromBinaryString().
| ISO2709Record::ParseBinaryField | ( | $tag, | |
| $data, | |||
| $directoryEntry | |||
| ) |
Definition at line 384 of file ISO2709.php.
References assertTagValid(), and ISO2709\SubfieldInitiator.
Referenced by AppendFieldBinary(), and MARC21Record\ParseMnemonicLine().
| ISO2709Record::removeField | ( | $field | ) |
Definition at line 462 of file ISO2709.php.
|
protected |
Definition at line 138 of file ISO2709.php.
Referenced by __construct(), and MARC21Record\__construct().
| ISO2709Record::setLeader | ( | $string | ) |
Definition at line 252 of file ISO2709.php.
References checkString().
| ISO2709Record::tagOrder | ( | $a, | |
| $b | |||
| ) |
Reimplemented in MARC21Record.
Definition at line 196 of file ISO2709.php.
References isTagValid().
Referenced by AppendField(), and assertTagOrder().
|
protected |
Definition at line 136 of file ISO2709.php.
| ISO2709Record::$exceptions |
Definition at line 132 of file ISO2709.php.
| ISO2709Record::$fields |
Definition at line 131 of file ISO2709.php.
|
protected |
Definition at line 134 of file ISO2709.php.
Referenced by AsBinaryString(), and loadFromBinaryString().
|
protected |
Definition at line 134 of file ISO2709.php.
Referenced by AsBinaryString(), and loadFromBinaryString().
| ISO2709Record::$leader |
Definition at line 130 of file ISO2709.php.
Referenced by AsBinaryString(), and MARC21Record\loadFromXMLString().
| ISO2709Record::$raw |
Definition at line 133 of file ISO2709.php.
Referenced by DataNotInDirectory().