API16

API16:JUtility

From Joomla! Documentation

Revision as of 02:16, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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' );



Examples

Code Examples