JUtility
Description
JUtility is a utility functions class
Located in /joomla/utilities/utility.php (line 25)
JUtility (Subpackage Utilities)
Method Summary
static true
isWinOS
()
boolean
sendAdminMail
(string $adminName, string $adminEmail, string $email, string $type, string $title, string $author, [ $url = null])
boolean
sendMail
(string $from, string $fromname, mixed $recipient, string $subject, string $body, [boolean $mode = 0], [mixed $cc = null], [mixed $bcc = null], [mixed $attachment = null], [mixed $replyto = null], [mixed $replytoname = null])
Methods
getHash (line 114)
Provides a secure hash based on a seed
string
getHash
(string $seed)
- string $seed: Seed string
getToken (line 127)
Method to determine a hash for anti-spoofing variable names
string
getToken
([ $forceNew = false])
- $forceNew
parseAttributes (line 140)
Method to extract key/value pairs out of a string with xml style attributes
array
parseAttributes
(string $string)
- string $string: String containing xml style attributes
sendAdminMail (line 88)
Sends mail to administrator for approval of a user submission
boolean
sendAdminMail
(string $adminName, string $adminEmail, string $email, string $type, string $title, string $author, [ $url = null])
- string $adminName: Name of administrator
- string $adminEmail: Email address of administrator
- string $email: [NOT USED TODO: Deprecate?]
- string $type: Type of item to approve
- string $title: Title of item to approve
- string $author: Author of item to approve
- $url
sendMail (line 43)
Mail function (uses phpMailer)
boolean
sendMail
(string $from, string $fromname, mixed $recipient, string $subject, string $body, boolean $mode, [mixed $cc = null], [mixed $bcc = null], [mixed $attachment = null], [mixed $replyto = null], [mixed $replytoname = null])
- string $from: From e-mail address
- string $fromname: From name
- mixed $recipient: Recipient e-mail address(es)
- string $subject: E-mail subject
- string $body: Message body
- boolean $mode: false = plain text, true = HTML
- mixed $cc: CC e-mail address(es)
- mixed $bcc: BCC e-mail address(es)
- mixed $attachment: Attachment file name(s)
- mixed $replyto: Reply to email address(es)
- mixed $replytoname: Reply to name(s)
Documentation generated on Mon, 05 Mar 2007 21:30:48 +0000 by phpDocumentor 1.3.1