helpers\BaseStringHelper truncateHtml()

truncateHtml() protected static method (available since version 2.0.1)

Truncate a string while preserving the HTML.

protected static string truncateHtml ( $string, $count, $suffix, $encoding = false )
$string string

The string to truncate

$count integer
$suffix string

String to append to the end of the truncated string.

$encoding string|boolean
doc_Yii
2016-10-30 17:05:31
Comments
Leave a Comment

Please login to continue.