Method | Description | |
---|---|---|
shortenArticle ( $content, $length = 5000, $encoding = null ) |
Method | Description | |
---|---|---|
_addContinuationMarker ( string $content ) : string | Add a generic indicator that article is truncated without accidentally appending the indicator to URIs in links and images, instead broken links and images are stripped entirely before its appended (also cleaning up the source). |
protected _addContinuationMarker ( string $content ) : string | ||
$content | string | |
return | string |