i18n\Formatter asParagraphs()

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.

doc_Yii
2016-10-30 17:06:00
Comments
Leave a Comment

Please login to continue.