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