JUtility
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JUtility[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | array_unshift_ref | Prepend a reference to an element to the beginning of an array. |
public | return_bytes | Return the byte value of a particular string. |
public static | dump | Method to dump the structure of a variable for debugging purposes. |
public static | getHash | Provides a secure hash based on a seed. |
public static | getToken | Method to determine a hash for anti-spoofing variable names. |
public static | isWinOS | Method to determine if the host OS is Windows. |
public static | parseAttributes | Method to extract key/value pairs out of a string with xml style attributes. |
public static | sendAdminMail | Sends mail to administrator for approval of a user submission. |
public static | sendMail | Mail function (uses phpMailer). |
- Defined in libraries/joomla/utilities/utility.php
Importing[edit]
jimport( 'joomla.utilities.utility' );
See also[edit]
JUtility source code on BitBucket
Subpackage Utilities
- Other versions of JUtility
User contributed notes[edit]
Code Examples[edit]