API17:JUtility::return bytes
From Joomla! Documentation
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]
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
Referenced by
See also
SeeAlso:JUtility::return bytes
Examples
<CodeExamplesForm />
