# Class Opencart\Catalog\Controller\Mail\Order

`extends` | `Controller`

Class Order

- Opencart\System\Engine\Controller
  - Opencart\Catalog\Controller\Mail\Order

Located at catalog\controller\mail\order.php

Methods
`public` | `index(string &$route, array<int, mixed> &$args): void` Mail class for orders Trigger catalog/model/checkout/order/addHistory/before Mail class for orders Trigger catalog/model/checkout/order/addHistory/before | #
`public` | `add(array<string, mixed> $order_info, int $order_status_id, string $comment, bool $notify): void` #### Throws
`Exception` |
| #
`public` | `history(array<string, mixed> $order_info, int $order_status_id, string $comment, bool $notify): void` catalog/model/checkout/order/addHistory/before catalog/model/checkout/order/addHistory/before #### Throws
`Exception` |
| #
`public` | `alert(string &$route, array<int, mixed> &$args): void` #### Throws
`Exception` |
| #

Methods inherited from Opencart\System\Engine\Controller
`__construct(), __get(), __set()`

Properties inherited from Opencart\System\Engine\Controller
`$registry`

OpenCart API API documentation generated by ApiGen dev-master