|
ibase_set_event_handlerRegister a callback function to be called when events are posted Description
resource ibase_set_event_handler
( callable
$event_handler
, string $event_name1
[, string $event_name2
[, string $...
]] )
resource ibase_set_event_handler
( resource
$connection
, callable $event_handler
, string $event_name1
[, string $event_name2
[, string $...
]] )This function registers a PHP user function as event handler for the specified events. Parameters
Return ValuesThe return value is an event resource. This resource can be used to free the event handler using ibase_free_event_handler. Examples
Example #1 ibase_set_event_handler example
<?php See Also
|