API15

JUtility

From Joomla! Documentation

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.

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



Examples[edit]

Code Examples[edit]