Table of Contents
-
$_event
: mixed
-
$_status
: array<string|int, mixed>
-
$_tasks
: array<string|int, mixed>
-
$_timerId
: int
-
add()
: mixed
-
del()
: bool
-
delAll()
: mixed
-
delay()
: mixed
-
init()
: mixed
-
signalHandle()
: mixed
-
tick()
: mixed
$_event
private
static mixed
$_event
= null
$_status
private
static array<string|int, mixed>
$_status
= []
$_tasks
private
static array<string|int, mixed>
$_tasks
= []
$_timerId
private
static int
$_timerId
= 0
add()
public
static add(float $time_interval, mixed $func[, mixed $args = [] ][, mixed $persistent = true ]) : mixed
Parameters
-
$time_interval
: float
-
-
$func
: mixed
-
-
$args
: mixed
= []
-
-
$persistent
: mixed
= true
-
Return values
mixed
—
del()
public
static del(mixed $timer_id) : bool
Parameters
-
$timer_id
: mixed
-
Return values
bool
—
delAll()
public
static delAll() : mixed
Return values
mixed
—
delay()
public
static delay(float $delay, mixed $func[, mixed $args = [] ]) : mixed
Parameters
-
$delay
: float
-
-
$func
: mixed
-
-
$args
: mixed
= []
-
Return values
mixed
—
init()
public
static init([mixed $event = null ]) : mixed
Parameters
-
$event
: mixed
= null
-
Return values
mixed
—
signalHandle()
public
static signalHandle() : mixed
Return values
mixed
—
tick()
public
static tick() : mixed
Return values
mixed
—