API17

Difference between revisions of "JHtmlNumber"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JHtmlNumber==
 +
===Description===
 +
{{Description:JHtmlNumber}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JHtmlNumber|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlNumber|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JHtmlNumber}}
 
===Defined in===
 
libraries/joomla/html/html/number.php
 
* see source code in [[jplatform:html/html/number.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Html/11.1|Html]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public static
 
|[[JHtmlNumber::bytes/11.1|bytes]]
 
|[[JHtmlNumber::bytes/11.1|bytes]]
 
|Converts bytes to more distinguishable formats such as: kilobytes, megabytes, etc.  
 
|Converts bytes to more distinguishable formats such as: kilobytes, megabytes, etc.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/html/html/number.php
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.html.number' );</source>
 
<source lang="php">jimport( 'joomla.html.html.number' );</source>
 
===See also===
 
===See also===
* JHtmlNumber source code in [[jplatform:html/html/number.php|BitBucket]]
+
* {{JVer|11.1}} '''JHtmlNumber source code''' on [[jplatform:html/html/number.php|BitBucket]]
* [[JHtmlNumber|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]]
 +
* [[JHtmlNumber|Other versions of JHtmlNumber]]
 
{{SeeAlso:JHtmlNumber}}
 
{{SeeAlso:JHtmlNumber}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlNumber|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlNumber|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 38: Line 37:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlNumber]]</noinclude>
 
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JHtmlNumber]]</noinclude>

Revision as of 18:04, 27 April 2011

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 JHtmlNumber[edit]

Description[edit]

Template:Description:JHtmlNumber [Edit Descripton]

Methods[edit]

Visibility Method name Description
public static bytes Converts bytes to more distinguishable formats such as: kilobytes, megabytes, etc.
  • Defined in libraries/joomla/html/html/number.php

Importing[edit]

jimport( 'joomla.html.html.number' );

See also[edit]

Template:SeeAlso:JHtmlNumber [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />