JHtmlString::abridge
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHtmlString::abridge[edit]
Description[edit]
Abridges text strings over the specified character limit.
public static function abridge (
$text
$length=50
$intro=30
)
Parameter | Type | Default | Description |
---|---|---|---|
$text | |||
$length | 50 | ||
$intro | 30 |
- Returns
- Defined on line 99 of libraries/joomla/html/html/string.php
See also[edit]
JHtmlString::abridge source code on BitBucket
Class JHtmlString
Subpackage Html
- Other versions of JHtmlString::abridge
User contributed notes[edit]
Code Examples[edit]