Difference between revisions of "JHtmlString::abridge"
From Joomla! Documentation
(Layout updates) |
m (→See also: moving preparation) |
||
(3 intermediate revisions by 2 users 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 [[API17:JHtmlString|JHtmlString]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]] | ||
+ | * [[API17: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 56: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 20:56, 11 May 2013
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.
Template: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[edit]
- JHtmlString::abridge source code on BitBucket
- Class JHtmlString
- Subpackage Html
- Other versions of JHtmlString::abridge
Template:SeeAlso:JHtmlString::abridge [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />