Able to parse email templates.... I hope
parent
c3e70309bc
commit
36f8de957a
@ -0,0 +1,33 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: mkoch
|
||||||
|
* Date: 2/28/2017
|
||||||
|
* Time: 9:36 PM
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace BusinessLogic\Emails;
|
||||||
|
|
||||||
|
|
||||||
|
class ParsedEmailProperties {
|
||||||
|
function __construct($subject, $message, $htmlMessage) {
|
||||||
|
$this->subject = $subject;
|
||||||
|
$this->message = $message;
|
||||||
|
$this->htmlMessage = $htmlMessage;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $subject string
|
||||||
|
*/
|
||||||
|
public $subject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $message string
|
||||||
|
*/
|
||||||
|
public $message;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $htmlMessage string
|
||||||
|
*/
|
||||||
|
public $htmlMessage;
|
||||||
|
}
|
@ -0,0 +1,62 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: mkoch
|
||||||
|
* Date: 2/28/2017
|
||||||
|
* Time: 9:17 PM
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace BusinessLogic\Tickets;
|
||||||
|
|
||||||
|
|
||||||
|
class Reply {
|
||||||
|
/**
|
||||||
|
* @var $id int
|
||||||
|
*/
|
||||||
|
public $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $ticketId int
|
||||||
|
*/
|
||||||
|
public $ticketId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $replierName string
|
||||||
|
*/
|
||||||
|
public $replierName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $message string
|
||||||
|
*/
|
||||||
|
public $message;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $dateCreated string
|
||||||
|
*/
|
||||||
|
public $dateCreated;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $attachments Attachment[]
|
||||||
|
*/
|
||||||
|
public $attachments;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $staffId int|null
|
||||||
|
*/
|
||||||
|
public $staffId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $rating int|null
|
||||||
|
*/
|
||||||
|
public $rating;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $isRead bool
|
||||||
|
*/
|
||||||
|
public $isRead;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var $usesHtml bool
|
||||||
|
*/
|
||||||
|
public $usesHtml;
|
||||||
|
}
|
Loading…
Reference in New Issue