API15:JUtility
From Joomla! Documentation
Defined in
libraries/joomla/utilities/utility.php
Methods
| Method name | Description |
|---|---|
| sendMail | Mail function (uses phpMailer) |
| sendAdminMail | Sends mail to administrator for approval of a user submission |
| getHash | Provides a secure hash based on a seed |
| parseAttributes | Method to extract key/value pairs out of a string with xml style attributes |
| getToken | Method to determine a hash for anti-spoofing variable names |
| isWinOS | Method to determine if the host OS is Windows |
| dump | Method to dump the structure of a variable for debugging purposes |
Importing
jimport( 'joomla.utilities.utility' );
Examples
Code Examples