Your cart is empty!
Setup Order Details
public function onSetupPackagesOrderDetails(object $order, array $list) : void
Fires while binding the object holding the packages order details.
Description
External plugins can use this event to manipulate the object holding the details of the order. Useful to inject all the additional data fetched with the manipulation of the query.
Parameters
- $order
-
(object) The order details object.
- $list
-
(array) The query resulting array.
Return Value
None.
Example
/**
* External plugins can use this event to manipulate the object holding
* the details of the order. Useful to inject all the additional data
* fetched with the manipulation of the query.
*
* @param object $order The order details object.
* @param array $list The query resulting array.
*
* @return void
*/
public function onSetupPackagesOrderDetails($order, $list)
{
/**
* @todo it is possible to bind here the order object
*/
}
Changelog
Version | Description |
---|---|
1.7 | Introduced. |
Last Update: 2021-10-08 14:21
Helpful?