JMail/setSubject
From Joomla! Documentation
< API16:JMailRevision as of 17:54, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Set the E-Mail subject
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span...)
Revision as of 17:54, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description===
Set the E-Mail subject
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span...)
The "API16" 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.
Description[edit]
Set the E-Mail subject
Template:Description:JMail/setSubject
Syntax[edit]
setSubject($subject)
Parameter Name | Default Value | Description |
---|---|---|
$subject | $subject Subject of the e-mail |
Returns[edit]
void
Defined in[edit]
libraries/joomla/mail/mail.php
Importing[edit]
jimport( 'joomla.mail.mail' );
Source Body[edit]
public function setSubject($subject) {
$this->Subject = JMailHelper::cleanLine($subject);
}
[Edit See Also] Template:SeeAlso:JMail/setSubject
Examples[edit]
<CodeExamplesForm />