original_string: public static function splitMessageStruct($message, $boundary, $EOL = Zend_Mime::LINEEND)
      {
          $parts = self::splitMime($message, $boundary);
          if (count($parts) <= 0) {
              return null;
          }
          $result = array();
          foreach ($parts as $part) {
              self::splitMessage($part, $headers, $body, $EOL);
              $result[] = array('header' => $headers,
                                'body'   => $body    );
          }
          return $result;
      }
code: public static function splitMessageStruct($message, $boundary, $EOL = Zend_Mime::LINEEND)
      {
          $parts = self::splitMime($message, $boundary);
          if (count($parts) <= 0) {
              return null;
          }
          $result = array();
          foreach ($parts as $part) {
              self::splitMessage($part, $headers, $body, $EOL);
              $result[] = array('header' => $headers,
                                'body'   => $body    );
          }
          return $result;
      }
code_tokens: public static function splitMessageStruct ( $ message , $ boundary , $ EOL = Zend_Mime :: LINEEND ) { $ parts = self :: splitMime ( $ message , $ boundary ) ; if ( count ( $ parts ) <= 0 ) { return null ; } $ result = array ( ) ; foreach ( $ parts as $ part ) { self :: splitMessage ( $ part , $ headers , $ body , $ EOL ) ; $ result [ ] = array ( 'header' => $ headers , 'body' => $ body ) ; } return $ result ; }
docstring: decodes a mime encoded String and returns a
  struct of parts with header and body
  
  @param  string $message  raw message content
  @param  string $boundary boundary as found in content-type
  @param  string $EOL EOL string; defaults to {@link Zend_Mime::LINEEND}
  @return array|null parts as array('header' => array(name => value), 'body' => content), null if no parts found
  @throws Zend_Exception
docstring_tokens: decodes a mime encoded String and returns a struct of parts with header and body