Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
97630868
Commit
97630868
authored
Nov 07, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test break
parent
f7f76a3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
BaseMailerTest.php
tests/unit/framework/mail/BaseMailerTest.php
+42
-0
No files found.
tests/unit/framework/mail/BaseMailerTest.php
View file @
97630868
...
...
@@ -233,6 +233,7 @@ class Message extends BaseMessage
public
$encoding
;
public
$_charset
;
public
$_from
;
public
$_replyTo
;
public
$_to
;
public
$_cc
;
public
$_bcc
;
...
...
@@ -240,42 +241,83 @@ class Message extends BaseMessage
public
$_textBody
;
public
$_htmlBody
;
public
function
getCharset
()
{
return
$this
->
_charset
;
}
public
function
setCharset
(
$charset
)
{
$this
->
_charset
=
$charset
;
return
$this
;
}
public
function
getFrom
()
{
return
$this
->
_from
;
}
public
function
setFrom
(
$from
)
{
$this
->
_from
=
$from
;
return
$this
;
}
public
function
getTo
()
{
return
$this
->
_to
;
}
public
function
setTo
(
$to
)
{
$this
->
_to
=
$to
;
return
$this
;
}
public
function
getCc
()
{
return
$this
->
_cc
;
}
public
function
setCc
(
$cc
)
{
$this
->
_cc
=
$cc
;
return
$this
;
}
public
function
getBcc
()
{
return
$this
->
_bcc
;
}
public
function
setBcc
(
$bcc
)
{
$this
->
_bcc
=
$bcc
;
return
$this
;
}
public
function
getSubject
()
{
return
$this
->
_subject
;
}
public
function
setSubject
(
$subject
)
{
$this
->
_subject
=
$subject
;
return
$this
;
}
public
function
getReplyTo
()
{
return
$this
->
_replyTo
;
}
public
function
setReplyTo
(
$replyTo
)
{
$this
->
_replyTo
=
$replyTo
;
return
$this
;
}
public
function
setTextBody
(
$text
)
{
$this
->
_textBody
=
$text
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment