Utility
JUtility is a utility functions class
| since |
1.7.0 |
|---|---|
| package |
Joomla CMS |
Methods
getMaxUploadSize
Method to get the maximum allowed file size for the HTTP uploads based on the active PHP configuration
getMaxUploadSize(mixed custom = null) : int
static
| since |
3.7.0 |
|---|
Arguments
- custom
mixedA custom upper limit, if the PHP settings are all above this then this will be used
Response
intSize 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
stringString containing XML style attributes
Response
arrayKey/Value pairs for the attributes