Query: gupnp_service_proxy_callback_set
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GUPNP_SERVICE_PROXY_CALLBACK_SET(3) 1 GUPNP_SERVICE_PROXY_CALLBACK_SET(3) gupnp_service_proxy_callback_set - Set service proxy callback for signalSYNOPSISbool gupnp_service_proxy_callback_set (resource $proxy, int $signal, mixed $callback, [mixed $arg])DESCRIPTIONSet service proxy callback for signal.PARAMETERSo $proxy - A service proxy identifier. o $signal - The value of signal. o GUPNP_SIGNAL_SUBSCRIPTION_LOST - Emitted whenever the subscription to this service has been lost due to an error condition. o $callback - The callback function for the certain signal. Typically, callback function takes on two parameters. $error parameter's message being the first, and the $arg is second. o $arg - User data for $callback.RETURN VALUESReturns TRUE on success or FALSE on failure.ERRORS/EXCEPTIONS Issues E_WARNING either with not valid callback function or with not valid signal. PHP Documentation Group GUPNP_SERVICE_PROXY_CALLBACK_SET(3)