JHtmlString: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 27: | Line 27: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]] | ||
* [[API17:JHtmlString|Other versions of JHtmlString]] | * [[API17:JHtmlString|Other versions of JHtmlString]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JHtmlString | category=JHtmlString | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Latest revision as of 03:14, 25 March 2017
JHtmlString
Description
Contains methods for working with strings of HTML text.
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | abridge | Abridges text strings over the specified character limit. |
| public static | truncate | Truncates text blocks over the specified character limit and closes all open HTML tags. |
- Defined in libraries/joomla/html/html/string.php
Importing
jimport( 'joomla.html.html.string' );
See also
JHtmlString source code on BitBucket
Subpackage Html- Other versions of JHtmlString
User contributed notes
Code Examples