Broarm\EventTickets\Checkout\Steps\CheckoutSteps
Synopsis
class CheckoutSteps
{
- // members
- private static array $checkout_steps = ;
- // methods
- public static string start()
- public static null nextStep()
- public static array getSteps()
- public static ArrayList get()
- private static mixed getStepIndex()
- private static bool inPast()
- private static bool inFuture()
- private static bool current()
Hierarchy
Uses
- SilverStripe\Core\Config\Configurable
- SilverStripe\Core\Extensible
Members
private
- $checkout_steps
Methods
private
- current() — Check at the current step
- getStepIndex() — Get the index of the given step
- inFuture() — Check if the step is in the future
- inPast() — Check if the step is in the past
public
- get() — Get the formatted steps
- getSteps() — Return an unique array of steps
- nextStep() — Return the next step
- start() — Return the first step