API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JUtility::dump | ( | &$ | var, |
$ | htmlSafe = true |
||
) | [static] |
Method to dump the structure of a variable for debugging purposes
mixed | A variable |
boolean | True to ensure all characters are htmlsafe |
JUtility::getHash | ( | $ | seed | ) |
Provides a secure hash based on a seed
string | Seed string |
Références JFactory::getConfig().
Référencé par JApplication::__construct(), getToken(), JApplication::login(), JApplication::logout(), mosHash(), plgSystemRemember::onAfterInitialise(), UserController::register_save(), UserModelReset::requestReset(), et PollController::vote().
JUtility::getToken | ( | $ | forceNew = false | ) | [static] |
Method to determine a hash for anti-spoofing variable names
Références $session, $user, getHash(), JFactory::getSession(), et JFactory::getUser().
Référencé par JRequest::checkToken(), ContactController::display(), plgSystemCache::onAfterInitialise(), et plgAuthenticationOpenID::onAuthenticate().
JUtility::isWinOS | ( | ) | [static] |
Method to determine if the host OS is Windows
JUtility::parseAttributes | ( | $ | string | ) |
Method to extract key/value pairs out of a string with xml style attributes
string | $string | String containing xml style attributes |
Références $i.
Référencé par JDocumentHTML::_parseTemplate(), plgContentCreateTOC(), et plgContentPagebreak().
JUtility::sendAdminMail | ( | $ | adminName, |
$ | adminEmail, | ||
$ | email, | ||
$ | type, | ||
$ | title, | ||
$ | author, | ||
$ | url = null |
||
) |
Sends mail to administrator for approval of a user submission
string | $adminName | Name of administrator |
string | $adminEmail | Email address of administrator |
string | [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 |
Références $title, $type, $url, JText::_(), et JFactory::getMailer().
Référencé par mosSendAdminMail(), et WeblinksControllerWeblink::save().
JUtility::sendMail | ( | $ | from, |
$ | fromname, | ||
$ | recipient, | ||
$ | subject, | ||
$ | body, | ||
$ | mode = 0 , |
||
$ | cc = null , |
||
$ | bcc = null , |
||
$ | attachment = null , |
||
$ | replyto = null , |
||
$ | replytoname = null |
||
) |
Mail function (uses phpMailer)
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) |
Références $i, elseif, et JFactory::getMailer().
Référencé par UserModelReset::_sendConfirmationMail(), UserController::_sendMail(), UserModelRemind::_sendReminderMail(), UsersController::save(), TableMessage::send(), et MailtoController::send().