API17:JHtmlString::abridge
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHtmlString::abridge|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHtmlString::abridge|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function abridge ( |
| + | $text | ||
| + | $length=50 | ||
| + | $intro=30 | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 99 of libraries/joomla/html/html/string.php | |
| − | + | ||
| − | libraries/joomla/html/html/string.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JHtmlString::abridge source code''' on [[jplatform:html/html/string.php#cl-91|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JHtmlString/11.1|JHtmlString]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]] | ||
| + | * [[JHtmlString::abridge|Other versions of JHtmlString::abridge]] | ||
| + | {{SeeAlso:JHtmlString::abridge}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHtmlString::abridge|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHtmlString::abridge|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 55: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHtmlString]][[Category:JHtmlString::abridge]]</noinclude> | <noinclude>[[Category:JHtmlString]][[Category:JHtmlString::abridge]]</noinclude> | ||
Revision as of 21:09, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JHtmlString::abridge
Description
Abridges text strings over the specified character limit.
Description:JHtmlString::abridge [Edit Descripton]
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
-
JHtmlString::abridge source code on BitBucket
-
Class JHtmlString
-
Subpackage Html
- Other versions of JHtmlString::abridge
SeeAlso:JHtmlString::abridge [Edit See Also]
User contributed notes
<CodeExamplesForm />
