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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.