Actions

API17

Difference between revisions of "JUtility"

From Joomla! Documentation

m (User contributed notes: moving preparation)
m (moving preparation)
 
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JUtility::array_unshift_ref/11.1|array_unshift_ref]]
+
|[[API17:JUtility::array_unshift_ref|array_unshift_ref]]
 
|Prepend a reference to an element to the beginning of an array.  
 
|Prepend a reference to an element to the beginning of an array.  
 
|-
 
|-
 
|public  
 
|public  
|[[JUtility::return_bytes/11.1|return_bytes]]
+
|[[API17:JUtility::return_bytes|return_bytes]]
 
|Return the byte value of a particular string.  
 
|Return the byte value of a particular string.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::dump/11.1|dump]]
+
|[[API17:JUtility::dump|dump]]
 
|Method to dump the structure of a variable for debugging purposes.  
 
|Method to dump the structure of a variable for debugging purposes.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::getHash/11.1|getHash]]
+
|[[API17:JUtility::getHash|getHash]]
 
|Provides a secure hash based on a seed.  
 
|Provides a secure hash based on a seed.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::getToken/11.1|getToken]]
+
|[[API17:JUtility::getToken|getToken]]
 
|Method to determine a hash for anti-spoofing variable names.  
 
|Method to determine a hash for anti-spoofing variable names.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::isWinOS/11.1|isWinOS]]
+
|[[API17:JUtility::isWinOS|isWinOS]]
 
|Method to determine if the host OS is Windows.  
 
|Method to determine if the host OS is Windows.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::parseAttributes/11.1|parseAttributes]]
+
|[[API17:JUtility::parseAttributes|parseAttributes]]
 
|Method to extract key/value pairs out of a string with xml style attributes.  
 
|Method to extract key/value pairs out of a string with xml style attributes.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::sendAdminMail/11.1|sendAdminMail]]
+
|[[API17:JUtility::sendAdminMail|sendAdminMail]]
 
|Sends mail to administrator for approval of a user submission.  
 
|Sends mail to administrator for approval of a user submission.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUtility::sendMail/11.1|sendMail]]
+
|[[API17:JUtility::sendMail|sendMail]]
 
|Mail function (uses phpMailer).  
 
|Mail function (uses phpMailer).  
 
|-
 
|-
Line 55: Line 55:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JUtility source code''' on [[jplatform:utilities/utility.php|BitBucket]]
 
* {{JVer|11.1}} '''JUtility source code''' on [[jplatform:utilities/utility.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]]
* [[JUtility|Other versions of JUtility]]
+
* [[API17:JUtility|Other versions of JUtility]]
 
{{SeeAlso:JUtility}}
 
{{SeeAlso:JUtility}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Latest revision as of 21:50, 11 May 2013

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.

Joomla 11.1 JUtility

Description

Description:JUtility [Edit Descripton]

Methods

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

Importing

jimport( 'joomla.utilities.utility' );

See also

SeeAlso:JUtility [Edit See Also]

User contributed notes

<CodeExamplesForm />