UserIDPacket body

This commit is contained in:
Stephen Paul Weber 2011-07-25 12:51:08 -05:00
parent c2c934fa6a
commit 6bf8e8cb6b

View File

@ -1249,6 +1249,10 @@ class OpenPGP_UserIDPacket extends OpenPGP_Packet {
if ($this->email) { $text[] = "<{$this->email}>"; } if ($this->email) { $text[] = "<{$this->email}>"; }
return implode(' ', $text); return implode(' ', $text);
} }
function body() {
return ''.$this; // Convert to string is the body
}
} }
/** /**