API16:JUtility
From Joomla! Documentation
{{subst:Description:JUtility}}
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 |
| getToken | Method to determine a hash for anti-spoofing variable names |
| parseAttributes | Method to extract key/value pairs out of a string with xml style attributes |
| isWinOS | Method to determine if the host OS is Windows |
| dump | Method to dump the structure of a variable for debugging purposes |
| array_unshift_ref | Prepend a reference to an element to the beginning of an array. Renumbers numeric keys, so $value is always inserted to $array[0] |
| return_bytes | Return the byte value of a particular string |
Importing
jimport( 'joomla.utilities.utility' );
{{subst:SeeAlso:JUtility}}
Examples
<CodeExamplesForm />