protected function getPartHeaderFromText(&$part)
    {
        $start = $part['starting-pos'];
        $end = $part['starting-pos-body'];
        $header = substr($this->data, $start, $end - $start);
        return $header;
    }
protected function getPartHeaderFromText(&$part)
    {
        $start = $part['starting-pos'];
        $end = $part['starting-pos-body'];
        $header = substr($this->data, $start, $end - $start);
        return $header;
    }
protected function getPartHeaderFromText ( & $ part ) { $ start = $ part [ 'starting-pos' ] ; $ end = $ part [ 'starting-pos-body' ] ; $ header = substr ( $ this -> data , $ start , $ end - $ start ) ; return $ header ; }
Retrieve the Header from a MIME part from text

@return String Mime Header Part
@param $part Array
Retrieve the Header from a MIME part from text