public function setSubfields (array $subfields) 
    {
        $this->_subfields = array();
        foreach ($subfields as $subfield) {
            $this->addSubfield($subfield);
        }
    }
public function setSubfields (array $subfields) 
    {
        $this->_subfields = array();
        foreach ($subfields as $subfield) {
            $this->addSubfield($subfield);
        }
    }
public function setSubfields ( array $ subfields ) { $ this -> _subfields = array ( ) ; foreach ( $ subfields as $ subfield ) { $ this -> addSubfield ( $ subfield ) ; } }
Set the field subfields.

Replaces the subfield list with subfields in argument.

@param  array $subfields Subfields
@return void
Set the field subfields .