protected function checkDuplicate1xx($marc)
    {
        $result = $marc->getFields('1[0-9][0-9]', true);
        $count = count($result);
        if ($count > 1) {
            $this->warn(
                "1XX: Only one 1XX tag is allowed, but I found $count of them."
            );
        }
    }
protected function checkDuplicate1xx($marc)
    {
        $result = $marc->getFields('1[0-9][0-9]', true);
        $count = count($result);
        if ($count > 1) {
            $this->warn(
                "1XX: Only one 1XX tag is allowed, but I found $count of them."
            );
        }
    }
protected function checkDuplicate1xx ( $ marc ) { $ result = $ marc -> getFields ( '1[0-9][0-9]' , true ) ; $ count = count ( $ result ) ; if ( $ count > 1 ) { $ this -> warn ( "1XX: Only one 1XX tag is allowed, but I found $count of them." ) ; } }
Check for multiple 1xx fields.

@param File_MARC_Record $marc Record to check

@return void
Check for multiple 1xx fields .