Difference between revisions of "JUtility::return bytes"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JUtility::return bytes/11.1 to API17:JUtility::return bytes without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 20:54, 10 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JUtility::return_bytes


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
  • Returns int size in bytes
  • Defined on line 207 of libraries/joomla/utilities/utility.php
  • Since Joomla 11.1

See also

SeeAlso:JUtility::return bytes [Edit See Also]

User contributed notes

<CodeExamplesForm />