Parses a message into text and PGP components.
public parse ( mixed $text ) : array | ||
$text | mixed | Either the text to parse or a Horde_Stream object. |
Результат | array | An array with the parsed text, returned in blocks of
text corresponding to their actual order. Keys:
- data: (array) The data for each section. Each line has been stripped of EOL characters. - type: (integer) The type of data contained in block. Valid types are the class ARMOR_* constants. |