Actions

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>

Latest revision as of 12:40, 25 March 2010

Replacement filing cabinet.png
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.

[Edit Descripton] Description:JUtility

Contents

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
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

jimport( 'joomla.utilities.utility' );

[Edit See Also] SeeAlso:JUtility

Examples

<CodeExamplesForm />