Sunnysideup\Ecommerce\Email\OrderStatusEmail
Synopsis
class OrderStatusEmail
extends OrderEmail
{
- // members
- protected $ss_template = OrderStatusEmail::class;
- // Inherited methods from OrderEmail
- public static string emogrify_html()
- public static string get_from_email()
- public static string get_subject()
- public void setOrder()
- public void setResend()
- public bool send()
- public string emailToVarchar()
- public void hasBeenSent()
- public $this render()
- protected void createRecord()
Hierarchy
Members
protected
- $order — Sunnysideup\Ecommerce\Model\Order
- $resend — Sunnysideup\Ecommerce\Email\bool
- $ss_template
Methods
Inherited from Sunnysideup\Ecommerce\Email\OrderEmail
protected
public
- emailToVarchar() — converts an Email to A Varchar.
- emogrify_html() — turns an html document into a formatted html document using the emogrify method.
- get_from_email() — returns the standard from email address (e.g. the shop admin email address).
- get_subject() — returns the subject for the email (doh!).
- hasBeenSent() — Checks if an email has been sent for this Order for this status (order step).
- render() — Render the email.
- send()
- setOrder() — set the order associated with the email.
- setResend() — sets resend to true, which means that the email is sent even if it has already been sent.