Utility
JUtility is a utility functions class
since |
1.7.0 |
---|
Methods
getMaxUploadSize
Method to get the maximum allowed file size for the HTTP uploads based on the active PHP configuration
getMaxUploadSize(mixed $custom = null) : integer
static
since |
3.7.0 |
---|
Arguments
- $custom
mixed
A custom upper limit, if the PHP settings are all above this then this will be used
Response
integer
Size in number of bytes
parseAttributes
Method to extract key/value pairs out of a string with XML style attributes
parseAttributes(string $string) : array
static
since |
1.7.0 |
---|
Arguments
- $string
string
String containing XML style attributes
Response
array
Key/Value pairs for the attributes