API17:JUtility
From Joomla! Documentation
Revision as of 14:07, 29 August 2012 by JoomlaWikiBot (Talk | contribs)
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JUtility
Description
Description:JUtility [Edit Descripton]
Methods
| 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
jimport( 'joomla.utilities.utility' );
See also
-
JUtility source code on BitBucket
-
Subpackage Utilities
- Other versions of JUtility
SeeAlso:JUtility [Edit See Also]
User contributed notes
<CodeExamplesForm />
