\OrderModifierForm

    Synopsis

    class OrderModifierForm extends Form {
    • // members
    • protected Order $order;
    }

    Hierarchy

    Extends

    • Form

    Members

    protected

    Methods

    protected

    public

    • __construct() — NOTE: we semi-enforce using the OrderModifier_Controller here to deal with the submission of the OrderModifierForm You can use your own modifiers or an extension of OrderModifier_Controller by setting the first parameter (optionalController) to your own controller.
    • redirect()
    • saveDataToSession() — saves the form into session
    • submit()