Метод | Описание | |
---|---|---|
shortenArticle ( $content, $length = 5000, $encoding = null ) |
Метод | Описание | |
---|---|---|
_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 | |
Результат | string |
public shortenArticle ( $content, $length = 5000, $encoding = null ) |