| [ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
Render the body of an application email by building it up section-by-section.
| File Size: | 254 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| getViewer() X-Ref |
| No description |
| setViewer($viewer) X-Ref |
| No description |
| addRawSection($text) X-Ref |
| Add a raw block of text to the email. This will be rendered as-is. param: string Block of text. return: this |
| addRemarkupSection($text) X-Ref |
| No description |
| addRawPlaintextSection($text) X-Ref |
| No description |
| addRawHTMLSection($html) X-Ref |
| No description |
| addTextSection($header, $section) X-Ref |
| Add a block of text with a section header. This is rendered like this: HEADER Text is indented. param: string Header text. param: string Section text. return: this |
| addPlaintextSection($header, $text) X-Ref |
| No description |
| addHTMLSection($header, $html_fragment) X-Ref |
| No description |
| addLinkSection($header, $link) X-Ref |
| No description |
| addHeraldSection($xscript_uri) X-Ref |
| Add a Herald section with a rule management URI and a transcript URI. param: string URI to rule transcripts. return: this |
| addReplySection($instructions) X-Ref |
| Add a section with reply handler instructions. param: string Reply handler instructions. return: this |
| addEmailPreferenceSection() X-Ref |
| Add a section with a link to email preferences. return: this |
| addAttachment(PhabricatorMetaMTAAttachment $attachment) X-Ref |
| Add an attachment. param: PhabricatorMetaMTAAttachment Attachment. return: this |
| render() X-Ref |
| Render the email body. return: string Rendered body. |
| renderHTML() X-Ref |
| No description |
| getAttachments() X-Ref |
| Retrieve attachments. return: list<PhabricatorMetaMTAAttachment> Attachments. |
| indent($text) X-Ref |
| Indent a block of text for rendering under a section heading. param: string Text to indent. return: string Indented text. |
| Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |