public function setPPN ($ppn)
    {
        $ppnField = $this->getFirstMatchingField('003@/00');
        if ($ppnField) {
            $ppnSubfield = $ppnField->getNthSubfield('0', 0);
            if ($ppnSubfield) {
                $ppnSubfield->setValue($ppn);
            } else {
                $ppnField->append(new Subfield('0', $ppn));
            }
        } else {
            $this->append(new Field('003@', 0, array(new Subfield('0', $ppn))));
        }
    }
public function setPPN ($ppn)
    {
        $ppnField = $this->getFirstMatchingField('003@/00');
        if ($ppnField) {
            $ppnSubfield = $ppnField->getNthSubfield('0', 0);
            if ($ppnSubfield) {
                $ppnSubfield->setValue($ppn);
            } else {
                $ppnField->append(new Subfield('0', $ppn));
            }
        } else {
            $this->append(new Field('003@', 0, array(new Subfield('0', $ppn))));
        }
    }
public function setPPN ( $ ppn ) { $ ppnField = $ this -> getFirstMatchingField ( '003@/00' ) ; if ( $ ppnField ) { $ ppnSubfield = $ ppnField -> getNthSubfield ( '0' , 0 ) ; if ( $ ppnSubfield ) { $ ppnSubfield -> setValue ( $ ppn ) ; } else { $ ppnField -> append ( new Subfield ( '0' , $ ppn ) ) ; } } else { $ this -> append ( new Field ( '003@' , 0 , array ( new Subfield ( '0' , $ ppn ) ) ) ) ; } }
Set the Pica production number.

Create a field 003@/00 if necessary.

@param  string $ppn Pica production number
@return void
Set the Pica production number .