Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_mail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_mail
Commits
c1fc4d24
Commit
c1fc4d24
authored
8 years ago
by
Torsten Oppermann
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Adding notification email field
parent
b32c33e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1
Feature sg mail
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Classes/Model/Mail.php
+88
-0
88 additions, 0 deletions
Classes/Model/Mail.php
ext_tables.sql
+1
-0
1 addition, 0 deletions
ext_tables.sql
with
89 additions
and
0 deletions
Classes/Model/Mail.php
+
88
−
0
View file @
c1fc4d24
...
...
@@ -53,5 +53,93 @@ class Mail extends AbstractEntity {
* @var $mailContent
*/
protected
$scheduledTime
=
NULL
;
/**
* @var $notificationEmail
*/
protected
$notificationEmail
=
NULL
;
/**
* @return mixed
*/
public
function
getMailContent
()
{
return
$this
->
mailContent
;
}
/**
* @param mixed $mailContent
*/
public
function
setMailContent
(
$mailContent
)
{
$this
->
mailContent
=
$mailContent
;
}
/**
* @return mixed
*/
public
function
getToAddress
()
{
return
$this
->
toAddress
;
}
/**
* @param mixed $toAddress
*/
public
function
setToAddress
(
$toAddress
)
{
$this
->
toAddress
=
$toAddress
;
}
/**
* @return mixed
*/
public
function
getFromAddress
()
{
return
$this
->
fromAddress
;
}
/**
* @param mixed $fromAddress
*/
public
function
setFromAddress
(
$fromAddress
)
{
$this
->
fromAddress
=
$fromAddress
;
}
/**
* @return mixed
*/
public
function
getIsSent
()
{
return
$this
->
isSent
;
}
/**
* @param mixed $isSent
*/
public
function
setIsSent
(
$isSent
)
{
$this
->
isSent
=
$isSent
;
}
/**
* @return mixed
*/
public
function
getScheduledTime
()
{
return
$this
->
scheduledTime
;
}
/**
* @param mixed $scheduledTime
*/
public
function
setScheduledTime
(
$scheduledTime
)
{
$this
->
scheduledTime
=
$scheduledTime
;
}
/**
* @return mixed
*/
public
function
getNotificationEmail
()
{
return
$this
->
notificationEmail
;
}
/**
* @param mixed $notificationEmail
*/
public
function
setNotificationEmail
(
$notificationEmail
)
{
$this
->
notificationEmail
=
$notificationEmail
;
}
}
This diff is collapsed.
Click to expand it.
ext_tables.sql
+
1
−
0
View file @
c1fc4d24
...
...
@@ -9,6 +9,7 @@ CREATE TABLE sg_mail_domain_model_mail (
mail_content
varchar
(
255
)
DEFAULT
''
NOT
NULL
,
to_address
varchar
(
255
)
DEFAULT
''
NOT
NULL
,
from_address
varchar
(
255
)
DEFAULT
''
NOT
NULL
,
notification_email
varchar
(
255
)
DEFAULT
''
NOT
NULL
,
is_sent
boolean
DEFAULT
FALSE
NOT
NULL
,
scheduled_time
int
(
11
)
unsigned
DEFAULT
'0'
NOT
NULL
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment