RoutesOrders module
Orders routes
URLs the Orders module answers, their parameters and the variables each view receives.
Templates view
GET
/orders/orders
listOrders
Retrieve a list of records and assign them to the template.
| Variable | Type | Description |
|---|---|---|
$orders |
Collection<Order> |
Collection of Orders |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
GET
/orders/order/{id}
showOrder
Show a single record
Path parameters
id matches \d+
| Variable | Type | Description |
|---|---|---|
$order |
Order |
Single Order record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
GET
/orders/order/{uid}
showOrderByUid
Show a single record
Path parameters
uid matches [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
| Variable | Type | Description |
|---|---|---|
$order |
Order |
Single Order record |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Only GET routes list their variables.