API15

Difference between revisions of "JUtility"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JUtility}} ===Defined in=== lib...)
 
Line 33: Line 33:
 
|Method to dump the structure of a variable for debugging purposes
 
|Method to dump the structure of a variable for debugging purposes
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.utilities.utility' );</source>
 
<source lang="php">jimport( 'joomla.utilities.utility' );</source>

Revision as of 12:40, 25 March 2010

The "API15" 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

Methods[edit]

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
parseAttributes Method to extract key/value pairs out of a string with xml style attributes
getToken Method to determine a hash for anti-spoofing variable names
isWinOS Method to determine if the host OS is Windows
dump Method to dump the structure of a variable for debugging purposes

Importing[edit]

jimport( 'joomla.utilities.utility' );

[Edit See Also] Template:SeeAlso:JUtility

Examples[edit]

<CodeExamplesForm />