[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/metamta/parser/ -> PhabricatorMetaMTAEmailBodyParser.php (summary)

(no description)

File Size: 129 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  parseBody()
  stripTextBody()
  stripQuotedText()
  stripSignature()

Functions
Functions that are not part of a class:

parseBody($body)   X-Ref
Mails can have bodies such as

!claim

taking this task

Or

!assign epriestley

please, take this task I took; its hard

This function parses such an email body and returns a dictionary
containing a clean body text (e.g. "taking this task"), a $command
(e.g. !claim, !assign) and a $command_value (e.g. "epriestley" in the
!assign example.)

return: dict

stripTextBody($body)   X-Ref
No description

stripQuotedText($body)   X-Ref
No description

stripSignature($body)   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1