Back to Joomla project (class list)

Class Utility - list of methods

JUtility is a utility functions class
Package: Joomla\CMS\Utility
Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Utility/Utility.php
Project: Joomla

Method Summary

public static array
(mixed $string)

Method to extract key/value pairs out of a string with XML style attributes
Parameters
  • string $string String containing XML style attributes
Returns
  • array Key/Value pairs for the attributes
Since
  • 1.7.0
Show source code of this method: parseAttributes Source Code

public static mixed
(mixed $custom = null)

Method to get the maximum allowed file size for the HTTP uploads based on the active PHP configuration
Parameters
  • mixed $custom A custom upper limit, if the PHP settings are all above this then this will be used
Returns
  • mixed Size in number of bytes
Since
  • 3.7.0
Show source code of this method: getMaxUploadSize Source Code

Tags Summary

Since
1.7.0