The event occurs after beforeInsert, beforeUpdate, beforeDelete events occur and relates to all operations: Insert, Update and Delete. It can be used to pass additional values to client side.
$conn->event->attach("afterProcessing",handlerFunc);
Parameters handlerFunc:
Availability:
Sample:
//adds new xml as a child of default <action> tag which is passed to client side as response
function doAfterProcessing($action){
$action->set_response_xml("<guid>some value</guid>")
}
$conn->event->attach("afterProcessing",doAfterProcessing);
Back to top