Your cart is empty!
Setup Details
public function onSetupCustomerDetails(object $customer, object $row) : void
Fires while setting up the customer details.
Description
External plugins can use this hook to manipulate the object holding the details of the customer. Useful to inject all the additional data fetched with the manipulation of the query.
Parameters
- $customer
-
(object) The object holding the customer details.
- $row
-
(object) The row fetched from the database.
Return Value
None.
Example
/**
* External plugins can use this event to manipulate the object holding
* the details of the customer. Useful to inject all the additional data
* fetched with the manipulation of the query.
*
* @param object $customer The customer details.
* @param object $row The row fetched from the database.
*
* @return void
*/
public function onSetupCustomerDetails($customer, $row)
{
/**
* @todo it is possible to load further details here
*/
}
Changelog
Version | Description |
---|---|
1.7 | Introduced. |
Last Update: 2021-10-06 17:16
Helpful?