Actions

API17

Difference between revisions of "JMail::setSubject"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JMail::setSubject|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JMail::setSubject|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JMail::setSubject ($subject)
+
public function setSubject ($subject)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' Returns this object for chaining.
Returns this object for chaining.
+
* '''Defined''' on line 123 of libraries/joomla/mail/mail.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/mail/mail.php (line 123)
+
* see source code in [[jplatform:mail/mail.php#cl-123|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JMail::setSubject source code''' on [[jplatform:mail/mail.php#cl-115|BitBucket]]
 +
* {{JVer|11.1}} Class [[JMail/11.1|JMail]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Mail/11.1|Mail]]
 +
* [[JMail::setSubject|Other versions of JMail::setSubject]]
 +
{{SeeAlso:JMail::setSubject}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JMail::setSubject|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JMail::setSubject|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JMail/11.1|JMail]]
+
===User contributed notes===
* [[JMail::setSubject|Other versions of this method]]
+
{{SeeAlso:JMail::setSubject}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JMail]][[Category:JMail::setSubject]]</noinclude>
 
<noinclude>[[Category:JMail]][[Category:JMail::setSubject]]</noinclude>

Revision as of 20:21, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JMail::setSubject

Description

Set the email subject.

Description:JMail::setSubject [Edit Descripton]

public function setSubject ($subject)
Parameter Type Default Description
$subject string Subject of the email
  • Returns Returns this object for chaining.
  • Defined on line 123 of libraries/joomla/mail/mail.php
  • Since Joomla 11.1

See also

SeeAlso:JMail::setSubject [Edit See Also]

User contributed notes

<CodeExamplesForm />