Truncates a string to a certain length at the most sensible point. First, if there's a '.' character near the end of the string, the string is truncated after this character. If there is no '.', the string is truncated after the last ' ' character. If the string is truncated, " ..." is appended. If the string is already shorter than $length, it is returned unchanged.
Definition at line 719 of file class_feedcreator.inc.php. Referenced by HTMLCreator::createFeed(), MBOXCreator::createFeed(), PHPCreator::createFeed(), KMLCreator::createFeed(), and FeedHtmlField::output(). Here is the caller graph for this function: ![]()
|
1.5.1-p1