API17

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]]
{{subst:SeeAlso:JHtmlString}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JHtmlString
category=JHtmlString
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*

Latest revision as of 03:14, 25 March 2017

Joomla 11.1 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


User contributed notes

Code Examples