Your cart is empty!
Build Data
public function onBuildAllOrdersData(array &$orders, JModelVAP $model) : void
Fires before returning the array of appointments.
Description
Trigger hook to manipulate at runtime the response of the query used to load the appointments to display, under the All Orders page.
Third party plugins can alter the resulting list of appointments.
Parameters
- &$orders
-
(array) An array of appointments.
- $model
-
(JModelVAP) The model responsible of loading the data needed to the All Orders page.
Return Value
None.
Example
/**
* Trigger hook to manipulate the query response at runtime. Third party
* plugins can alter the resulting list of appointments.
*
* @param array &$orders An array of appointments
* @param JModelVAP $model The view model.
*
* @return void
*/
public function onBuildAllOrdersData(&$orders, $model)
{
/**
* @todo do stuff here
*/
}
Changelog
Version | Description |
---|---|
1.7 | Introduced. |
Last Update: 2021-10-11 09:34
Helpful?