asParagraphs() public method
Formats the value as HTML-encoded text paragraphs.
Each text paragraph is enclosed within a <p> tag. One or multiple consecutive empty lines divide two paragraphs.
| public string asParagraphs ( $value ) | ||
|---|---|---|
| $value | string |
The value to be formatted. |
| return | string |
The formatted result. |
Please login to continue.