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.
[Edit Descripton] Template:Description:JUtility
Defined in[edit]
libraries/joomla/utilities/utility.php
- see source code in BitBucket
Subpackage[edit]
Extends[edit]
Extended by[edit]
Methods[edit]
Method name | Description |
---|---|
array_unshift_ref | Prepend a reference to an element to the beginning of an array. |
return_bytes | Return the byte value of a particular string. |
dump | Method to dump the structure of a variable for debugging purposes. |
getHash | Provides a secure hash based on a seed. |
getToken | Method to determine a hash for anti-spoofing variable names. |
isWinOS | Method to determine if the host OS is Windows. |
parseAttributes | Method to extract key/value pairs out of a string with xml style attributes. |
sendAdminMail | Sends mail to administrator for approval of a user submission. |
sendMail | Mail function (uses phpMailer). |
Importing[edit]
jimport( 'joomla.utilities.utility' );
See also[edit]
- JUtility source code in BitBucket
- Other versions of this class
Template:SeeAlso:JUtility [Edit See Also]
Examples[edit]
<CodeExamplesForm />