API17

JUtility

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

Description

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


User contributed notes

Code Examples


Advertisement