API17

Difference between revisions of "JUtility"

From Joomla! Documentation

m (JoomlaWikiBot moved page JUtility/11.1 to API17:JUtility without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 72: Line 72:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JUtility]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 17:31, 11 May 2013

The "API17" 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.

Joomla 11.1 JUtility[edit]

Description[edit]

Template:Description:JUtility [Edit Descripton]

Methods[edit]

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[edit]

jimport( 'joomla.utilities.utility' );

See also[edit]

Template:SeeAlso:JUtility [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />