API16

API16:JUtility

From Joomla! Documentation

Revision as of 22:56, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JUtility}} ===Defined in=== lib...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template: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' );

[Edit See Also] Template:SeeAlso:JUtility

Examples

<CodeExamplesForm />