\OrderStepController
This call can be used when you need input from the customer in the order process.
To use
1. create class that extends OrderStepController
2. make sure the class has a $url_segment static var
3. create content and/or form for page
4. make sure you set up route (route.yml) to get to the
Synopsis
class OrderStepController
extends Controller
{
- // members
- private static array $allowed_actions = ;
- protected string $alternativeContent = "";
- private static Order $_order = null;
- // methods
- public void index()
- public void error()
- protected static string name_of_controller_class()
- protected static string secure_hash()
- protected string nameOfControllerClass()
- protected abstract string nameOfLogClass()
- public string Content()
- protected string standardContent()
- protected Form Form()
- protected abstract string codeOfRelevantOrderStep()
- protected abstract string secureHash()
- public string Link()
- public void errorLink()
- protected bool checkOrder()
- protected Order Order()
- protected string getOrderGetParams()
- protected OrderStep orderStep()
Hierarchy
Extends
- Controller
Members
Methods
protected
- Form() — the form on the field.
- Order() — finds the order ...
- checkOrder() — is the order valid?
- codeOfRelevantOrderStep() — code of related order step.
- getOrderGetParams()
- nameOfControllerClass()
- nameOfLogClass() — related OrderStatusLog class.
- name_of_controller_class()
- orderStep()
- secureHash() — used to secure page.
- secure_hash()
- standardContent()
public
- Content() — main content ...
- Link()
- error() — there is an error ...
- errorLink()
- index() — when no action is selected this action runs...