Broarm\EventTickets\Model\PriceModifier
Class PriceModifier
Synopsis
class PriceModifier
extends DataObject
implements
PriceModifierInterface
{
- // members
- private static string $table_name = 'EventTickets_PriceModifier';
- private static array $db = ;
- private static string $default_sort = 'Sort ASC, ID DESC';
- private static array $defaults = ;
- private static array $many_many = ;
- private static array $many_many_extraFields = ;
- private static array $casting = ;
- private static array $summary_fields = ;
- // methods
- public void getCMSFields()
- public void updateTotal()
- public string getTableTitle()
- public float getTableValue()
- public void setPriceModification()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Implements
Members
private
- $casting
- $db
- $default_sort
- $defaults
- $many_many
- $many_many_extraFields
- $summary_fields
- $table_name
Methods
public
- getCMSFields()
- getTableTitle() — Return a title to display in the summary table
- getTableValue() — Return a value to display in the summary table
- setPriceModification() — Set the price modification on the join
- updateTotal() — Modify the given total Implement this on your modifier