event_base_set

(PECL libevent >= 0.0.1)

event_base_setAssociate event base with an event

Descrierea

event_base_set ( resource $event , resource $event_base ) : bool

Associates the event_base with the event.

Parametri

event

Valid event resource.

event_base

Valid event base resource.

Valorile întoarse

event_base_set() returns TRUE on success or FALSE on error.