API17

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>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlString::abridge ($text, $length=50, $intro=30)
+
public static function abridge (
 +
        $text
 +
        $length=50
 +
        $intro=30
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 99 of libraries/joomla/html/html/string.php
===Defined in===
 
libraries/joomla/html/html/string.php (line 98)
 
* see source code in [[jplatform:html/html/string.php#cl-98|BitBucket]]
 
===Referenced by===
 
 
===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>
* [[JHtmlString/11.1|JHtmlString]]
+
===User contributed notes===
* [[JHtmlString::abridge|Other versions of this method]]
 
{{SeeAlso:JHtmlString::abridge}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 56: Line 57:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JHtmlString]][[Category:JHtmlString::abridge]]</noinclude>
+
<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.

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

Template:SeeAlso:JHtmlString::abridge [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />