Actions

API17

Difference between revisions of "JUtility"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/utilities/utility.php
 
libraries/joomla/utilities/utility.php
 +
* see source code in [[jplatform:utilities/utility.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Utilities/11.1|Utilities]]
 
[[Subpackage Utilities/11.1|Utilities]]
Line 47: Line 48:
 
<source lang="php">jimport( 'joomla.utilities.utility' );</source>
 
<source lang="php">jimport( 'joomla.utilities.utility' );</source>
 
===See also===
 
===See also===
 +
* JUtility source code in [[jplatform:utilities/utility.php|BitBucket]]
 
* [[JUtility|Other versions of this class]]
 
* [[JUtility|Other versions of this class]]
 
{{SeeAlso:JUtility}}
 
{{SeeAlso:JUtility}}

Revision as of 18:03, 23 April 2011

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

Defined in

libraries/joomla/utilities/utility.php

Subpackage

Utilities

Extends

Extended by

Methods

Method name Description
array_unshift_ref Prepend a reference to an element to the beginning of an array.
return_bytes Return the byte value of a particular string.
dump Method to dump the structure of a variable for debugging purposes.
getHash Provides a secure hash based on a seed.
getToken Method to determine a hash for anti-spoofing variable names.
isWinOS Method to determine if the host OS is Windows.
parseAttributes Method to extract key/value pairs out of a string with xml style attributes.
sendAdminMail Sends mail to administrator for approval of a user submission.
sendMail Mail function (uses phpMailer).

Importing

jimport( 'joomla.utilities.utility' );

See also

SeeAlso:JUtility [Edit See Also]

Examples

<CodeExamplesForm />