Sunnysideup\Ecommerce\Model\Process\OrderEmailRecord
Synopsis
class OrderEmailRecord
extends DataObject
implements
EditableEcommerceObject
{
- // members
- private static string $table_name = 'OrderEmailRecord';
- private static array $db = ;
- private static array $has_one = ;
- private static array $casting = ;
- private static array $summary_fields = ;
- private static array $field_labels = ;
- private static array $searchable_fields = ;
- private static string $singular_name = 'Customer Email';
- private static string $plural_name = 'Customer Emails';
- private static string $description = 'A record of any email that has been sent in relation to an order.';
- private static array $default_sort = ;
- private static array $indexes = ;
- // methods
- public void ResultNice()
- public void getResultNice()
- public void i18n_singular_name()
- public void i18n_plural_name()
- public bool canCreate()
- public bool canView()
- public bool canEdit()
- public bool canDelete()
- public FieldList getCMSFields()
- public string CMSEditLink()
- public FieldList scaffoldSearchFields()
- public void Title()
- public void getTitle()
- public void OrderStepNice()
- public void getOrderStepNice()
- public string debug()
- // Inherited methods from OrderCached
- public void setOrderCached()
- public Order|null; getOrderCached()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Uses
Implements
Members
private
- $casting
—
array
standard SS variable. - $db
-
$default_sort
standard SS variable. - $description
—
string
Standard SS variable. - $field_labels
—
array
standard SS variable. - $has_one
—
array
standard SS variable. - $indexes
- $plural_name
—
string
standard SS variable. - $searchable_fields
—
array
standard SS variable. - $singular_name
—
string
standard SS variable. - $summary_fields
—
array
standard SS variable. - $table_name
—
string
standard SS variable.
protected
- $orderCached — Sunnysideup\Ecommerce\Model\Order
- $orderCachedStatusID — int
Methods
public
- CMSEditLink() — link to edit the record.
- OrderStepNice() — casted variable.
- ResultNice() — casted Variable.
- Title() — casted variable.
- canCreate() — standard SS method.
- canDelete() — standard SS method.
- canEdit() — standard SS method.
- canView() — standard SS method.
- debug() — Debug helper method.
- getCMSFields() — standard SS method.
- getOrderStepNice()
- getResultNice()
- getTitle()
- i18n_plural_name()
- i18n_singular_name()
- scaffoldSearchFields() — Determine which properties on the DataObject are searchable, and map them to their default {@link FormField} representations. Used for scaffolding a searchform for {@link ModelAdmin}.