JUtility::return bytes: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JUtility::return_bytes ($val) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
int size in bytes | int size in bytes | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/utilities/utility.php | libraries/joomla/utilities/utility.php (line 206) | ||
* see source code in [[jplatform:utilities/utility.php#cl-206|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 02:32, 24 April 2011
JUtility::return_bytes
Description
Return the byte value of a particular string.
Template:Description:JUtility::return bytes [Edit Descripton]
Since
Synopsis
public JUtility::return_bytes ($val)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $val | string | String optionally with G, M or K suffix |
Returns
int size in bytes
Defined in
libraries/joomla/utilities/utility.php (line 206)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JUtility::return bytes
Examples
<CodeExamplesForm />