src/Net/Mail/Header/Section.php
public function getField( $name )
	{
		if( !$this->hasField( $name ) )
			return NULL;
		$values	= $this->getFieldsByName( $name );
		return array_shift( $values );
	}
public function getField( $name )
	{
		if( !$this->hasField( $name ) )
			return NULL;
		$values	= $this->getFieldsByName( $name );
		return array_shift( $values );
	}
public function getField ( $ name ) { if ( ! $ this -> hasField ( $ name ) ) return NULL ; $ values = $ this -> getFieldsByName ( $ name ) ; return array_shift ( $ values ) ; }
Returns a Header Field Object by its Name if set.
@access		public
@param		string		$name		Header Field Name
@return		Net_Mail_Header_Field
Returns a Header Field Object by its Name if set .