Your cart is empty!
After Save Settings
public function onAfterSaveEmployeeSettings(array $data, JModel $model) : void
Fires after saving the employee configuration.
Description
This hook is triggered after updating the settings of an employee from the Employees Area in the front-end.
Parameters
- $data
-
(array) The settings of the employee that have been saved.
- $model
-
(JModel) The model instance that handles the saving process.
Return Value
None.
Example
/**
* Trigger hook to allow the plugins to make something after
* saving the employee settings.
*
* @param mixed $data The saved record.
* @param JModel $model The model instance.
*
* @return void
*/
public function onAfterSaveEmployeeSettings($data, $model)
{
/**
* @todo do something after saving the configuration of an employee
*/
}
Changelog
Version | Description |
---|---|
1.7.0 | Added $model argument. Removed $affected argument. |
1.6.6 | Introduced. |
Last Update: 2021-10-08 09:36
Helpful?