Event::set
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
Event::set
Референца за `event.set.php` со подобрена типографија и навигација.
Event::set
класата Event
Event::set — Re-configures event
= NULL
EventBase
$base
,mixed
$fd
,int
$what
= ?,callable
$cb
= ?,mixed
$arg
= ?): bool
Re-configures event. Note, this function doesn't invoke obsolete libevent's event_set. It calls event_assign instead.
Параметри
-
base -
The event base to associate the event with.
-
fd -
Stream resource, socket resource, or numeric file descriptor. For timer events pass
-1. За настани од сигнал поминете го бројот на сигналот, на пр.SIGHUP. -
what -
Константи за известување за грешки Знаменца за настани.
-
cb -
Повик за настани. Видете Повици за настани.
-
arg -
Custom data associated with the event. It will be passed to the callback when the event becomes active.