JUtility::return bytes: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JUtility::return_bytes|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JUtility::return_bytes|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
<source lang="php"> | <source lang="php"> | ||
public | public function return_bytes ($val) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' int size in bytes | |||
int size in bytes | * '''Defined''' on line 207 of libraries/joomla/utilities/utility.php | ||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/utilities/utility.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JUtility::return_bytes source code''' on [[jplatform:utilities/utility.php#cl-199|BitBucket]] | |||
* {{JVer|11.1}} Class [[JUtility/11.1|JUtility]] | |||
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]] | |||
* [[JUtility::return_bytes|Other versions of JUtility::return_bytes]] | |||
{{SeeAlso:JUtility::return_bytes}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JUtility::return_bytes|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JUtility::return_bytes|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===User contributed notes=== | |||
=== | |||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JUtility]][[Category:JUtility::return_bytes]]</noinclude> | <noinclude>[[Category:JUtility]][[Category:JUtility::return_bytes]]</noinclude> | ||
Revision as of 02:56, 28 April 2011
JUtility::return_bytes
Description
Return the byte value of a particular string.
Template:Description:JUtility::return bytes [Edit Descripton]
public function return_bytes ($val)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $val | string | String optionally with G, M or K suffix |
See also
JUtility::return_bytes source code on BitBucket
Class JUtility
Subpackage Utilities- Other versions of JUtility::return_bytes
Template:SeeAlso:JUtility::return bytes [Edit See Also]
User contributed notes
<CodeExamplesForm />