Your cart is empty!
Setup Order Details
public function onSetupEmployeeSubscriptionOrderDetails(object $order, array $list) : void
Fires while binding the object holding the employee subscription 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 onSetupEmployeeSubscriptionOrderDetails($order, $list)
{
/**
* @todo it is possible to bind here the order object
*/
}
Changelog
Version | Description |
---|---|
1.7 | Introduced. |
Last Update: 2021-10-08 16:55
Helpful?