public function File::_warn in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/marcParse/php-marc.php \File::_warn()
- 6 marcParse/php-marc.php \File::_warn()
- 7.2 modules/marcParse/php-marc.php \File::_warn()
Fuction to issue warnings.
Warnings will not be displayed unless explicitly accessed, but all warnings issued during parse will be stored.
Parameters
string Warning:
Return value
string Last added warning
3 calls to File::_warn()
- File::decode in modules/
marcParse/ php-marc.php - Decode a given raw MARC record.
- File::_next in modules/
marcParse/ php-marc.php - Return the next raw MARC record.
- File::__construct in modules/
marcParse/ php-marc.php - Read in MARC record file.
File
- modules/
marcParse/ php-marc.php, line 132 - @package PHP-MARC
Class
Code
public function _warn($msg) {
$this->warn[] = $msg;
return $msg;
}