Sunnysideup\Ecommerce\Control\OrderStatusLogFormController
This controller allows you to submit Log forms from anywhere on the site, especially the cart / checkout page.
Synopsis
class OrderStatusLogFormController
extends Controller
{
- // members
- protected Order $currentOrder;
- private static array $allowed_actions = ;
- // methods
- public string Link()
- public void removeLog()
- protected void init()
- protected void initVirtualMethods()
- protected null|OrderStatusLogForm getOrderStatusLogForm()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
Methods
protected
- getOrderStatusLogForm() — Return a specific {@link OrderStatusLogForm} by it's name.
- init() — init Class sets order creates virtual methods.
- initVirtualMethods() — Inits the virtual methods from the name of the Log forms to redirect the action method to the form class.