API17:JUtility::return bytes
From Joomla! Documentation
(Difference between revisions)
(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 21:56, 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.
JUtility::return_bytes
Description
Return the byte value of a particular string.
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
SeeAlso:JUtility::return bytes [Edit See Also]
User contributed notes
<CodeExamplesForm />
